summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-06 00:20:37 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:13:30 +0100
commit3c558999cee916ac92ace8fbaa4f7e64ebcc8c0b (patch)
tree2652e84971175fd16a6ed3de53a00dd7b08bcb17 /dev-haskell
parentdev-haskell/test-framework-hunit: Migrate to CABAL_CHDEPS (diff)
downloadgentoo-3c558999cee916ac92ace8fbaa4f7e64ebcc8c0b.tar.gz
gentoo-3c558999cee916ac92ace8fbaa4f7e64ebcc8c0b.tar.bz2
gentoo-3c558999cee916ac92ace8fbaa4f7e64ebcc8c0b.zip
dev-haskell/test-framework-quickcheck2: Migrate to CABAL_CHDEPS
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild b/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild
index 2791142ec2e5..77325980858f 100644
--- a/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild
+++ b/dev-haskell/test-framework-quickcheck2/test-framework-quickcheck2-0.3.0.5-r2.ebuild
@@ -28,13 +28,10 @@ DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.10
"
-src_prepare() {
- default
-
- cabal_chdeps \
- 'QuickCheck >= 2.4 && < 2.13' 'QuickCheck >= 2.4' \
- 'random >= 1 && < 1.2' 'random >= 1'
-}
+CABAL_CHDEPS=(
+ 'QuickCheck >= 2.4 && < 2.13' 'QuickCheck >= 2.4' \
+ 'random >= 1 && < 1.2' 'random >= 1'
+)
src_configure() {
haskell-cabal_src_configure \