diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-02-06 15:10:39 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-02-06 15:10:39 +0000 |
commit | 2423347dc5d06506e5647ab1152dfb1d649a2135 (patch) | |
tree | c553bb5a911ba9f29a6fe37fa46d4af33b2db8d5 /dev-util | |
parent | dev-util/shellcheck: New addition (diff) | |
download | gentoo-2-2423347dc5d06506e5647ab1152dfb1d649a2135.tar.gz gentoo-2-2423347dc5d06506e5647ab1152dfb1d649a2135.tar.bz2 gentoo-2-2423347dc5d06506e5647ab1152dfb1d649a2135.zip |
dev-util/shellcheck: Import changes from haskell overlay
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/shellcheck/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/shellcheck/shellcheck-0.3.5-r1.ebuild | 48 | ||||
-rw-r--r-- | dev-util/shellcheck/shellcheck-0.3.5.ebuild | 27 |
3 files changed, 55 insertions, 28 deletions
diff --git a/dev-util/shellcheck/ChangeLog b/dev-util/shellcheck/ChangeLog index 0923ccbe9ed2..effba682b16b 100644 --- a/dev-util/shellcheck/ChangeLog +++ b/dev-util/shellcheck/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/shellcheck # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/shellcheck/ChangeLog,v 1.1 2015/02/06 14:25:53 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/shellcheck/ChangeLog,v 1.2 2015/02/06 15:10:39 jlec Exp $ + +*shellcheck-0.3.5-r1 (06 Feb 2015) + + 06 Feb 2015; Justin Lecher <jlec@gentoo.org> -shellcheck-0.3.5.ebuild, + +shellcheck-0.3.5-r1.ebuild: + Import changes from haskell overlay *shellcheck-0.3.5 (06 Feb 2015) diff --git a/dev-util/shellcheck/shellcheck-0.3.5-r1.ebuild b/dev-util/shellcheck/shellcheck-0.3.5-r1.ebuild new file mode 100644 index 000000000000..6f27b2470413 --- /dev/null +++ b/dev-util/shellcheck/shellcheck-0.3.5-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/shellcheck/shellcheck-0.3.5-r1.ebuild,v 1.1 2015/02/06 15:10:39 jlec Exp $ + +EAPI=5 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" + +inherit haskell-cabal + +MY_PN="ShellCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Shell script analysis tool" +HOMEPAGE="http://www.shellcheck.net/" +SRC_URI=" + mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz + http://dev.gentoo.org/~mjo/distfiles/${PN}-man-${PV}.tar.xz" + +LICENSE="AGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-haskell/json:=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/parsec:=[profile?] + >=dev-haskell/quickcheck-2.7.4:2=[profile?] + dev-haskell/regex-compat:=[profile?] + dev-haskell/transformers:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +S="${WORKDIR}/${MY_P}" + +src_test() { + # See bug #537500 for this beauty. + runghc Setup.hs test || die 'test suite failed' +} + +src_install() { + cabal_src_install + doman "${PN}.1" +} diff --git a/dev-util/shellcheck/shellcheck-0.3.5.ebuild b/dev-util/shellcheck/shellcheck-0.3.5.ebuild deleted file mode 100644 index 932294e41c10..000000000000 --- a/dev-util/shellcheck/shellcheck-0.3.5.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/shellcheck/shellcheck-0.3.5.ebuild,v 1.1 2015/02/06 14:25:53 jlec Exp $ - -EAPI=5 - -CABAL_FEATURES="bin" - -inherit haskell-cabal - -DESCRIPTION="a static analysis tool for shell scripts" -HOMEPAGE="http://www.shellcheck.net" -SRC_URI="https://github.com/koalaman/shellcheck/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="AGPL-3" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-haskell/json - dev-haskell/mtl - dev-haskell/parsec - dev-haskell/regex-compat - dev-haskell/quickcheck:2 -" |