summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-29 10:37:59 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 08:59:18 +0100
commit14fd1aefcfd089c9846d7eecbd286a905c879c40 (patch)
tree34e21f90ba9a4172aa21caa6c0a6ca09544c6a77 /dev-haskell/cabal-install
parentdev-haskell/resolv: add package (diff)
downloadgentoo-14fd1aefcfd089c9846d7eecbd286a905c879c40.tar.gz
gentoo-14fd1aefcfd089c9846d7eecbd286a905c879c40.tar.bz2
gentoo-14fd1aefcfd089c9846d7eecbd286a905c879c40.zip
dev-haskell/cabal-install: bump up to 3.0.0.0
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/cabal-install')
-rw-r--r--dev-haskell/cabal-install/Manifest1
-rw-r--r--dev-haskell/cabal-install/cabal-install-3.0.0.0.ebuild74
-rw-r--r--dev-haskell/cabal-install/metadata.xml1
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-haskell/cabal-install/Manifest b/dev-haskell/cabal-install/Manifest
index 64212ef94ac0..84a39ddb1b1d 100644
--- a/dev-haskell/cabal-install/Manifest
+++ b/dev-haskell/cabal-install/Manifest
@@ -2,3 +2,4 @@ DIST cabal-install-1.18.1.0.tar.gz 257577 BLAKE2B ea5d1eb3458657b81f04b2de1bd17b
DIST cabal-install-1.20.0.3.tar.gz 274779 BLAKE2B 4b46e3722305566e9671677292a3ef64df9ca018dc54c088759a396b04bbbfbe28a72dc058cc98cf8ec552846d47a07d9d792a02a5834aa7808052183b4a93b0 SHA512 a272c7eb1c87a933b30697afa7bf78f95fb0afa203e791448d5e96d5c62105533347b8b777af7a7e6db5703654c319045e089d46d2263a09ed5ada10144ce12f
DIST cabal-install-1.22.7.0.tar.gz 302579 BLAKE2B e8a92bc69f0b00e5fc12145277216652fa52fb1de9ce3458b5fc3d9bc6f89cfe3a95d26dd7585566b55c55c2a9b2d021336baa10694aa39ca442bdb58c6997e7 SHA512 a88895ee38bf7451ba6a2e929ff224643ea0a536a9633d463d91a471e41b6aae302af2c3ca4fc914e4b3401fcadb137bb0c68c9fb7d0f768835374aef1b22766
DIST cabal-install-1.24.0.2.tar.gz 499937 BLAKE2B c2e1ea88e20b1a43064010117e1830b052c339464f3188a931e7ca72220287a2862ea25423e5190e8f3fe6ed6b38dc7b688474796faf3d049626b04cf6c191cc SHA512 bd055a52ff0ac697e6f21a588d53dd811d50ee9410659a242c00a5665b360ef10c024df4872b9070c33aa49f779c8817b883b40087d3f4e0be4096a54b2ad5f0
+DIST cabal-install-3.0.0.0.tar.gz 654045 BLAKE2B 5036948651098b83f073b5ce29e2aaa31e4382f07e8b1e79d206889bd9c74fb88789f4b1cbb3bddc6d03375a6e3a3e164d6bda4ea19e3f944904ab11d7693fce SHA512 0b15313fc11bc6b6018e01b6a3a65242306977c16ce9333ea1191c1ce0020b180451235a7a65b47bc01791e05d1b246bf9d573fc7e981a46fcfc7da0fed04cca
diff --git a/dev-haskell/cabal-install/cabal-install-3.0.0.0.ebuild b/dev-haskell/cabal-install/cabal-install-3.0.0.0.ebuild
new file mode 100644
index 000000000000..d2d67c73fd0d
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-3.0.0.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.2.9999
+#hackport: flags: -monolithic,+network-uri,-debug-tracetree,-debug-expensive-assertions
+
+CABAL_FEATURES=""
+inherit haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="http://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.8
+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/binary-0.7.3:= <dev-haskell/binary-0.9:=
+ >=dev-haskell/cabal-3.0:= <dev-haskell/cabal-3.1:=
+ >=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.5.2.2:= <dev-haskell/hackage-security-0.6:=
+ >=dev-haskell/hashable-1.0:= <dev-haskell/hashable-1.4:=
+ >=dev-haskell/http-4000.1.5:= <dev-haskell/http-4000.4:=
+ >=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/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
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'base >= 4.8 && < 4.13' '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 \
+ --flag=-debug-conflict-sets \
+ --flag=-debug-expensive-assertions \
+ --flag=-debug-tracetree \
+ --flag=-monolithic \
+ $(cabal_flag native-dns native-dns) \
+ --flag=network-uri
+}
diff --git a/dev-haskell/cabal-install/metadata.xml b/dev-haskell/cabal-install/metadata.xml
index 31f7b7e26dba..659d87e35f01 100644
--- a/dev-haskell/cabal-install/metadata.xml
+++ b/dev-haskell/cabal-install/metadata.xml
@@ -12,6 +12,7 @@
</longdescription>
<use>
<flag name="noprefs">Ignore 'preferred-versions' file from hackage's tarball.</flag>
+ <flag name="native-dns">Enable use of the resolv and windns packages for performing DNS lookups</flag>
<flag name="network-uri">Get Network.URI from the network-uri package.</flag>
</use>
</pkgmetadata>