diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2014-11-15 18:21:59 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2014-11-15 18:21:59 +0000 |
commit | 7d1e987df48d4a1a0fd75ffd7ddfc74508219e00 (patch) | |
tree | 19bfd75b2b09042e1d43721ce4dfbceaf7c98343 /dev-haskell | |
parent | Version bump. (diff) | |
download | gentoo-2-7d1e987df48d4a1a0fd75ffd7ddfc74508219e00.tar.gz gentoo-2-7d1e987df48d4a1a0fd75ffd7ddfc74508219e00.tar.bz2 gentoo-2-7d1e987df48d4a1a0fd75ffd7ddfc74508219e00.zip |
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/cabal-install/ChangeLog | 8 | ||||
-rw-r--r-- | dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild | 58 |
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-haskell/cabal-install/ChangeLog b/dev-haskell/cabal-install/ChangeLog index ac1f5eaa0fc2..78c7f178dd8a 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-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/ChangeLog,v 1.22 2014/10/21 22:30:15 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/ChangeLog,v 1.23 2014/11/15 18:21:59 slyfox Exp $ + +*cabal-install-1.20.0.3-r2 (15 Nov 2014) + + 15 Nov 2014; Sergei Trofimovich <slyfox@gentoo.org> + +cabal-install-1.20.0.3-r2.ebuild: + Version bump. 21 Oct 2014; Sergei Trofimovich <slyfox@gentoo.org> -cabal-install-0.10.2-r2.ebuild, -cabal-install-0.14.0.ebuild, diff --git a/dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild b/dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild new file mode 100644 index 000000000000..2bc3fd617c09 --- /dev/null +++ b/dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 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.20.0.3-r2.ebuild,v 1.1 2014/11/15 18:21:59 slyfox Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.4.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="+noprefs" + +RDEPEND="" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.20.0 <dev-haskell/cabal-1.21 + >=dev-haskell/http-4000.2.5 <dev-haskell/http-4000.3 + >=dev-haskell/mtl-2.0 <dev-haskell/mtl-3 + >=dev-haskell/network-2.0 <dev-haskell/network-2.7 + >=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 + test? ( dev-haskell/hunit + >=dev-haskell/quickcheck-2.5 + dev-haskell/test-framework + dev-haskell/test-framework-hunit + >=dev-haskell/test-framework-quickcheck2-0.3 ) +" + +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 \ + 'network >= 2.0 && < 2.6' 'network >= 2.0 && < 2.7' \ + 'random >= 1 && < 1.1' 'random >= 1 && < 1.2' +} + +src_install() { + haskell-cabal_src_install + + dobashcomp "${S}/bash-completion/cabal" +} |