diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-05 23:51:38 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:10:25 +0100 |
commit | 3147d3b4b7ecd89b2d527d0e1995fbac52ad5543 (patch) | |
tree | 619cfc52a0dfd29271e06a016af927c2313cd038 /dev-haskell | |
parent | dev-haskell/vector: add 0.12.3.1-r1 (diff) | |
download | gentoo-3147d3b4b7ecd89b2d527d0e1995fbac52ad5543.tar.gz gentoo-3147d3b4b7ecd89b2d527d0e1995fbac52ad5543.tar.bz2 gentoo-3147d3b4b7ecd89b2d527d0e1995fbac52ad5543.zip |
dev-haskell/vector: 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/vector/vector-0.12.3.1.ebuild | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/dev-haskell/vector/vector-0.12.3.1.ebuild b/dev-haskell/vector/vector-0.12.3.1.ebuild index f480821d608f..156029e20ec1 100644 --- a/dev-haskell/vector/vector-0.12.3.1.ebuild +++ b/dev-haskell/vector/vector-0.12.3.1.ebuild @@ -42,21 +42,9 @@ DEPEND="${RDEPEND} dev-haskell/tasty-hunit dev-haskell/tasty-quickcheck ) " -BDEPEND="app-text/dos2unix" - -src_prepare() { - # pull revised cabal from upstream - cp "${DISTDIR}/${CABAL_DISTFILE}" "${CABAL_FILE}" || die - - # Convert to unix line endings - dos2unix "${CABAL_FILE}" || die - - # Apply patches *after* pulling the revised cabal - default - - cabal_chdeps \ - 'doctest >=0.15 && <0.19' 'doctest >=0.15' -} +CABAL_CHDEPS=( + 'doctest >=0.15 && <0.19' 'doctest >=0.15' +) src_configure() { haskell-cabal_src_configure \ |