commit:     dbd45d63ae91a8bc935b062b9053c6cc550fe027
Author:     hololeap <hololeap <AT> protonmail <DOT> com>
AuthorDate: Fri Oct  6 06:19:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 23 03:13:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd45d63

dev-haskell/test-framework-hunit: Migrate to CABAL_CHDEPS

Signed-off-by: hololeap <hololeap <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../test-framework-hunit/test-framework-hunit-0.3.0.2-r1.ebuild  | 9 +++------
 1 file 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 \

Reply via email to