summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatoro <matoro@users.noreply.github.com>2022-07-11 17:00:14 -0400
committerSam James <sam@gentoo.org>2022-07-22 22:15:09 +0000
commitb66b36c556e19b39df0af3f6709117695641dc55 (patch)
treecf82cbfc3f733ad255508c2fb29d72653b022502
parentdev-haskell/ghc-byteorder: new package, add 4.11.0.0.10 (diff)
downloadgentoo-b66b36c556e19b39df0af3f6709117695641dc55.tar.gz
gentoo-b66b36c556e19b39df0af3f6709117695641dc55.tar.bz2
gentoo-b66b36c556e19b39df0af3f6709117695641dc55.zip
dev-haskell/ghc-paths: keyword 0.1.0.12-r1 for ~ppc64
Signed-off-by: matoro <matoro@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild b/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild
index 7408ec144131..c6ae35420b2a 100644
--- a/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild
+++ b/dev-haskell/ghc-paths/ghc-paths-0.1.0.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,13 +15,13 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.6 <dev-haskell/cabal-3.3
+ >=dev-haskell/cabal-1.6 <dev-haskell/cabal-3.7
"
src_prepare() {
@@ -30,8 +30,9 @@ src_prepare() {
# but in gentoo we install it to fixed patch, so remove Setup.hs detection code
cabal-mksetup
+ # https://github.com/simonmar/ghc-paths/pull/26
cabal_chdeps \
- 'Cabal >= 1.6 && <3.1' 'Cabal >= 1.6 && <3.3'
+ 'Cabal >= 1.6 && <3.1' 'Cabal >= 1.6 && <3.7'
# and use gentoo's hardcoded one:
# a few things we need to replace, and example values