summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-12-17 09:24:19 +1100
committerSergei Trofimovich <slyfox@gentoo.org>2020-12-17 07:29:29 +0000
commit267fe02e662638cc09b66c1244e778990cc030a0 (patch)
tree9a620108e5124a5472c7d99ab98f5594ac18328a /dev-haskell/comonad
parentdev-haskell/indexed-traversable: add package at version 0.1 (diff)
downloadgentoo-267fe02e662638cc09b66c1244e778990cc030a0.tar.gz
gentoo-267fe02e662638cc09b66c1244e778990cc030a0.tar.bz2
gentoo-267fe02e662638cc09b66c1244e778990cc030a0.zip
dev-haskell/comonad: bump up to 5.0.7
Also rename test-doctests USE flag to test. Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/comonad')
-rw-r--r--dev-haskell/comonad/Manifest1
-rw-r--r--dev-haskell/comonad/comonad-5.0.6.ebuild6
-rw-r--r--dev-haskell/comonad/comonad-5.0.7.ebuild42
-rw-r--r--dev-haskell/comonad/metadata.xml2
4 files changed, 47 insertions, 4 deletions
diff --git a/dev-haskell/comonad/Manifest b/dev-haskell/comonad/Manifest
index 2ef36941b150..af9529aaa783 100644
--- a/dev-haskell/comonad/Manifest
+++ b/dev-haskell/comonad/Manifest
@@ -1 +1,2 @@
DIST comonad-5.0.6.tar.gz 18154 BLAKE2B 4654a76ccc51c1cb1f7a96db54dd211148b8afcada19d0153356f203ea93cd0b914f6771f4407f5a81e312a7060cf11d9720a9eb96760b35c38567a34ac1a44a SHA512 0b7fc727a2b972203d1651049a4f4c371a8f134d64d36409d60fbc4d11b7eb9650c79cf917abaa3f66084d7c5e9f32b288862a5e93c3d93c16c11533a446cfa5
+DIST comonad-5.0.7.tar.gz 18108 BLAKE2B b7d415a2b7eb48f53727fa9ada77078de538d5cf477997a2953095d7410dff1a82f7ab2f53b2bf01b21671a6e5e938962a2ae2a6d50351d77a4dd8b3ae18a9e1 SHA512 6377f13b651c30aaba1f68448394a4048b15c4f8e97fe714281d15a51190b8ec6e1157a6fb332abfb75060bb2f4948db22fb35c537bf01836ed94ece99fdccce
diff --git a/dev-haskell/comonad/comonad-5.0.6.ebuild b/dev-haskell/comonad/comonad-5.0.6.ebuild
index a7adcec857d8..f80892e3da3b 100644
--- a/dev-haskell/comonad/comonad-5.0.6.ebuild
+++ b/dev-haskell/comonad/comonad-5.0.6.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
-IUSE="+test-doctests"
+IUSE=""
RESTRICT=test # broken on USE=doc
@@ -29,12 +29,12 @@ RDEPEND=">=dev-haskell/distributive-0.2.2:=[profile?] <dev-haskell/distributive-
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3
>=dev-haskell/cabal-doctest-1 <dev-haskell/cabal-doctest-1.1
- test? ( test-doctests? ( >=dev-haskell/doctest-0.11.1 <dev-haskell/doctest-0.18 ) )
+ test? ( >=dev-haskell/doctest-0.11.1 <dev-haskell/doctest-0.18 )
"
src_configure() {
haskell-cabal_src_configure \
--flag=containers \
--flag=distributive \
- $(cabal_flag test-doctests test-doctests)
+ $(cabal_flag test test-doctests)
}
diff --git a/dev-haskell/comonad/comonad-5.0.7.ebuild b/dev-haskell/comonad/comonad-5.0.7.ebuild
new file mode 100644
index 000000000000..3480cf6e57e2
--- /dev/null
+++ b/dev-haskell/comonad/comonad-5.0.7.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.6.9999
+#hackport: flags: +distributive,+containers,test-doctests:test
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Haskell package providing comonads"
+HOMEPAGE="https://github.com/ekmett/comonad/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+indexed-traversable"
+
+RESTRICT=test # fails on USE=doc
+
+RDEPEND=">=dev-haskell/distributive-0.2.2:=[profile?] <dev-haskell/distributive-1:=[profile?]
+ >=dev-haskell/semigroups-0.16.2:=[profile?] <dev-haskell/semigroups-1:=[profile?]
+ >=dev-haskell/tagged-0.7:=[profile?] <dev-haskell/tagged-1:=[profile?]
+ >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-1:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+ indexed-traversable? ( >=dev-haskell/indexed-traversable-0.1:=[profile?] <dev-haskell/indexed-traversable-0.2:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+ >=dev-haskell/cabal-doctest-1 <dev-haskell/cabal-doctest-1.1
+ test? ( >=dev-haskell/doctest-0.11.1 <dev-haskell/doctest-0.18 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=containers \
+ --flag=distributive \
+ $(cabal_flag indexed-traversable indexed-traversable) \
+ $(cabal_flag test test-doctests)
+}
diff --git a/dev-haskell/comonad/metadata.xml b/dev-haskell/comonad/metadata.xml
index f27d2907afb4..a8afd1054366 100644
--- a/dev-haskell/comonad/metadata.xml
+++ b/dev-haskell/comonad/metadata.xml
@@ -6,6 +6,6 @@
<name>Gentoo Haskell</name>
</maintainer>
<use>
- <flag name="test-doctests">Run the doctests test suite</flag>
+ <flag name="indexed-traversable">You can disable the use of the `indexed-traversable` package using `-f-indexed-traversable`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `FunctorWithIndex`</flag>
</use>
</pkgmetadata>