dev-util/shellcheck: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Mon, 7 Sep 2015 06:26:48 +0000 (08:26 +0200)
committerJustin Lecher <jlec@gentoo.org>
Mon, 7 Sep 2015 06:26:48 +0000 (08:26 +0200)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=559750

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-util/shellcheck/Manifest
dev-util/shellcheck/shellcheck-0.4.1.ebuild [new file with mode: 0644]

index 20410cfba156cf8b9a76355082db4d52d33601e7..8444267ad6baf748cbcec054679aa86e493fa945 100644 (file)
@@ -2,4 +2,5 @@ DIST ShellCheck-0.3.5.tar.gz 77173 SHA256 9289fda0b3683f4e7c2c003f875a9e30889736
 DIST ShellCheck-0.3.6.tar.gz 82760 SHA256 f19f950b39eba78334cfd044077ce3686fb6defe2c6e593c0def949aa089230c SHA512 53e36770eabb49f2e0e84a508b69805799451ecc3bc6b2013e68b5f701d021d552706dcc027089c92355e833059ce856ae193f320f9dad0d3c60c4c5d9516219 WHIRLPOOL 5e8e50c6fd2a0036c24994029ad2e3f5d08afee888606c5205b10bc93c6882308dbe14c3b050c3edeab6e6554f8f20d312b147f9a52575f0491a36e0e7a7411b
 DIST ShellCheck-0.3.7.tar.gz 84069 SHA256 417c90eb4e84da67b66f444ae56eab6c6674f80964a9172e4c494e7ad17b97d7 SHA512 a6835c96bbd81e5dbd84347a264b1492fbd8e4c18ca1c97a7f5d94f18d305abc45c8f994e431672d852db20054ac231511d76c0be451613629420bdc4fb9e286 WHIRLPOOL 75a67c8e388920717fa3567f65261c2242bb415e735181f16ad7068a71713fbef246ef2355887a4ef6f57b68326b269f724b97a874b26e018acd2ac3b52d5401
 DIST ShellCheck-0.3.8.tar.gz 86202 SHA256 c185b77166724c06531b3e07b7a8353c0451809a1f60e9f6756d29247853651a SHA512 d131225a9854e7a7d8de030a7267cd21c15a048c75c5fb14edca2aae957d019eb3cf0bbee0ed27ea2449928c0ee64b39e61924501a0243cfac3b20239b62d148 WHIRLPOOL 808718f336be4c16dad9112bba37fb658bb46f06a9af24bfe9e0b1888a24a2936684d7ebba8d0469cc14d8a64ae267bb7380e4ebae6fee0db2f784364a6c8acd
+DIST ShellCheck-0.4.1.tar.gz 94751 SHA256 531af7608dea3f84b14a0d795fb9322c89850235992584d4b7a7b73dc47a3905 SHA512 ebf0b6bc4900a4881de9394a51367eb5639e909e68801885cfa545a26ebdb4c2d6b86d826b9d81306894315a148a0552769b4fb157feae24af9b7040f0e07a57 WHIRLPOOL 66f6b57b277552e7707d891275f61a40015c8abb501187788b8406bf20e51b1ace134c7fbcd6a7d40935651ba8b4969813cac367db7aba2272c8acd1a6452cd7
 DIST shellcheck-man-0.3.5.tar.xz 1876 SHA256 5b3f940fd8760676c40787b25b7c950a5ae7fa25e882dea6b11dfeabb1b712ee SHA512 974b7bae0a927151819a14eef2be40d76c2eb50fadfd966bef79908b7faab958ecd42a1584cbe1fb25e2e59f1593d89b8632684d655490c83e246502d9680d26 WHIRLPOOL 622968777ce5387abe6e5f068bff5eb9879d8a990d7680fe2acba1ee89114ec5aca3cf402e579222af2941b0d99b1df95415ad17e9ef973a7b7e74fcd6acbee5
diff --git a/dev-util/shellcheck/shellcheck-0.4.1.ebuild b/dev-util/shellcheck/shellcheck-0.4.1.ebuild
new file mode 100644 (file)
index 0000000..75cfb2a
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+LICENSE="GPL-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-tdfa:=[profile?]
+       dev-haskell/transformers:=[profile?]
+       >=dev-lang/ghc-7.8.4:=
+"
+DEPEND="${RDEPEND}
+       >=dev-haskell/cabal-1.8
+       test? ( >=dev-haskell/cabal-1.20 )
+"
+
+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"
+}