diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-14 18:16:42 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-12-14 18:16:48 +0000 |
commit | 1a7853d2a7d3f87f1ba8df4905db71fe9b31ec85 (patch) | |
tree | 67176c862d7969eb1617bc618d0382f9bb1a9678 /dev-haskell/comonad | |
parent | net-im/prosody: add luajit (slotted) (diff) | |
download | gentoo-1a7853d2a7d3f87f1ba8df4905db71fe9b31ec85.tar.gz gentoo-1a7853d2a7d3f87f1ba8df4905db71fe9b31ec85.tar.bz2 gentoo-1a7853d2a7d3f87f1ba8df4905db71fe9b31ec85.zip |
dev-haskell/comonad: unconditionally enable USEs
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/739262
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/comonad')
-rw-r--r-- | dev-haskell/comonad/comonad-5.0.6.ebuild | 15 | ||||
-rw-r--r-- | dev-haskell/comonad/metadata.xml | 18 |
2 files changed, 9 insertions, 24 deletions
diff --git a/dev-haskell/comonad/comonad-5.0.6.ebuild b/dev-haskell/comonad/comonad-5.0.6.ebuild index 553ea56cb38e..a7adcec857d8 100644 --- a/dev-haskell/comonad/comonad-5.0.6.ebuild +++ b/dev-haskell/comonad/comonad-5.0.6.ebuild @@ -3,7 +3,8 @@ EAPI=7 -# ebuild generated by hackport 0.6.1.9999 +# ebuild generated by hackport 0.6.6.9999 +#hackport: flags: +distributive,+containers CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal @@ -15,25 +16,25 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" -IUSE="+containers +distributive +test-doctests" +IUSE="+test-doctests" RESTRICT=test # broken on USE=doc -RDEPEND=">=dev-haskell/semigroups-0.16.2:=[profile?] <dev-haskell/semigroups-1:=[profile?] +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:= - distributive? ( >=dev-haskell/distributive-0.2.2:=[profile?] <dev-haskell/distributive-1:=[profile?] ) " 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.17 ) ) + test? ( test-doctests? ( >=dev-haskell/doctest-0.11.1 <dev-haskell/doctest-0.18 ) ) " src_configure() { haskell-cabal_src_configure \ - $(cabal_flag containers containers) \ - $(cabal_flag distributive distributive) \ + --flag=containers \ + --flag=distributive \ $(cabal_flag test-doctests test-doctests) } diff --git a/dev-haskell/comonad/metadata.xml b/dev-haskell/comonad/metadata.xml index 6dc7bb65e52c..f27d2907afb4 100644 --- a/dev-haskell/comonad/metadata.xml +++ b/dev-haskell/comonad/metadata.xml @@ -6,22 +6,6 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="test-doctests"> - Run the doctests test suite - </flag> - <flag name="containers"> - You can disable the use of the `containers` package - using `-f-containers`. Disabing this is an unsupported configuration, but it - may be useful for accelerating builds in sandboxes for expert users. - </flag> - <flag name="distributive"> - You can disable the use of the `distributive` - package using `-f-distributive`. 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 `Distributive` - </flag> + <flag name="test-doctests">Run the doctests test suite</flag> </use> - <upstream> - <remote-id type="github">ekmett/comonad</remote-id> - </upstream> </pkgmetadata> |