summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-27 10:21:26 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-27 10:21:37 +0100
commitb803a634a927c0434b5dfc7492155e6a9f5de93d (patch)
tree00abbe0827ff1c55151cb5ccc7954e9acd21e872 /dev-haskell
parentapp-i18n/man-pages-ja: Remove old (diff)
downloadgentoo-b803a634a927c0434b5dfc7492155e6a9f5de93d.tar.gz
gentoo-b803a634a927c0434b5dfc7492155e6a9f5de93d.tar.bz2
gentoo-b803a634a927c0434b5dfc7492155e6a9f5de93d.zip
dev-haskell/semigroupoids: unconditionally enable IUSE=comonad
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/792750 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/semigroupoids/metadata.xml6
-rw-r--r--dev-haskell/semigroupoids/semigroupoids-5.3.4.ebuild8
2 files changed, 4 insertions, 10 deletions
diff --git a/dev-haskell/semigroupoids/metadata.xml b/dev-haskell/semigroupoids/metadata.xml
index c1f941bd8464..acffd55986b3 100644
--- a/dev-haskell/semigroupoids/metadata.xml
+++ b/dev-haskell/semigroupoids/metadata.xml
@@ -6,12 +6,6 @@
<name>Gentoo Haskell</name>
</maintainer>
<use>
- <flag name="comonad">
- You can disable the use of the `comonad` package using
- `-f-comonad`. 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 `Comonad`
- </flag>
<flag name="contravariant">
You can disable the use of the `contravariant`
package using `-f-contravariant`. Disabling this is an unsupported
diff --git a/dev-haskell/semigroupoids/semigroupoids-5.3.4.ebuild b/dev-haskell/semigroupoids/semigroupoids-5.3.4.ebuild
index f213497d45cc..bb93a243b594 100644
--- a/dev-haskell/semigroupoids/semigroupoids-5.3.4.ebuild
+++ b/dev-haskell/semigroupoids/semigroupoids-5.3.4.ebuild
@@ -4,7 +4,7 @@
EAPI=7
# ebuild generated by hackport 0.6.1.9999
-#hackport: flags: +doctests,+containers
+#hackport: flags: +doctests,+containers,+comonad
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
@@ -16,15 +16,15 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
-IUSE="+comonad +contravariant +distributive +tagged +unordered-containers"
+IUSE="+contravariant +distributive +tagged +unordered-containers"
RESTRICT=test # broken on USE=doc
RDEPEND=">=dev-haskell/base-orphans-0.8:=[profile?] <dev-haskell/base-orphans-1:=[profile?]
>=dev-haskell/bifunctors-5:=[profile?] <dev-haskell/bifunctors-6:=[profile?]
+ >=dev-haskell/comonad-4.2.6:=[profile?] <dev-haskell/comonad-6:=[profile?]
>=dev-haskell/transformers-compat-0.5:=[profile?] <dev-haskell/transformers-compat-0.7:=[profile?]
>=dev-lang/ghc-7.8.2:=
- comonad? ( >=dev-haskell/comonad-4.2.6:=[profile?] <dev-haskell/comonad-6:=[profile?] )
contravariant? ( >=dev-haskell/contravariant-0.2.0.1:=[profile?] <dev-haskell/contravariant-2:=[profile?] )
distributive? ( >=dev-haskell/distributive-0.2.2:=[profile?] <dev-haskell/distributive-1:=[profile?] )
tagged? ( >=dev-haskell/tagged-0.8.5:=[profile?] <dev-haskell/tagged-1:=[profile?] )
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
src_configure() {
haskell-cabal_src_configure \
- $(cabal_flag comonad comonad) \
+ --flag=comonad \
--flag=containers \
$(cabal_flag contravariant contravariant) \
$(cabal_flag distributive distributive) \