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/hunit: ChangeLog hunit-1.2.0.0.ebuild
Date: Thu, 30 Jul 2009 20:50:32
Message-Id: E1MWca5-0001dg-ND@stork.gentoo.org
1 kolmodin 09/07/30 20:50:29
2
3 Modified: ChangeLog hunit-1.2.0.0.ebuild
4 Log:
5 Fix dev-haskell/hunit to compile with >=dev-lang/ghc-6.10
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.32 dev-haskell/hunit/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hunit/ChangeLog?rev=1.32&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hunit/ChangeLog?rev=1.32&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hunit/ChangeLog?r1=1.31&r2=1.32
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hunit/ChangeLog,v
18 retrieving revision 1.31
19 retrieving revision 1.32
20 diff -u -r1.31 -r1.32
21 --- ChangeLog 19 Apr 2009 09:55:59 -0000 1.31
22 +++ ChangeLog 30 Jul 2009 20:50:29 -0000 1.32
23 @@ -1,6 +1,9 @@
24 # ChangeLog for dev-haskell/hunit
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hunit/ChangeLog,v 1.31 2009/04/19 09:55:59 kolmodin Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hunit/ChangeLog,v 1.32 2009/07/30 20:50:29 kolmodin Exp $
28 +
29 + 30 Jul 2009; Lennart Kolmodin <kolmodin@g.o> hunit-1.2.0.0.ebuild:
30 + Make 1.2.0.0 compile with >=dev-lang/ghc-6.10.
31
32 *hunit-1.2.0.3 (19 Apr 2009)
33
34
35
36
37 1.5 dev-haskell/hunit/hunit-1.2.0.0.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hunit/hunit-1.2.0.0.ebuild?rev=1.5&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hunit/hunit-1.2.0.0.ebuild?rev=1.5&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-haskell/hunit/hunit-1.2.0.0.ebuild?r1=1.4&r2=1.5
42
43 Index: hunit-1.2.0.0.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hunit/hunit-1.2.0.0.ebuild,v
46 retrieving revision 1.4
47 retrieving revision 1.5
48 diff -u -r1.4 -r1.5
49 --- hunit-1.2.0.0.ebuild 3 Oct 2008 23:46:30 -0000 1.4
50 +++ hunit-1.2.0.0.ebuild 30 Jul 2009 20:50:29 -0000 1.5
51 @@ -1,6 +1,6 @@
52 -# Copyright 1999-2008 Gentoo Foundation
53 +# Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hunit/hunit-1.2.0.0.ebuild,v 1.4 2008/10/03 23:46:30 fmccor Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hunit/hunit-1.2.0.0.ebuild,v 1.5 2009/07/30 20:50:29 kolmodin Exp $
57
58 CABAL_FEATURES="lib profile haddock"
59 inherit base haskell-cabal
60 @@ -18,9 +18,16 @@
61 IUSE=""
62
63 DEPEND=">=dev-lang/ghc-6.4"
64 +RDEPEND="${DEPEND}"
65
66 S="${WORKDIR}/${MY_P}"
67
68 +src_unpack() {
69 + base_src_unpack
70 +
71 + sed -e 's/base/base<4/' -i "${S}/${MY_PN}.cabal"
72 +}
73 +
74 src_install () {
75 cabal_src_install
76 if use doc; then