From bc26dc90eb189ca9e0b637325ede65cc915589d2 Mon Sep 17 00:00:00 2001 From: hololeap Date: Wed, 15 Nov 2023 10:22:59 -0700 Subject: 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 Signed-off-by: Sam James --- 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(-) (limited to 'dev-haskell/bsb-http-chunked') 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? ( +