summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/sha/ChangeLog10
-rw-r--r--dev-haskell/sha/sha-1.6.4.1-r1.ebuild (renamed from dev-haskell/sha/sha-1.6.4.1.ebuild)17
2 files changed, 21 insertions, 6 deletions
diff --git a/dev-haskell/sha/ChangeLog b/dev-haskell/sha/ChangeLog
index e8204894c648..f23703860541 100644
--- a/dev-haskell/sha/ChangeLog
+++ b/dev-haskell/sha/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/sha
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/sha/ChangeLog,v 1.10 2014/07/25 08:58:21 slyfox Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/sha/ChangeLog,v 1.11 2015/01/10 03:19:50 mjo Exp $
+
+*sha-1.6.4.1-r1 (10 Jan 2015)
+
+ 10 Jan 2015; Michael Orlitzky <mjo@gentoo.org> +sha-1.6.4.1-r1.ebuild,
+ -sha-1.6.4.1.ebuild:
+ Revbump to fix test dependencies and phase.
25 Jul 2014; Sergei Trofimovich <slyfox@gentoo.org> metadata.xml:
Drop redundant '<maintainer>' field, leave only '<herd>'.
diff --git a/dev-haskell/sha/sha-1.6.4.1.ebuild b/dev-haskell/sha/sha-1.6.4.1-r1.ebuild
index d074fd2dff93..da5b57c95443 100644
--- a/dev-haskell/sha/sha-1.6.4.1.ebuild
+++ b/dev-haskell/sha/sha-1.6.4.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/sha/sha-1.6.4.1.ebuild,v 1.1 2014/07/02 13:27:56 gienah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/sha/sha-1.6.4.1-r1.ebuild,v 1.1 2015/01/10 03:19:50 mjo Exp $
EAPI=5
-# ebuild generated by hackport 0.4.2.9999
+# ebuild generated by hackport 0.4.4.9999
#hackport: flags: +decoderinterface
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
@@ -22,11 +22,14 @@ SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="exe test"
-RDEPEND=">=dev-haskell/binary-0.7:=[profile?] <dev-haskell/binary-10000:=[profile?]
+RDEPEND=">=dev-haskell/binary-0.7:=[profile?]
>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/quickcheck-2.5:2=[profile?] <dev-haskell/quickcheck-3:2=[profile?]
+ >=dev-haskell/test-framework-0.8.0.3:=[profile?]
+ >=dev-haskell/test-framework-quickcheck2-0.3.0.2:=[profile?] )
"
S="${WORKDIR}/${MY_P}"
@@ -37,3 +40,9 @@ src_configure() {
$(cabal_flag exe exe) \
$(cabal_flag test test)
}
+
+src_test() {
+ # This package builds a test executable called test_sha, but the
+ # suite isn't integrated with cabal yet. It's fixed upstream in git.
+ dist/build/test_sha/test_sha || die "test suite failed"
+}