summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2012-03-04 02:33:04 +0000
committerMark Wright <gienah@gentoo.org>2012-03-04 02:33:04 +0000
commitd6502c33da315ecef3a805faee79df7135be801f (patch)
tree6b372bced54d48e6c05681c8ca850ad8151faeb2 /dev-haskell/cabal
parentBump binary to 0.5.1.0 for ghc 7.4.1 (diff)
downloadgentoo-2-d6502c33da315ecef3a805faee79df7135be801f.tar.gz
gentoo-2-d6502c33da315ecef3a805faee79df7135be801f.tar.bz2
gentoo-2-d6502c33da315ecef3a805faee79df7135be801f.zip
Bump cabal to 1.14.0 for ghc 7.4.1
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/cabal')
-rw-r--r--dev-haskell/cabal/ChangeLog7
-rw-r--r--dev-haskell/cabal/cabal-1.14.0.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-haskell/cabal/ChangeLog b/dev-haskell/cabal/ChangeLog
index 8ae2f792784e..a7a73bb2416e 100644
--- a/dev-haskell/cabal/ChangeLog
+++ b/dev-haskell/cabal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/cabal
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.67 2012/02/24 09:41:58 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.68 2012/03/04 02:33:04 gienah Exp $
+
+*cabal-1.14.0 (04 Mar 2012)
+
+ 04 Mar 2012; Mark Wright <gienah@gentoo.org> +cabal-1.14.0.ebuild:
+ Bump cabal to 1.14.0 for ghc 7.4.1
24 Feb 2012; Agostino Sarubbo <ago@gentoo.org> cabal-1.10.2.0.ebuild:
Stable for amd64, wrt bug #399973
diff --git a/dev-haskell/cabal/cabal-1.14.0.ebuild b/dev-haskell/cabal/cabal-1.14.0.ebuild
new file mode 100644
index 000000000000..6c20de1e67fd
--- /dev/null
+++ b/dev-haskell/cabal/cabal-1.14.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.14.0.ebuild,v 1.1 2012/03/04 02:33:04 gienah Exp $
+
+# ebuild generated by hackport 0.2.12
+
+EAPI="4"
+
+CABAL_FEATURES="bootstrap lib profile"
+inherit haskell-cabal eutils versionator
+
+MY_PN="Cabal"
+MY_PV=$(get_version_component_range '1-3')
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A framework for packaging Haskell software"
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc"
+
+RESTRICT="test" # avoid circular deps
+
+DEPEND=">=dev-lang/ghc-6.10.1"
+RDEPEND="${DEPEND}
+ dev-util/pkgconfig"
+# cabal uses dev-util/pkgconfig using runtime to resolve C dependencies, so
+# repoman's RDEPEND.suspect QA does not apply here
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+CABAL_CORE_LIB_GHC_PV="7.4.0.20111219 7.4.0.20120126 7.4.1"
+
+src_configure() {
+ if ! cabal-is-dummy-lib; then
+ einfo "Bootstrapping Cabal..."
+ $(ghc-getghc) -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
+ -o setup || die "compiling Setup.hs failed"
+ cabal-configure
+ fi
+}
+
+src_compile() {
+ if ! cabal-is-dummy-lib; then
+ cabal-build
+ fi
+}