Diff cabal-3.2.1.0-r1 with a cabal-3.4.1.0

/usr/portage/dev-haskell/cabal/cabal-3.4.1.0.ebuild 2023-10-09 14:52:29.372368347 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
# ebuild generated by hackport 0.6.7.9999
6
# ebuild generated by hackport 0.7.9999
7 7
#hackport: flags: -bundled-binary-generic
8 8

  
9
# Drop test-suite due to "circular" dependencies with quickcheck
10
CABAL_FEATURES="lib profile haddock hoogle hscolour"
9
CABAL_PN="Cabal"
10

  
11
CABAL_FEATURES="lib profile haddock hoogle hscolour" # drop tests due to circular deps
11 12
CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken
12 13
inherit haskell-cabal
13 14

  
14
MY_PN="Cabal"
15
MY_P="${MY_PN}-${PV}"
16

  
17 15
DESCRIPTION="A framework for packaging Haskell software"
18 16
HOMEPAGE="https://www.haskell.org/cabal/"
19
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
17
SRC_URI="https://hackage.haskell.org/package/${CABAL_PN}/${CABAL_PN}-${PV}.tar.gz"
20 18

  
21 19
LICENSE="BSD"
22 20
SLOT="0/${PV}"
23
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" # ~ppc ~ppc64 ~ppc-macos
24
IUSE=""
21
#keep in sync with ghc-9.0.2
22
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
25 23

  
26 24
RESTRICT=test # circular deps: cabal -> quickcheck -> cabal
27 25

  
28
# GHC lower bound set to 8.0 to remove semigroups and fail dependencies.
29
RDEPEND=" >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
26
RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
30 27
	>=dev-haskell/parsec-3.1.13.0:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
31 28
	>=dev-haskell/text-1.2.3.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
32
	>=dev-lang/ghc-8.0:=
29
	>=dev-lang/ghc-8.4.3:=
33 30
"
34 31
DEPEND="${RDEPEND}"
35 32

  
36
S="${WORKDIR}/${MY_P}"
33
S="${WORKDIR}/${CABAL_PN}-${PV}"
37 34

  
38 35
src_prepare() {
39 36
	default
......
51 48
		--flag=-bundled-binary-generic
52 49
}
53 50

  
54
CABAL_CORE_LIB_GHC_PV="8.10.6"
51
CABAL_CORE_LIB_GHC_PV="9.0.2"
Thank you!