diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-07-26 13:58:57 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-07-26 13:58:57 +0000 |
commit | 9181e068099d8dbeb861f1bf443964d51e384765 (patch) | |
tree | 31f04ccfa88566ca4b5221f7e65fb203a5394052 /dev-haskell/cabal-install | |
parent | Version bump. (diff) | |
download | gentoo-2-9181e068099d8dbeb861f1bf443964d51e384765.tar.gz gentoo-2-9181e068099d8dbeb861f1bf443964d51e384765.tar.bz2 gentoo-2-9181e068099d8dbeb861f1bf443964d51e384765.zip |
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell/cabal-install')
-rw-r--r-- | dev-haskell/cabal-install/ChangeLog | 8 | ||||
-rw-r--r-- | dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild | 67 | ||||
-rw-r--r-- | dev-haskell/cabal-install/metadata.xml | 1 |
3 files changed, 75 insertions, 1 deletions
diff --git a/dev-haskell/cabal-install/ChangeLog b/dev-haskell/cabal-install/ChangeLog index 972bf1a248f0..f4b532c2f50b 100644 --- a/dev-haskell/cabal-install/ChangeLog +++ b/dev-haskell/cabal-install/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/cabal-install # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/ChangeLog,v 1.30 2015/02/28 13:27:53 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/ChangeLog,v 1.31 2015/07/26 13:58:57 slyfox Exp $ + +*cabal-install-1.22.6.0 (26 Jul 2015) + + 26 Jul 2015; Sergei Trofimovich <slyfox@gentoo.org> + +cabal-install-1.22.6.0.ebuild, metadata.xml: + Version bump. 28 Feb 2015; Agostino Sarubbo <ago@gentoo.org> cabal-install-1.18.0.3-r1.ebuild: diff --git a/dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild b/dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild new file mode 100644 index 000000000000..f259802d52d3 --- /dev/null +++ b/dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild,v 1.1 2015/07/26 13:58:57 slyfox Exp $ + +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.6:= + >=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.8' 'QuickCheck >= 2.1.0.1' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag network-uri network-uri) + + dobashcomp "${S}/bash-completion/cabal" +} diff --git a/dev-haskell/cabal-install/metadata.xml b/dev-haskell/cabal-install/metadata.xml index 7cec1cccb153..2054a0dec50f 100644 --- a/dev-haskell/cabal-install/metadata.xml +++ b/dev-haskell/cabal-install/metadata.xml @@ -9,5 +9,6 @@ </longdescription> <use> <flag name="noprefs">Ignore 'preferred-versions' file from hackage's tarball.</flag> + <flag name='network-uri'>Get Network.URI from the network-uri package.</flag> </use> </pkgmetadata> |