summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-12-14 21:10:25 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-12-14 21:27:11 +0000
commitaf55cdda8c96c3a0ab9235fb36f9b6e1c8e6fd6a (patch)
treeaab284e6f3a396db091d3893d1faca129e7da8a7 /dev-haskell
parentdev-haskell/hashable-time: bump up to 0.2.0.2 (diff)
downloadgentoo-af55cdda8c96c3a0ab9235fb36f9b6e1c8e6fd6a.tar.gz
gentoo-af55cdda8c96c3a0ab9235fb36f9b6e1c8e6fd6a.tar.bz2
gentoo-af55cdda8c96c3a0ab9235fb36f9b6e1c8e6fd6a.zip
dev-haskell/hashable: bump up to 1.2.7.0
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/hashable/Manifest1
-rw-r--r--dev-haskell/hashable/hashable-1.2.7.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-haskell/hashable/Manifest b/dev-haskell/hashable/Manifest
index b7f2d72eece9..5e28cd0b8f4d 100644
--- a/dev-haskell/hashable/Manifest
+++ b/dev-haskell/hashable/Manifest
@@ -1,2 +1,3 @@
DIST hashable-1.2.1.0.tar.gz 22389 BLAKE2B 62b883954ad22e25ace7b267e79e2a62be35671dc14d04c9ad12675d9a350b829088bb3c79b254cbd4783953ff46543f68d71e002b96cb1ba272ec808b17eaaa SHA512 343f6b9eb40d089f0f2187427af7d7b5dbe15884649ddc8e0b140db129f21fc44f6bf41a262a3b2a0c74d967be6f603799472802d835e48a442f836dd8142607
DIST hashable-1.2.4.0.tar.gz 24491 BLAKE2B c5d3fb061a2e4fbb7c85f00c24818e708d8511c547588eea024240611d427f982633cacecd35d9a8f4306377ef0b5f75889271cd6bbeabfd0d1f837cb3b4b8db SHA512 992027ce617e347414e328e05afe69b8621fb1af21fef58836761d2002a1f9f7f97c981ff3c4fe8699a1da124771df575717ed4e3fd0bbe5c62d81be1322dbf6
+DIST hashable-1.2.7.0.tar.gz 30182 BLAKE2B 7dee78e531fb396c51531f7b239f45a316bad3494590684b13814894a606ab8ddf7ef85a2027f26eeddad0a38f2c06a8a16d03b1b67ce009f9e8aed6cc872232 SHA512 41accac8fa38ab5c243caa058deaf31644d4df670520010d0d593e84fd42970f3fe2d4e945a31ac5491050467e843c7bdb299283a4c6d1446dfcbc2dbc58eec7
diff --git a/dev-haskell/hashable/hashable-1.2.7.0.ebuild b/dev-haskell/hashable/hashable-1.2.7.0.ebuild
new file mode 100644
index 000000000000..6ccc1e3185a3
--- /dev/null
+++ b/dev-haskell/hashable/hashable-1.2.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.5.9999
+#hackport: flags: sse41:cpu_flags_x86_sse4_1,sse2:cpu_flags_x86_sse2,integer-gmp:gmp
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour" # Drop test-suite: circular depend
+# break circular dependencies:
+# https://github.com/gentoo-haskell/gentoo-haskell/issues/810
+CABAL_FEATURES+=" nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="A class for types that can be converted to a hash value"
+HOMEPAGE="https://github.com/tibbe/hashable"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 examples +gmp"
+
+RESTRICT=test # circular deps: hashable[test]->quickcheck->semigroups->hashable
+
+RDEPEND=">=dev-haskell/text-0.11.0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'base >= 4.4 && < 4.12' 'base >= 4.4'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag examples examples) \
+ $(cabal_flag gmp integer-gmp) \
+ $(cabal_flag cpu_flags_x86_sse2 sse2) \
+ $(cabal_flag cpu_flags_x86_sse4_1 sse41)
+}