summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-06 00:19:40 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:13:29 +0100
commitdbd45d63ae91a8bc935b062b9053c6cc550fe027 (patch)
treee4f6a9a471992a960d3977ce76517510f78c8182 /dev-haskell
parentdev-haskell/tasty-rerun: Migrate to CABAL_CHDEPS (diff)
downloadgentoo-dbd45d63ae91a8bc935b062b9053c6cc550fe027.tar.gz
gentoo-dbd45d63ae91a8bc935b062b9053c6cc550fe027.tar.bz2
gentoo-dbd45d63ae91a8bc935b062b9053c6cc550fe027.zip
dev-haskell/test-framework-hunit: 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-hunit/test-framework-hunit-0.3.0.2-r1.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild b/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild
index 7b12dfde024c..ce749f2dee58 100644
--- a/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild
+++ b/dev-haskell/test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild
@@ -27,12 +27,9 @@ DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6
"
-src_prepare() {
- default
-
- cabal_chdeps \
- 'HUnit >= 1.2 && < 1.4' 'HUnit >= 1.2'
-}
+CABAL_CHDEPS=(
+ 'HUnit >= 1.2 && < 1.4' 'HUnit >= 1.2'
+)
src_configure() {
haskell-cabal_src_configure \