diff options
Diffstat (limited to 'dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild')
-rw-r--r-- | dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild index 007a3169ed00..5dd3456be0d4 100644 --- a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild +++ b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 # ebuild generated by hackport 0.5.6.9999 @@ -14,11 +14,19 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="" RDEPEND=">=dev-lang/ghc-7.10.1:= " + +# Tests do not work correctly on >=ghc-9.2 +RDEPEND+=" + test? ( + <dev-lang/ghc-9.1 + ) +" + DEPEND="${RDEPEND} >=dev-haskell/cabal-1.22.2.0 test? ( dev-haskell/attoparsec @@ -30,9 +38,6 @@ DEPEND="${RDEPEND} dev-haskell/tasty-hunit ) " -src_prepare() { - default - - cabal_chdeps \ - 'base >= 4.8 && < 4.13' 'base >= 4.8' -} +CABAL_CHDEPS=( + 'base >= 4.8 && < 4.13' 'base >= 4.8' +) |