ChangeLog

# ChangeLog for dev-haskell/cabal
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.40 2008/07/15 05:43:51 jer Exp $

15 Jul 2008; Jeroen Roovers cabal-1.1.6.1.ebuild,
cabal-1.1.6.2.ebuild, cabal-1.2.3.0.ebuild:
Stable for HPPA (bug #230919).

06 Jul 2008; Markus Meier cabal-1.2.3.0.ebuild:
amd64/x86 stable, bug #230919

03 May 2008; Lennart Kolmodin cabal-1.1.6.2.ebuild,
cabal-1.2.3.0.ebuild:
Disable the test suit as it is broken. See
http://hackage.haskell.org/trac/hackage/ticket/212
This fixes bug #220024.

*cabal-1.2.3.0 (14 Dec 2007)

14 Dec 2007; Duncan Coutts +cabal-1.2.3.0.ebuild:
New major version.

12 Dec 2007; Duncan Coutts cabal-1.1.4.ebuild,
cabal-1.1.6.1.ebuild, cabal-1.1.6.2.ebuild:
Various minor maintanance changes. Remove unecessary blocker.
Use new eclass functions to reduce code. Tidy code layout.
Only install user guide if USE=doc.

31 Oct 2007; Duncan Coutts cabal-1.1.3-r1.ebuild,
cabal-1.1.4.ebuild, cabal-1.1.6.1.ebuild, cabal-1.1.6.2.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc

29 Aug 2007; Jeroen Roovers cabal-1.1.6.2.ebuild:
Stable for HPPA too.

11 Aug 2007; Steve Dibb cabal-1.1.6.2.ebuild:
amd64 stable

11 Aug 2007; Steve Dibb cabal-1.1.6.1.ebuild:
amd64 stable

02 Aug 2007; Christian Faulhammer cabal-1.1.6.2.ebuild:
stable x86, bug 186849

30 Jul 2007; Markus Rothe cabal-1.1.6.2.ebuild:
Stable on ppc64; bug #186849

30 Jul 2007; Ferris McCormick cabal-1.1.6.2.ebuild:
Sparc stable, required for Bug #186849 --- passes all tests and installs as
expected.

28 Jul 2007; nixnut cabal-1.1.6.2.ebuild:
Stable on ppc wrt bug 186849

*cabal-1.1.6.2 (08 Jul 2007)

08 Jul 2007; Duncan Coutts +cabal-1.1.6.2.ebuild:
New cabal version that comes with ghc-6.6.1.

29 Apr 2007; Lennart Kolmodin cabal-1.1.3-r1.ebuild,
cabal-1.1.4.ebuild:
Change evil (borked) deps so that the packages actually can be installed.

*cabal-1.1.6.1 (07 Mar 2007)

07 Mar 2007; +cabal-1.1.6.1.ebuild:
Bump version, it's a dependency of dev-lang/ghc-6.6.

12 Oct 2006; Duncan Coutts -cabal-1.1.3.ebuild,
cabal-1.1.3-r1.ebuild, cabal-1.1.4.ebuild:
Remove old revision and make current ones block on ghc-6.6 (version 1.1.6
will be compatible with ghc-6.6)

28 Aug 2006; Jeroen Roovers cabal-1.1.4.ebuild:
Stable for HPPA (bug #140369).

21 Aug 2006; Daniel Gryniewicz cabal-1.1.4.ebuild:
Marked stable on amd64 for bug #140369

16 Aug 2006; Joshua Jackson cabal-1.1.4.ebuild:
Stable x86 for ghc bug #140369

24 Jul 2006; Gustavo Zacarias cabal-1.1.4.ebuild:
Stable on sparc wrt #140369

23 Jul 2006; Tobias Scherbaum cabal-1.1.4.ebuild:
ppc stable, bug #140369

20 Jul 2006; Markus Rothe cabal-1.1.4.ebuild:
Stable on ppc64; bug #140369

21 May 2006; Markus Rothe cabal-1.1.3-r1.ebuild:
Stable on ppc64

*cabal-1.1.4 (03 May 2006)

03 May 2006; Duncan Coutts
+files/cabal-1.1.4-make.patch, +cabal-1.1.4.ebuild:
New version to go with ghc-6.4.2

27 Mar 2006; Duncan Coutts cabal-1.1.3-r1.ebuild:
Marked ~ia64

23 Mar 2006; Chris White cabal-1.1.3-r1.ebuild:
Marked cabal-1.1.3-r1 amd64/x86 stable for bug #126134.

21 Mar 2006; Gustavo Zacarias cabal-1.1.3-r1.ebuild:
Stable on sparc wrt #126134

20 Mar 2006; cabal-1.1.3-r1.ebuild:
Stable on ppc. Bug #126134

13 Mar 2006; Jeroen Roovers cabal-1.1.3-r1.ebuild:
Marked ~hppa (bug #125389).

01 Mar 2006; Markus Rothe cabal-1.1.3.ebuild,
cabal-1.1.3-r1.ebuild:
Added ~ppc64; bug #88362

*cabal-1.1.3-r1 (21 Feb 2006)

21 Feb 2006; +files/cabal-1.1.3-ghc622.patch,
+cabal-1.1.3-r1.ebuild:
Add a patch to make registered packages be exposed by default with ghc-6.2

16 Feb 2006; cabal-1.1.3.ebuild:
Add "lib" to CABAL_FEATURES in preparation for pending eclass updates.

10 Feb 2006; cabal-1.1.3.ebuild:
Marked ~alpha.

21 Oct 2005; cabal-1.1.3.ebuild:
Added ~sparc to KEYWORDS.

13 Sep 2005; Andres Loeh cabal-1.1.3.ebuild:
Fixed a problem when building with ghc-6.2.2.

*cabal-1.1.3 (13 Sep 2005)

13 Sep 2005; Andres Loeh -cabal-0.5.ebuild,
+cabal-1.1.3.ebuild:
New cabal version. The ebuild now makes use of the new haskell-cabal.eclass.

04 May 2005; David Holm cabal-0.5.ebuild:
Added to ~ppc.

19 Mar 2005; Andres Loeh cabal-0.5.ebuild:
Cabal works with ghc-6.4 now.

*cabal-0.5 (26 Feb 2005)

26 Feb 2005; Andres Loeh +metadata.xml,
+cabal-0.5.ebuild:
Initial import.

Manifest

AUX cabal-1.1.3-ghc622.patch 678 RMD160 ed7decfd967a12476ad83892015767a37c5ce5ae SHA1 138db22abd979e08f4ff02060a30bc63d575a257 SHA256 d3524545844724687cf3377708d8cc381c06dbe71e618af884bac86361ea5479
AUX cabal-1.1.4-make.patch 1972 RMD160 390e17aab566eadb0acda9777b6e2d36cc3bcef5 SHA1 e21972cf75fe5eabf24ea9864845228898bee0b5 SHA256 cee8833ac195f6da00bcdfdac0afe1805b44a4568b8f202f6e5f1cf591618d84
DIST cabal-1.1.3.tar.gz 382024 RMD160 e361b676184d2f553cf5761c544ac4c32eefcb69 SHA1 e86f41403ea2d02b5d409195647ff97dec7557da SHA256 5c45f0c5f58ba2c16140b72221798a604242f59a155a75111b4cfd31092f836c
DIST cabal-1.1.4.tar.gz 406169 RMD160 0c2b1a33af4512174cc6df6645662046427e9135 SHA1 e1091bd40d40f85b6836a17417f1a907fec20bad SHA256 1740abf0db8a6d18703e315a30ff81c51a06ec4a5f3a6c1927fa1530a0835b66
DIST cabal-1.1.6.1.tar.gz 440851 RMD160 82e85e57f2747f7b38f68e6d11883252e83838e8 SHA1 7a0d052a2d3d7c56fb728798f9bc1c1063ba6010 SHA256 b59ce863c31bee561ca5d5ab2aa996856f8fc1b6297848868fc4f635d716b04e
DIST cabal-1.1.6.2.tar.gz 549071 RMD160 de6ba431220670736e4fa2e407e59b60b83cddba SHA1 29f18107c25cab3ca6bde3c551b3b7bbcad4be9d SHA256 9c687e4ca1a15958a7fe1caabc3c6d7d8e361e37cc37bbf7c8c80a3e507a7b41
DIST cabal-1.2.3.0.tar.gz 627016 RMD160 ba50d5c58049314c0a81c54fbca3ea0d6308c29f SHA1 c5605a70b128e19ee84d7cddd75f4bcbf4e58858 SHA256 d837351674dca88574811626ca3205314b43dc3e26e7d6a5a64f37916287cea5
DIST filepath-1.1.0.0.tar.gz 7548 RMD160 deecc7cedc1ef803d6bb289b52de8139aa475ff3 SHA1 2eb5ec0ac09718be70806633535bc10c9c54c328 SHA256 3732be8c2f3d0ba63347b772a605614967c573416340ca6382cce0c7dccf92ee
EBUILD cabal-1.1.3-r1.ebuild 2153 RMD160 29c33e400b8110de50b50555d2830949bc7f09b0 SHA1 5b696be1e1e19efebd5bb75433f0cd91f3cf095e SHA256 10ec4ddd1fb6a4f67538ea96ca0b84d75ab1f5e1d26774ce860ccd64bdd3d5be
EBUILD cabal-1.1.4.ebuild 1352 RMD160 8b6b78c34f55fa30fd540ac578a8f9fcee0a6f8c SHA1 fc7f178139df4a0edefca9e5675ad499856aff3c SHA256 a83b63cd0dadac0c9183e17b0a3803c0fd7ac1e4f8077e871301c1f87ec5bf64
EBUILD cabal-1.1.6.1.ebuild 1162 RMD160 cdf706867bef044846715233fb14c87be6c2c608 SHA1 fba1954d91bae670cea308228bc4a8c8038b3a87 SHA256 00662ff459bfa90e6b60c368c3c28c00f822b9c86ca0a45089794e08e63844b3
EBUILD cabal-1.1.6.2.ebuild 1248 RMD160 89bf712dd444e12c2347d254a3001f372e2d5a5e SHA1 48bbc74ee0f49401494674f3e7286e220f5657dc SHA256 90b0ef3d7a419330dce1233239dbc912cdb876961b8fbbad0796837cc9ad1494
EBUILD cabal-1.2.3.0.ebuild 1795 RMD160 666c15d7d87725c58db657f5a2845eaef828a741 SHA1 1dcd8e01c6e5522d8778282e0c63f98de8e462c4 SHA256 95434e1457ca2cdffc224fdf30fd18c7f3ce657b764813e124661673b166ed92
MISC ChangeLog 5351 RMD160 dbc77b1f03e667e96cf23b6e50497f4f12976440 SHA1 46b54dd8afe732b0786c89ff552b36bb99ef6527 SHA256 17017b956265fe971213384612afed71e6a9a3b4e1307c9920eefad0cb802620
MISC metadata.xml 231 RMD160 8b37a8901d230433c69ffa03eeed903bca89249b SHA1 b77d396c72fd66ec7c09ae8de996a5ba50d9e482 SHA256 b1bacb51e08eb7f067d6a30020b5c45e4f4e48b5ec4640402ecaa34b78e2ae34

cabal-1.1.3-r1.ebuild

# Copyright 1999-2007 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.13 2007/12/13 00:42:07 dcoutts 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 ~hppa ~ia64 ppc ppc64 sparc x86"

IUSE="doc"

DEPEND=" !>=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
}

cabal-1.1.4.ebuild

# Copyright 1999-2007 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.12 2007/12/13 00:42:07 dcoutts 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 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"

IUSE="doc"

DEPEND="
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
}

cabal-1.1.6.1.ebuild

# Copyright 1999-2008 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.6 2008/07/15 05:43:51 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 ~hppa ~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
}

cabal-1.1.6.2.ebuild

# Copyright 1999-2008 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.12 2008/07/15 05:43:51 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 hppa ~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
}

cabal-1.2.3.0.ebuild

# Copyright 1999-2008 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.5 2008/07/15 05:43:51 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 hppa ~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
}

files

metadata.xml




haskell

haskell@gentoo.org