summaryrefslogtreecommitdiff
path: root/dev-haskell/cabal-install
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-haskell/cabal-install
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-haskell/cabal-install')
-rw-r--r--dev-haskell/cabal-install/Manifest3
-rw-r--r--dev-haskell/cabal-install/cabal-install-3.2.0.0.ebuild74
-rw-r--r--dev-haskell/cabal-install/files/cabal-install-3.2.0.0-rankntypes.patch11
3 files changed, 88 insertions, 0 deletions
diff --git a/dev-haskell/cabal-install/Manifest b/dev-haskell/cabal-install/Manifest
index 2fd6fb72ccb7..eeb731153a32 100644
--- a/dev-haskell/cabal-install/Manifest
+++ b/dev-haskell/cabal-install/Manifest
@@ -1,4 +1,7 @@
AUX cabal-install-0.13.3-nopref.patch 775 BLAKE2B c2c9478da820ffd22ab5450a38f54d74249b8b5000732be2e9cb68229876cdd50062ad7a668bef860be53161b2a820d0e31e3701f5c5f28602e964267a8ad30b SHA512 e0abaebca3d85bf09cffe76a7cdc0dc4df9ef7d0b13950932cbb0bedaeea59173cbf28b2a89f3f1b9e8ea15cb5c611678cf79ea63ea5a3f5acb4417082de19e5
+AUX cabal-install-3.2.0.0-rankntypes.patch 415 BLAKE2B 8a0459bac359c3f53750f50131e8fb0fa30ae5346ab718f0471959b543d17c91a691649066349ea129777bfc238dcc66ef4df6b222e5e76ae65ccbef863a57b1 SHA512 1b650dcef65df682b7058f67d43664910f8ffdf558a81d1df033080df1255460e45a3685b5897129339c00fe20d8cff23e1b3d5bc0f08c041b4e177fac9fe9d2
DIST cabal-install-3.0.0.0.tar.gz 654045 BLAKE2B 5036948651098b83f073b5ce29e2aaa31e4382f07e8b1e79d206889bd9c74fb88789f4b1cbb3bddc6d03375a6e3a3e164d6bda4ea19e3f944904ab11d7693fce SHA512 0b15313fc11bc6b6018e01b6a3a65242306977c16ce9333ea1191c1ce0020b180451235a7a65b47bc01791e05d1b246bf9d573fc7e981a46fcfc7da0fed04cca
+DIST cabal-install-3.2.0.0.tar.gz 632084 BLAKE2B 55cdbddebed17489f1c031bd867de7868878aa289193b826dd8274860e4f08d48f71cad33af1b62da16f71629ae4ff5745c3ceeada1680dbcc222793eba49a06 SHA512 ad937b2df42b688e4608aa2b91a25daf1042e5573626202e5182cbfeca9acc5933194853405a6396c60d0d28d6d0d5c5276fd85cb6acf4be2c8cd12afe747062
EBUILD cabal-install-3.0.0.0.ebuild 2474 BLAKE2B 30b95a329b7af6a57e1d3fd59dbf468f7addb010556e7dba0be7c51ce103b79f6f4abb640ac57fbd73a52dfb360e857c868cad5738dae9ee16e8b669bc19b468 SHA512 967298ab3af7495f4338763da78b5dcfeaed058740883ae54ebcda868b3307c16dd26f9277a7cf3dcc6a26cf4c697d34b354c6c49325c94c8c402c2d579c0a78
+EBUILD cabal-install-3.2.0.0.ebuild 2539 BLAKE2B bf9f97243a4f0ced09975d9f081e6bed4b697621e3dbc6413fb1f1490442502cfc4fd42abb4ad485a7a608ee34ac20a16b55f6405610d26d95542d3a414d76b9 SHA512 6456dd630f610b61be70aaa052497204062db38ba151f508e183b8fdcb9ba31ba3cbc57d14c2d0ee627fc595df585a7e7e59613b9bdee3925229018ba17ce683
MISC metadata.xml 606 BLAKE2B c3d2bf45b3a96dc8d7245cccbeee3a49ba328afa5ce5efb1feaa6d76dec8063156c10451b65fb946a4de0c96b719ceb00e958400f607845d17df4ee8c7746681 SHA512 33177964ce5c096ea1d1557c3f2500ed999df3a4245a55d73c7b2ec04d42444089502de367f4b6fd84bf3c4012c7d430706b36f76461d6f1c5c6dc957dd2003d
diff --git a/dev-haskell/cabal-install/cabal-install-3.2.0.0.ebuild b/dev-haskell/cabal-install/cabal-install-3.2.0.0.ebuild
new file mode 100644
index 000000000000..085a26c438fa
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-3.2.0.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.5.9999
+# hackport: flags: -debug-conflict-sets,-debug-expensive-assertions,-debug-tracetree
+CABAL_FEATURES=""
+inherit haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="https://www.haskell.org/cabal/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+# keep in sync with ghc-8.10
+KEYWORDS="~amd64 ~x86"
+IUSE="+native-dns"
+
+RDEPEND=">=dev-haskell/async-2.0:= <dev-haskell/async-2.3:=
+ >=dev-haskell/base16-bytestring-0.1.1:= <dev-haskell/base16-bytestring-0.2:=
+ >=dev-haskell/cabal-3.2:= <dev-haskell/cabal-3.3:=
+ >=dev-haskell/cryptohash-sha256-0.11:= <dev-haskell/cryptohash-sha256-0.12:=
+ >=dev-haskell/echo-0.1.3:= <dev-haskell/echo-0.2:=
+ >=dev-haskell/edit-distance-0.2.2:= <dev-haskell/edit-distance-0.3:=
+ >=dev-haskell/fail-4.9:= <dev-haskell/fail-4.10:=
+ >=dev-haskell/hackage-security-0.6.0.0:= <dev-haskell/hackage-security-0.7:=
+ >=dev-haskell/hashable-1.0:= <dev-haskell/hashable-1.4:=
+ >=dev-haskell/http-4000.1.5:= <dev-haskell/http-4000.4:=
+ >=dev-haskell/lukko-0.1:= <dev-haskell/lukko-0.2:=
+ >=dev-haskell/mtl-2.0:= <dev-haskell/mtl-2.3:=
+ >=dev-haskell/network-2.6:= <dev-haskell/network-3.2:=
+ >=dev-haskell/network-uri-2.6.0.2:= <dev-haskell/network-uri-2.7:=
+ >=dev-haskell/parsec-3.1.13.0:= <dev-haskell/parsec-3.2:=
+ >=dev-haskell/random-1:= <dev-haskell/random-1.2:=
+ >=dev-haskell/semigroups-0.18.3:= <dev-haskell/semigroups-0.20:=
+ >=dev-haskell/stm-2.0:= <dev-haskell/stm-2.6:=
+ >=dev-haskell/tar-0.5.0.3:= <dev-haskell/tar-0.6:=
+ >=dev-haskell/text-1.2.3:= <dev-haskell/text-1.3:=
+ >=dev-haskell/zlib-0.5.3:= <dev-haskell/zlib-0.7:=
+ >=dev-lang/ghc-7.10.1:=
+ native-dns? ( >=dev-haskell/resolv-0.1.1:= <dev-haskell/resolv-0.2:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+"
+
+PATCHES=( "${FILESDIR}"/${P}-rankntypes.patch )
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'base >= 4.8 && < 4.14' 'base >= 4.8'
+ #if use noprefs; then
+ # epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
+ #fi
+
+ # no chance to link to -threaded on ppc64, alpha and others
+ # who use UNREG, not only ARM
+ if ! ghc-supports-threaded-runtime; then
+ cabal_chdeps '-threaded' ' '
+ fi
+ eapply_user
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flags=-debug-conflict-sets \
+ --flags=-debug-expensive-assertions \
+ --flags=-debug-tracetree \
+ $(cabal_flag native-dns native-dns)
+}
diff --git a/dev-haskell/cabal-install/files/cabal-install-3.2.0.0-rankntypes.patch b/dev-haskell/cabal-install/files/cabal-install-3.2.0.0-rankntypes.patch
new file mode 100644
index 000000000000..fa98278a277d
--- /dev/null
+++ b/dev-haskell/cabal-install/files/cabal-install-3.2.0.0-rankntypes.patch
@@ -0,0 +1,11 @@
+diff --git a/Distribution/Client/Sandbox.hs b/Distribution/Client/Sandbox.hs
+index 66b415d..6aa71bb 100644
+--- a/Distribution/Client/Sandbox.hs
++++ b/Distribution/Client/Sandbox.hs
+@@ -1,5 +1,6 @@
+ {-# LANGUAGE CPP #-}
+ {-# LANGUAGE FlexibleContexts #-}
++{-# LANGUAGE RankNTypes #-}
+ -----------------------------------------------------------------------------
+ -- |
+ -- Module : Distribution.Client.Sandbox