From: | "Lennart Kolmodin (kolmodin)" <kolmodin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-haskell/cabal: cabal-1.6.0.2.ebuild ChangeLog |
Date: | Sun, 08 Mar 2009 19:31:31 |
Message-Id: | E1LgOig-00031j-4s@stork.gentoo.org |
1 | kolmodin 09/03/08 19:31:30 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cabal-1.6.0.2.ebuild |
5 | Log: |
6 | Bump dev-haskell/cabal to 1.6.0.2 |
7 | (Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.46 dev-haskell/cabal/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.46&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?rev=1.46&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/ChangeLog?r1=1.45&r2=1.46 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v |
19 | retrieving revision 1.45 |
20 | retrieving revision 1.46 |
21 | diff -u -r1.45 -r1.46 |
22 | --- ChangeLog 8 Mar 2009 19:26:34 -0000 1.45 |
23 | +++ ChangeLog 8 Mar 2009 19:31:30 -0000 1.46 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-haskell/cabal |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.45 2009/03/08 19:26:34 kolmodin Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal/ChangeLog,v 1.46 2009/03/08 19:31:30 kolmodin Exp $ |
29 | + |
30 | +*cabal-1.6.0.2 (08 Mar 2009) |
31 | + |
32 | + 08 Mar 2009; Lennart Kolmodin <kolmodin@g.o> +cabal-1.6.0.2.ebuild: |
33 | + Version bump |
34 | |
35 | 08 Mar 2009; Lennart Kolmodin <kolmodin@g.o> cabal-1.6.0.1.ebuild: |
36 | Add CABAL_CORE_LIB_GHC_PV="6.10.1" to make this a dummy package |
37 | |
38 | |
39 | |
40 | 1.1 dev-haskell/cabal/cabal-1.6.0.2.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.6.0.2.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/cabal/cabal-1.6.0.2.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: cabal-1.6.0.2.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 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.6.0.2.ebuild,v 1.1 2009/03/08 19:31:30 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 | # Resolve cyclic dep between filepath and Cabal by using a private copy of |
58 | # filepath when building Cabal. |
59 | FP_PN=filepath |
60 | FP_PV=1.1.0.1 |
61 | FP_P=${FP_PN}-${FP_PV} |
62 | |
63 | |
64 | DESCRIPTION="A framework for packaging Haskell software" |
65 | HOMEPAGE="http://www.haskell.org/cabal/" |
66 | SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz |
67 | http://hackage.haskell.org/packages/archive/${FP_PN}/${FP_PV}/${FP_P}.tar.gz" |
68 | |
69 | LICENSE="BSD" |
70 | SLOT="0" |
71 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
72 | IUSE="doc" |
73 | |
74 | DEPEND=">=dev-lang/ghc-6.4" |
75 | |
76 | S="${WORKDIR}/${MY_P}" |
77 | |
78 | src_unpack() { |
79 | unpack ${A} |
80 | |
81 | # We're using the private copy of filepath: |
82 | sed -i -e 's/Build-Depends: filepath >= 1 && < 1.2//' \ |
83 | -e '/Other-Modules:/a \ |
84 | System.FilePath System.FilePath.Posix System.FilePath.Windows' \ |
85 | "${S}/Cabal.cabal" |
86 | # Note: do not replace spaces with tabs on the line above, it'll break |
87 | # things. You'll just have to put up with the repoman warning. |
88 | |
89 | echo " Hs-Source-Dirs: ., ../${FP_P}" >> "${S}/Cabal.cabal" |
90 | } |
91 | |
92 | src_compile() { |
93 | if ! cabal-is-dummy-lib; then |
94 | einfo "Bootstrapping Cabal..." |
95 | $(ghc-getghc) -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \ |
96 | -o setup || die "compiling Setup.hs failed" |
97 | cabal-configure |
98 | cabal-build |
99 | fi |
100 | } |