Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Lennart Kolmodin (kolmodin)" <kolmodin@g.o>
Subject: gentoo-x86 commit in dev-haskell/cabal: ChangeLog cabal-1.6.0.1.ebuild
Date: Sun, 19 Oct 2008 17:42:40 +0000
kolmodin    08/10/19 17:42:40

  Modified:             ChangeLog
  Added:                cabal-1.6.0.1.ebuild
  Log:
  Add dev-haskell/cabal-1.6.0.1, newest version
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.44                 dev-haskell/cabal/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.44&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.44&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?r1=1.43&r2=1.44

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog	18 Oct 2008 18:01:34 -0000	1.43
+++ ChangeLog	19 Oct 2008 17:42:40 -0000	1.44
@@ -1,6 +1,12 @@
 # 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.43 2008/10/18 18:01:34 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.44 2008/10/19 17:42:40 kolmodin Exp $
+
+*cabal-1.6.0.1 (19 Oct 2008)
+
+  19 Oct 2008; Lennart Kolmodin <kolmodin@g.o> +cabal-1.6.0.1.ebuild:
+  Bump to latest available.
+  We still bundle filepath-1.1.0.0 because of the cyclic dep.
 
   18 Oct 2008; nixnut <nixnut@g.o> cabal-1.2.3.0.ebuild:
   Stable on ppc wrt bug 239368



1.1                  dev-haskell/cabal/cabal-1.6.0.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.6.0.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.6.0.1.ebuild?rev=1.1&content-type=text/plain

Index: cabal-1.6.0.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.6.0.1.ebuild,v 1.1 2008/10/19 17:42:40 kolmodin 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 ~hppa ~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
}

src_install() {
	cabal_src_install
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
portage r11702 - main/trunk/pym/_emerge
Next by thread:
gentoo-x86 commit in dev-haskell/cabal: ChangeLog cabal-1.6.0.1.ebuild
Previous by date:
portage r11702 - main/trunk/pym/_emerge
Next by date:
gentoo-x86 commit in net-libs/libnipper: ChangeLog libnipper-0.12.2.ebuild


Updated Jun 01, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.