summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-01-16 17:37:39 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-01-16 19:42:39 +0000
commitbf291b2e8fd480da33a42509b43e67aa048da51d (patch)
tree123aa86f4b40c6673d4e49a238c38db7a94b383f /dev-haskell/cabal-install
parentdev-haskell/cabal: bump up to 1.22.6.0 (diff)
downloadgentoo-bf291b2e8fd480da33a42509b43e67aa048da51d.tar.gz
gentoo-bf291b2e8fd480da33a42509b43e67aa048da51d.tar.bz2
gentoo-bf291b2e8fd480da33a42509b43e67aa048da51d.zip
dev-haskell/cabal-install: bump up to 1.22.7.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-haskell/cabal-install')
-rw-r--r--dev-haskell/cabal-install/Manifest1
-rw-r--r--dev-haskell/cabal-install/cabal-install-1.22.7.0.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-haskell/cabal-install/Manifest b/dev-haskell/cabal-install/Manifest
index cdc7fcc692a7..5d46247d027e 100644
--- a/dev-haskell/cabal-install/Manifest
+++ b/dev-haskell/cabal-install/Manifest
@@ -3,3 +3,4 @@ DIST cabal-install-1.18.0.3.tar.gz 254044 SHA256 81b85757944b6ee0dd30396bf5851d1
DIST cabal-install-1.18.1.0.tar.gz 257577 SHA256 d6abb6fef8204780a41aff2e93dfa297883673507cec557348aebf6b37843ae4 SHA512 252304480ebde673fba873b9d7f709e47d1acfc7ab936a2b19f663d8e3c8ef7a20abeaac0cf9bbdb4bf0d1c30688e8a9b1cf1f73c27ce8f47845c3431de6752e WHIRLPOOL 1d2bd46e88a3ac48fcd46cc229f2a90059b0d48ceec9bb04cb91c68adf7690bbe599adc518cce0e76bdffe80eff0cd615f7d25843a7f0f0090d59a34f5b37df2
DIST cabal-install-1.20.0.3.tar.gz 274779 SHA256 d2bd56f3bcae92b7b97325be5216f94544fbcb30e10e24b40bccc149584b0b14 SHA512 a272c7eb1c87a933b30697afa7bf78f95fb0afa203e791448d5e96d5c62105533347b8b777af7a7e6db5703654c319045e089d46d2263a09ed5ada10144ce12f WHIRLPOOL da95f8a386c751c8c83ffa965422ab8fcf047693300f6d7ed39ec046354c8b00753fd3f0936b56eb5a6e854e5176ad2e20282e2bbcc0745f5ef4d462e59f4d0d
DIST cabal-install-1.22.6.0.tar.gz 302564 SHA256 9d239e385696a7faa49f068aea451882baec6a7df26fbddbd08271c9053cb0b4 SHA512 155227a0bc29f8d6c9ec9846f1dbd956234853b1301fa15ab81aaee654abba8bfbd19cbb608008427b1272bff7aa397830011855b85d0a13deb9ebd1485cab14 WHIRLPOOL ca1bac034fcd502c45aab36218847a1a1b36dd47caf854e5b619e61ae3d67b65cbeeca5f4e46f856095f7131dbe2c1a908de4ee127f8c6a2c4e1806c40a05a1f
+DIST cabal-install-1.22.7.0.tar.gz 302579 SHA256 b30fd14f20fdd11b028cba68fefeed7eeadcacf919e7c29bc4d7289a656d19f3 SHA512 a88895ee38bf7451ba6a2e929ff224643ea0a536a9633d463d91a471e41b6aae302af2c3ca4fc914e4b3401fcadb137bb0c68c9fb7d0f768835374aef1b22766 WHIRLPOOL 2315f7b510456fdc4db7348d67fcf5c3ceb3ee03684297d6f429f4aff62a681c70aeeb34beac48d3481f7920d4b123369a21a4f340b899f7b52431119d3e680b
diff --git a/dev-haskell/cabal-install/cabal-install-1.22.7.0.ebuild b/dev-haskell/cabal-install/cabal-install-1.22.7.0.ebuild
new file mode 100644
index 000000000000..236d3cc3fe1f
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-1.22.7.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="bin test-suite"
+inherit bash-completion-r1 eutils haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+network-uri +noprefs"
+
+RESTRICT=test # missing files
+
+RDEPEND=">=dev-haskell/cabal-1.22.2:= <dev-haskell/cabal-1.23:=
+ >=dev-haskell/http-4000.2.5:= <dev-haskell/http-4000.3:=
+ >=dev-haskell/mtl-2.0:= <dev-haskell/mtl-3:=
+ >=dev-haskell/old-time-1:= <dev-haskell/old-time-1.2:=
+ >=dev-haskell/random-1:= <dev-haskell/random-1.2:=
+ >=dev-haskell/stm-2.0:= <dev-haskell/stm-3:=
+ >=dev-haskell/zlib-0.5.3:= <dev-haskell/zlib-0.7:=
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=
+ >=dev-haskell/network-uri-2.6:= )
+ !network-uri? ( >=dev-haskell/network-2.4:= <dev-haskell/network-2.6:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( dev-haskell/extensible-exceptions
+ dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.5
+ dev-haskell/regex-posix
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ >=dev-haskell/test-framework-quickcheck2-0.3
+ !network-uri? ( <dev-haskell/network-uri-2.6 ) )
+"
+
+src_prepare() {
+ 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
+
+ cabal_chdeps \
+ 'QuickCheck >= 2.1.0.1 && < 2.9' 'QuickCheck >= 2.1.0.1'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag network-uri network-uri)
+
+ dobashcomp "${S}/bash-completion/cabal"
+}