Gentoo Archives: gentoo-commits

From: "Lennart Kolmodin (kolmodin)" <kolmodin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/cabal: ChangeLog cabal-1.8.0.2.ebuild
Date: Tue, 26 Jan 2010 20:22:37
Message-Id: E1NZrvl-00015N-HY@stork.gentoo.org
1 kolmodin 10/01/26 20:22:33
2
3 Modified: ChangeLog
4 Added: cabal-1.8.0.2.ebuild
5 Log:
6 Version bump dev-haskell/cabal-1.8.0.2.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.52 dev-haskell/cabal/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 2 Jan 2010 12:22:37 -0000 1.51
23 +++ ChangeLog 26 Jan 2010 20:22:33 -0000 1.52
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-haskell/cabal
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.51 2010/01/02 12:22:37 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.52 2010/01/26 20:22:33 kolmodin Exp $
29 +
30 +*cabal-1.8.0.2 (26 Jan 2010)
31 +
32 + 26 Jan 2010; <kolmodin@g.o> +cabal-1.8.0.2.ebuild:
33 + Version bump.
34
35 02 Jan 2010; Christian Faulhammer <fauli@g.o> cabal-1.6.0.3.ebuild:
36 Transfer Prefix keywords
37
38
39
40 1.1 dev-haskell/cabal/cabal-1.8.0.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.8.0.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.8.0.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: cabal-1.8.0.2.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/cabal-1.8.0.2.ebuild,v 1.1 2010/01/26 20:22:33 kolmodin Exp $
50
51 CABAL_FEATURES="bootstrap lib profile"
52 inherit haskell-cabal eutils
53
54 MY_PN="Cabal"
55 MY_P="${MY_PN}-${PV}"
56
57 DESCRIPTION="A framework for packaging Haskell software"
58 HOMEPAGE="http://www.haskell.org/cabal/"
59 SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
64 IUSE="doc"
65
66 # Cabal.cabal only depends on base>=1&&<5 and filepath>=1&&<1.2
67 # filepath has been a ghc core library since ghc 6.6.1, so let's use that as the
68 # lowest possible ghc version
69 DEPEND=">=dev-lang/ghc-6.6.1"
70 RDEPEND="${DEPEND}"
71
72 S="${WORKDIR}/${MY_P}"
73
74 CABAL_CORE_LIB_GHC_PV="6.12.1"
75
76 src_compile() {
77 if ! cabal-is-dummy-lib; then
78 einfo "Bootstrapping Cabal..."
79 $(ghc-getghc) -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
80 -o setup || die "compiling Setup.hs failed"
81 cabal-configure
82 cabal-build
83 fi
84 }