summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2012-03-25 04:23:53 +0000
committerMark Wright <gienah@gentoo.org>2012-03-25 04:23:53 +0000
commitce9f8ed8a9ff3995b76fb11c9e85403fe2233b7f (patch)
treee3d05bc33dcdb2b1590574353f75d4a99491d389 /dev-haskell
parentLoosen test dependency on test-framework. (diff)
downloadgentoo-2-ce9f8ed8a9ff3995b76fb11c9e85403fe2233b7f.tar.gz
gentoo-2-ce9f8ed8a9ff3995b76fb11c9e85403fe2233b7f.tar.bz2
gentoo-2-ce9f8ed8a9ff3995b76fb11c9e85403fe2233b7f.zip
Bump hashable to 1.1.2.3, loosen test test-framework dependency, EAPI=4, [profile?] for haskell dependent libraries.
(Portage version: 2.1.10.51/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/hashable/ChangeLog8
-rw-r--r--dev-haskell/hashable/hashable-1.1.2.3.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-haskell/hashable/ChangeLog b/dev-haskell/hashable/ChangeLog
index 663398a6eec6..4972ac66e06f 100644
--- a/dev-haskell/hashable/ChangeLog
+++ b/dev-haskell/hashable/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/hashable
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/ChangeLog,v 1.1 2012/01/22 14:52:33 gienah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/ChangeLog,v 1.2 2012/03/25 04:23:53 gienah Exp $
+
+*hashable-1.1.2.3 (25 Mar 2012)
+
+ 25 Mar 2012; Mark Wright <gienah@gentoo.org> +hashable-1.1.2.3.ebuild:
+ Bump hashable to 1.1.2.3, loosen test test-framework dependency, EAPI=4,
+ [profile?] for haskell dependent libraries.
*hashable-1.1.2.2 (22 Jan 2012)
diff --git a/dev-haskell/hashable/hashable-1.1.2.3.ebuild b/dev-haskell/hashable/hashable-1.1.2.3.ebuild
new file mode 100644
index 000000000000..fdbe83a3f082
--- /dev/null
+++ b/dev-haskell/hashable/hashable-1.1.2.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashable/hashable-1.1.2.3.ebuild,v 1.1 2012/03/25 04:23:53 gienah Exp $
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="4"
+
+CABAL_FEATURES="lib profile haddock hscolour hoogle"
+inherit base haskell-cabal
+
+DESCRIPTION="A class for types that can be converted to a hash value"
+HOMEPAGE="http://github.com/tibbe/hashable"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="=dev-haskell/text-0.11*
+ >=dev-lang/ghc-6.10.1"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/cabal-1.10
+ >=dev-haskell/test-framework-0.3.3[profile?] <dev-haskell/test-framework-0.7[profile?]
+ >=dev-haskell/test-framework-quickcheck2-0.2.9[profile?] <dev-haskell/test-framework-quickcheck2-0.3[profile?]
+ >=dev-haskell/quickcheck-2.4.0.1[profile?]
+ )"
+
+src_prepare() {
+ sed -e 's@test-framework >= 0.3.3 && < 0.6@test-framework >= 0.3.3 \&\& < 0.7@' \
+ -i "${S}/${PN}.cabal" || die "Could not loosen depdencies"
+}
+
+src_configure() {
+ cabal_src_configure $(use_enable test tests)
+}