summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-05-11 22:49:05 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-11 22:49:05 +0100
commit007848de6409755d57f308d7c4460676681b8f3c (patch)
treec8de1dc86103e16519e3781d0d0bcb6e746aa17c /dev-haskell
parentmedia-gfx/graphviz: stable 2.47.1 for sparc (diff)
downloadgentoo-007848de6409755d57f308d7c4460676681b8f3c.tar.gz
gentoo-007848de6409755d57f308d7c4460676681b8f3c.tar.bz2
gentoo-007848de6409755d57f308d7c4460676681b8f3c.zip
dev-haskell/semirings: require ghc[gmp]
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/789384 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/semirings/Manifest1
-rw-r--r--dev-haskell/semirings/semirings-0.5.4.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-haskell/semirings/Manifest b/dev-haskell/semirings/Manifest
index 8f69d00a2c8b..b3a84b13d652 100644
--- a/dev-haskell/semirings/Manifest
+++ b/dev-haskell/semirings/Manifest
@@ -1 +1,2 @@
DIST semirings-0.5.3.tar.gz 18622 BLAKE2B 70075ef121969652ec666531f42681af759863247811425e43eef590e73b6c0d139274fb57821d28f405f0bd44cc4bed1e48506f08f880aee71f0ff986a30136 SHA512 cd038746d1ce36eb04040954b0a969f17bf67ff45750a221284550724dd0ab563896fc3012c8d58aaf5c11a008b5526088711655e165895a4dead2d054cbf5e7
+DIST semirings-0.5.4.tar.gz 18490 BLAKE2B d3d67bca474ae7cbf3e016ef17da5ead593250d9cdda051a0fcd84bdb142ced3af74a0f287921e6edcde9916dea4d128f11cc77d8a65bff85470d533565e4749 SHA512 d24a178031e494e1b337585272e0cc960da7935007affc0fea893fe1cac0acd79569a6d8dc9cfddbb7f435a48c34b7aa0d6e589a16741c7c9b5fe00d52b95441
diff --git a/dev-haskell/semirings/semirings-0.5.4.ebuild b/dev-haskell/semirings/semirings-0.5.4.ebuild
new file mode 100644
index 000000000000..37ae6599ef4c
--- /dev/null
+++ b/dev-haskell/semirings/semirings-0.5.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="two monoids as one, in holy haskimony"
+HOMEPAGE="https://github.com/chessai/semirings"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+containers +hashable +unordered-containers"
+
+RDEPEND="dev-haskell/base-compat-batteries:=[profile?]
+ >=dev-lang/ghc-7.10.1:=[gmp]
+ hashable? ( >=dev-haskell/hashable-1.1:=[profile?] <dev-haskell/hashable-1.4:=[profile?]
+ unordered-containers? ( >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] ) )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag containers containers) \
+ $(cabal_flag hashable hashable) \
+ $(cabal_flag unordered-containers unordered-containers)
+}