commit: bc26dc90eb189ca9e0b637325ede65cc915589d2 Author: hololeap <hololeap <AT> protonmail <DOT> com> AuthorDate: Wed Nov 15 17:22:59 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Nov 19 18:32:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc26dc90
dev-haskell/bsb-http-chunked: Add conditional upper bound to ghc dep Tests included with bsb-http-chunked-0.0.0.4 do not work with >=ghc-9.2. Add an upper bound for dev-lang/ghc if USE=test is enabled. Signed-off-by: hololeap <hololeap <AT> protonmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild | 2 +- dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4.ebuild | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild index b6272269df21..6513ce234259 100644 --- a/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild +++ b/dev-haskell/bsb-http-chunked/bsb-http-chunked-0.0.0.4-r1.ebuild @@ -11,7 +11,7 @@ CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="Chunked HTTP transfer encoding for bytestring builders" -HOMEPAGE="https://github.com/sjakobi/bsb-https-chunked" +HOMEPAGE="https://github.com/sjakobi/bsb-http-chunked" LICENSE="BSD" SLOT="0/${PV}" 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 934de12c6e19..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 @@ -19,6 +19,14 @@ 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
