Diff these-1.1.1.1 with a these-1.2.1

/usr/portage/dev-haskell/these/these-1.2.1.ebuild 2026-11-03 20:01:05.950362153 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
# ebuild generated by hackport 0.7.1.1.9999
6
# ebuild generated by hackport 0.8.5.1.9999
7 7
#hackport: flags: aeson,assoc,quickcheck,semigroupoids,+assoc
8 8

  
9
CABAL_HACKAGE_REVISION=3
10

  
9 11
CABAL_FEATURES="lib profile haddock hoogle hscolour"
10
CABAL_HACKAGE_REVISION="5"
11 12
inherit haskell-cabal
12 13

  
13 14
DESCRIPTION="An either-or-both data type"
14 15
HOMEPAGE="https://github.com/haskellari/these"
15
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz
16
	https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal -> ${PF}.cabal"
17 16

  
18 17
LICENSE="BSD"
19 18
SLOT="0/${PV}"
20 19
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
21 20

  
22
RDEPEND=">=dev-haskell/assoc-1:=[profile?] <dev-haskell/assoc-1.1:=[profile?]
23
	>=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?]
24
	>=dev-lang/ghc-8.4.3:=
21
RDEPEND=">=dev-haskell/assoc-1.1.1:=[profile?] <dev-haskell/assoc-1.2:=[profile?]
22
	>=dev-haskell/foldable1-classes-compat-0.1:=[profile?] <dev-haskell/foldable1-classes-compat-0.2:=[profile?]
23
	>=dev-haskell/hashable-1.4.4.0:=[profile?] <dev-haskell/hashable-1.6:=[profile?]
24
	>=dev-lang/ghc-9.0.2:=
25 25
"
26 26
DEPEND="${RDEPEND}
27
	>=dev-haskell/cabal-2.2.0.1
27
	>=dev-haskell/cabal-3.4.1.0
28 28
"
29 29

  
30 30
src_configure() {
31 31
	haskell-cabal_src_configure \
32 32
		--flag=assoc
33 33
}
34
BDEPEND="app-text/dos2unix"
35

  
36
src_prepare() {
37
	# pull revised cabal from upstream
38
	cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die
39

  
40
	# Convert to unix line endings
41
	dos2unix "${S}/${PN}.cabal" || die
42

  
43
	# Apply patches *after* pulling the revised cabal
44
	default
45
}
Thank you!