diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2011-06-05 13:24:17 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2011-06-05 13:24:17 +0000 |
commit | 5797decf2a0a0b1972fcb8a352b442808709e0d2 (patch) | |
tree | f7e92b772127465bd58859f07e103afa149a7afc /dev-haskell/cabal | |
parent | alpha/ia64/sh/sparc stable wrt #368281 (diff) | |
download | gentoo-2-5797decf2a0a0b1972fcb8a352b442808709e0d2.tar.gz gentoo-2-5797decf2a0a0b1972fcb8a352b442808709e0d2.tar.bz2 gentoo-2-5797decf2a0a0b1972fcb8a352b442808709e0d2.zip |
Removed old.
(Portage version: 2.1.9.50/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/cabal')
-rw-r--r-- | dev-haskell/cabal/ChangeLog | 8 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.1.3-r1.ebuild | 75 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.1.4.ebuild | 57 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.1.6.1.ebuild | 48 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.1.6.2.ebuild | 54 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.2.3.0.ebuild | 65 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.6.0.1.ebuild | 55 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.6.0.2.ebuild | 53 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.6.0.3.ebuild | 56 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.8.0.2.ebuild | 38 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.8.0.6.ebuild | 38 |
11 files changed, 7 insertions, 540 deletions
diff --git a/dev-haskell/cabal/ChangeLog b/dev-haskell/cabal/ChangeLog index 7dbae8db35a8..1978a545bbd1 100644 --- a/dev-haskell/cabal/ChangeLog +++ b/dev-haskell/cabal/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/cabal # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.63 2011/02/25 12:40:32 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.64 2011/06/05 13:24:17 slyfox Exp $ + + 05 Jun 2011; Sergei Trofimovich <slyfox@gentoo.org> -cabal-1.1.3-r1.ebuild, + -cabal-1.1.4.ebuild, -cabal-1.1.6.1.ebuild, -cabal-1.1.6.2.ebuild, + -cabal-1.2.3.0.ebuild, -cabal-1.6.0.1.ebuild, -cabal-1.6.0.2.ebuild, + -cabal-1.6.0.3.ebuild, -cabal-1.8.0.2.ebuild, -cabal-1.8.0.6.ebuild: + Removed old. 25 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> cabal-1.8.0.6-r1.ebuild: diff --git a/dev-haskell/cabal/cabal-1.1.3-r1.ebuild b/dev-haskell/cabal/cabal-1.1.3-r1.ebuild deleted file mode 100644 index 3c3f6a6c115f..000000000000 --- a/dev-haskell/cabal/cabal-1.1.3-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.3-r1.ebuild,v 1.14 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap lib" -inherit haskell-cabal eutils base - -DESCRIPTION="Haskell Common Architecture for Building Applications and Libraries" -HOMEPAGE="http://haskell.org/cabal" -SRC_URI="http://haskell.org/cabal/release/rc/${P}.tar.gz" -LICENSE="as-is" -SLOT="0" - -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86" - -IUSE="doc" - -DEPEND="<dev-lang/ghc-6.6 - !>=dev-lang/ghc-6.6" - -MY_PV="${PV/_pre*/}" -S="${WORKDIR}/${PN}" - -src_unpack() { - base_src_unpack - - # Grrr, Cabal build-depends on the util package which is one of the old - # hslibs packages. Exposing util breaks lots of things. Fortunately cabal - # doesn't actually use anything fro util so we can remove it. A patch has - # been sent upstream so remove this hack on the next cabal iteration. - # Update: Seems that solving this upstream causes problems on Windows, so - # this hack will remain for now. - if $(ghc-cabal); then - sed -i 's/Build-Depends: base, util/Build-Depends: base/' "${S}/Cabal.cabal" - else - sed -i 's/Build-Depends: base, util/Build-Depends: base, unix/' "${S}/Cabal.cabal" - fi - - # patch to make installed packages be exposed by default with - # ghc 6.2.2 (which is Cabal's default with ghc 6.4.1) - cd "${S}" - epatch "${FILESDIR}/${PN}-1.1.3-ghc622.patch" -} - -src_compile() { - if ghc-cabal; then - make setup HC="$(ghc-getghc) -ignore-package Cabal" - else - make setup HC="$(ghc-getghc)" - fi - cabal-configure - cabal-build -} - -src_install() { - cabal_src_install - - # documentation (install directly; generation seems broken to me atm) - dohtml -r doc/users-guide - if use doc; then - dohtml -r doc/API - dohtml -r doc/pkg-spec-html - dodoc doc/pkg-spec.pdf - fi - dodoc changelog copyright README releaseNotes TODO -} - -pkg_postinst () { - if ghc-cabal && ghc-package-exists "Cabal-1.0"; then - ebegin "Unregistering ghc's built-in cabal " - $(ghc-getghcpkg) unregister "Cabal-1.0" > /dev/null - eend $? - fi - ghc-package_pkg_postinst -} diff --git a/dev-haskell/cabal/cabal-1.1.4.ebuild b/dev-haskell/cabal/cabal-1.1.4.ebuild deleted file mode 100644 index 9e7350812057..000000000000 --- a/dev-haskell/cabal/cabal-1.1.4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.4.ebuild,v 1.13 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap profile lib" -inherit haskell-cabal eutils base - -DESCRIPTION="Haskell Common Architecture for Building Applications and Libraries" -HOMEPAGE="http://haskell.org/cabal" -SRC_URI="http://haskell.org/cabal/release/${P}/${P}.tar.gz" -LICENSE="as-is" -SLOT="0" - -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~x86-fbsd" - -IUSE="doc" - -DEPEND="<dev-lang/ghc-6.6" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-make.patch" -} - -src_compile() { - if ghc-cabal; then - make setup HC="$(ghc-getghc) -ignore-package Cabal" - else - make setup HC="$(ghc-getghc)" - fi - cabal-configure - cabal-build -} - -src_install() { - cabal_src_install - - # documentation (install directly; generation seems broken to me atm) - dohtml -r doc/users-guide - if use doc; then - dohtml -r doc/API - dohtml -r doc/pkg-spec-html - dodoc doc/pkg-spec.pdf - fi - dodoc changelog copyright README releaseNotes TODO -} - -pkg_postinst () { - if ghc-cabal && ghc-package-exists "Cabal-1.0"; then - ebegin "Unregistering ghc's built-in cabal " - $(ghc-getghcpkg) unregister "Cabal-1.0" > /dev/null - eend $? - fi - ghc-package_pkg_postinst -} diff --git a/dev-haskell/cabal/cabal-1.1.6.1.ebuild b/dev-haskell/cabal/cabal-1.1.6.1.ebuild deleted file mode 100644 index 9e9782ac78c7..000000000000 --- a/dev-haskell/cabal/cabal-1.1.6.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.1.ebuild,v 1.7 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap profile lib" -inherit haskell-cabal eutils - -DESCRIPTION="Haskell Common Architecture for Building Applications and Libraries" -HOMEPAGE="http://haskell.org/cabal" -SRC_URI="http://haskell.org/cabal/release/${P}/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="doc" - -DEPEND=">=dev-lang/ghc-6.2" - -src_unpack() { - unpack ${A} - if ! $(ghc-cabal); then - sed -i 's/Build-Depends: base/Build-Depends: base, unix/' \ - "${S}/Cabal.cabal" - fi -} - -src_compile() { - if ghc-cabal; then - make setup HC="$(ghc-getghc) -ignore-package Cabal" - else - make setup HC="$(ghc-getghc)" - fi - cabal-configure - cabal-build -} - -src_install() { - cabal_src_install - - # documentation (install directly) - if use doc; then - dohtml -r doc/users-guide - dohtml -r doc/API - dohtml -r doc/pkg-spec-html - dodoc doc/pkg-spec.pdf - fi - dodoc changelog copyright README releaseNotes TODO -} diff --git a/dev-haskell/cabal/cabal-1.1.6.2.ebuild b/dev-haskell/cabal/cabal-1.1.6.2.ebuild deleted file mode 100644 index 0b7afac28eef..000000000000 --- a/dev-haskell/cabal/cabal-1.1.6.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.1.6.2.ebuild,v 1.13 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap profile lib" -inherit haskell-cabal eutils - -DESCRIPTION="Haskell Common Architecture for Building Applications and Libraries" -HOMEPAGE="http://haskell.org/cabal" -SRC_URI="http://haskell.org/cabal/release/${P}/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="doc" - -RESTRICT="test" - -DEPEND=">=dev-lang/ghc-6.2" - -CABAL_CORE_LIB_GHC_PV="6.6.1" - -src_unpack() { - unpack ${A} - if ! $(ghc-cabal); then - sed -i 's/Build-Depends: base/Build-Depends: base, unix/' \ - "${S}/Cabal.cabal" - fi -} - -src_compile() { - if ! cabal-is-dummy-lib; then - if ghc-cabal; then - make setup HC="$(ghc-getghc) -ignore-package Cabal" - else - make setup HC="$(ghc-getghc)" - fi - cabal-configure - cabal-build - fi -} - -src_install() { - cabal_src_install - - # documentation (install directly) - if use doc; then - dohtml -r doc/users-guide - dohtml -r doc/API - dohtml -r doc/pkg-spec-html - dodoc doc/pkg-spec.pdf - fi - dodoc changelog copyright README releaseNotes TODO -} diff --git a/dev-haskell/cabal/cabal-1.2.3.0.ebuild b/dev-haskell/cabal/cabal-1.2.3.0.ebuild deleted file mode 100644 index fe869eba0fac..000000000000 --- a/dev-haskell/cabal/cabal-1.2.3.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.2.3.0.ebuild,v 1.9 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap profile lib" -inherit base haskell-cabal - -# Resolve cyclic dep between filepath and Cabal by using a private copy of -# filepath when building Cabal. -FP_PN=filepath -FP_PV=1.1.0.0 -FP_P=${FP_PN}-${FP_PV} - -DESCRIPTION="Haskell Common Architecture for Building Applications and Libraries" -HOMEPAGE="http://haskell.org/cabal" -SRC_URI="http://haskell.org/cabal/release/${P}/${P}.tar.gz - http://hackage.haskell.org/packages/archive/${FP_PN}/${FP_PV}/${FP_P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86" -IUSE="doc" - -RESTRICT="test" - -DEPEND=">=dev-lang/ghc-6.2" - -CABAL_CORE_LIB_GHC_PV="6.8.2" - -src_unpack() { - base_src_unpack - - # We're using the private copy of filepath: - sed -i -e 's/Build-Depends: filepath//' \ - -e '/Other-Modules:/a \ - System.FilePath System.FilePath.Posix System.FilePath.Windows' \ - "${S}/Cabal.cabal" - # Note: do not replace spaces with tabs on the line above, it'll break - # things. You'll just have to put up with the repoman warning. - - echo " Hs-Source-Dirs: ., ../${FP_P}" >> "${S}/Cabal.cabal" -} - -src_compile() { - if ! cabal-is-dummy-lib; then - einfo "Bootstrapping Cabal..." - $(ghc-getghc) -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.lhs \ - -o setup || die "compiling Setup.lhs failed" - cabal-configure - cabal-build - fi -} - -src_install() { - cabal_src_install - - # documentation (install directly) - if use doc; then - dohtml -r doc/users-guide - dohtml -r doc/API - dohtml -r doc/pkg-spec-html - dodoc doc/pkg-spec.pdf - fi - dodoc changelog README releaseNotes TODO -} diff --git a/dev-haskell/cabal/cabal-1.6.0.1.ebuild b/dev-haskell/cabal/cabal-1.6.0.1.ebuild deleted file mode 100644 index 0fba2d8a61ea..000000000000 --- a/dev-haskell/cabal/cabal-1.6.0.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.6.0.1.ebuild,v 1.4 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap lib profile" -inherit haskell-cabal eutils - -MY_PN="Cabal" -MY_P="${MY_PN}-${PV}" - -# Resolve cyclic dep between filepath and Cabal by using a private copy of -# filepath when building Cabal. -FP_PN=filepath -FP_PV=1.1.0.0 -FP_P=${FP_PN}-${FP_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 - http://hackage.haskell.org/packages/archive/${FP_PN}/${FP_PV}/${FP_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc" - -DEPEND=">=dev-lang/ghc-6.4" - -S="${WORKDIR}/${MY_P}" - -CABAL_CORE_LIB_GHC_PV="6.10.1" - -src_unpack() { - unpack ${A} - - # We're using the private copy of filepath: - sed -i -e 's/Build-Depends: filepath >= 1 && < 1.2//' \ - -e '/Other-Modules:/a \ - System.FilePath System.FilePath.Posix System.FilePath.Windows' \ - "${S}/Cabal.cabal" - # Note: do not replace spaces with tabs on the line above, it'll break - # things. You'll just have to put up with the repoman warning. - - echo " Hs-Source-Dirs: ., ../${FP_P}" >> "${S}/Cabal.cabal" -} - -src_compile() { - 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 - cabal-build - fi -} diff --git a/dev-haskell/cabal/cabal-1.6.0.2.ebuild b/dev-haskell/cabal/cabal-1.6.0.2.ebuild deleted file mode 100644 index 928cbd8a7b18..000000000000 --- a/dev-haskell/cabal/cabal-1.6.0.2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.6.0.2.ebuild,v 1.3 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap lib profile" -inherit haskell-cabal eutils - -MY_PN="Cabal" -MY_P="${MY_PN}-${PV}" - -# Resolve cyclic dep between filepath and Cabal by using a private copy of -# filepath when building Cabal. -FP_PN=filepath -FP_PV=1.1.0.1 -FP_P=${FP_PN}-${FP_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 - http://hackage.haskell.org/packages/archive/${FP_PN}/${FP_PV}/${FP_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc" - -DEPEND=">=dev-lang/ghc-6.4" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - - # We're using the private copy of filepath: - sed -i -e 's/Build-Depends: filepath >= 1 && < 1.2//' \ - -e '/Other-Modules:/a \ - System.FilePath System.FilePath.Posix System.FilePath.Windows' \ - "${S}/Cabal.cabal" - # Note: do not replace spaces with tabs on the line above, it'll break - # things. You'll just have to put up with the repoman warning. - - echo " Hs-Source-Dirs: ., ../${FP_P}" >> "${S}/Cabal.cabal" -} - -src_compile() { - 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 - cabal-build - fi -} diff --git a/dev-haskell/cabal/cabal-1.6.0.3.ebuild b/dev-haskell/cabal/cabal-1.6.0.3.ebuild deleted file mode 100644 index 92db3ba52b51..000000000000 --- a/dev-haskell/cabal/cabal-1.6.0.3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.6.0.3.ebuild,v 1.10 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap lib profile" -inherit haskell-cabal eutils - -MY_PN="Cabal" -MY_P="${MY_PN}-${PV}" - -# Resolve cyclic dep between filepath and Cabal by using a private copy of -# filepath when building Cabal. -FP_PN=filepath -FP_PV=1.1.0.1 -FP_P=${FP_PN}-${FP_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 - http://hackage.haskell.org/packages/archive/${FP_PN}/${FP_PV}/${FP_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="doc" - -DEPEND=">=dev-lang/ghc-6.4" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -CABAL_CORE_LIB_GHC_PV="6.10.2 6.10.3 6.10.4" - -src_unpack() { - unpack ${A} - - # We're using the private copy of filepath: - sed -i -e 's/Build-Depends: filepath >= 1 && < 1.2//' \ - -e '/Other-Modules:/a \ - System.FilePath System.FilePath.Posix System.FilePath.Windows' \ - "${S}/Cabal.cabal" - # Note: do not replace spaces with tabs on the line above, it'll break - # things. You'll just have to put up with the repoman warning. - - echo " Hs-Source-Dirs: ., ../${FP_P}" >> "${S}/Cabal.cabal" -} - -src_compile() { - 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 - cabal-build - fi -} diff --git a/dev-haskell/cabal/cabal-1.8.0.2.ebuild b/dev-haskell/cabal/cabal-1.8.0.2.ebuild deleted file mode 100644 index fe2ad5e7d63a..000000000000 --- a/dev-haskell/cabal/cabal-1.8.0.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.8.0.2.ebuild,v 1.2 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap lib profile" -inherit haskell-cabal eutils - -MY_PN="Cabal" -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" - -# Cabal.cabal only depends on base>=1&&<5 and filepath>=1&&<1.2 -# filepath has been a ghc core library since ghc 6.6.1, so let's use that as the -# lowest possible ghc version -DEPEND=">=dev-lang/ghc-6.6.1" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -CABAL_CORE_LIB_GHC_PV="6.12.1" - -src_compile() { - 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 - cabal-build - fi -} diff --git a/dev-haskell/cabal/cabal-1.8.0.6.ebuild b/dev-haskell/cabal/cabal-1.8.0.6.ebuild deleted file mode 100644 index f2bbc3197e19..000000000000 --- a/dev-haskell/cabal/cabal-1.8.0.6.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.8.0.6.ebuild,v 1.2 2010/07/01 19:20:29 jer Exp $ - -CABAL_FEATURES="bootstrap lib profile" -inherit haskell-cabal eutils - -MY_PN="Cabal" -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" - -# Cabal.cabal only depends on base>=1&&<5 and filepath>=1&&<1.2 -# filepath has been a ghc core library since ghc 6.6.1, so let's use that as the -# lowest possible ghc version -DEPEND=">=dev-lang/ghc-6.6.1" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -CABAL_CORE_LIB_GHC_PV="6.12.3" - -src_compile() { - 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 - cabal-build - fi -} |