Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/ounit: ChangeLog ounit-1.0.3.ebuild
Date: Mon, 28 Sep 2009 16:26:17
Message-Id: E1MsJ3G-0000Oj-5H@stork.gentoo.org
1 betelgeuse 09/09/28 16:26:14
2
3 Modified: ChangeLog ounit-1.0.3.ebuild
4 Log:
5 Migrate to EAPI 2 in order to nuke built_with_use.
6 (Portage version: 2.2_rc40/cvs/Linux i686)
7
8 Revision Changes Path
9 1.19 dev-ml/ounit/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.19&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ChangeLog?rev=1.19&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ChangeLog?r1=1.18&r2=1.19
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v
18 retrieving revision 1.18
19 retrieving revision 1.19
20 diff -u -r1.18 -r1.19
21 --- ChangeLog 20 Sep 2009 13:31:29 -0000 1.18
22 +++ ChangeLog 28 Sep 2009 16:26:13 -0000 1.19
23 @@ -1,6 +1,9 @@
24 # ChangeLog for dev-ml/ounit
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.18 2009/09/20 13:31:29 aballier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ChangeLog,v 1.19 2009/09/28 16:26:13 betelgeuse Exp $
28 +
29 + 28 Sep 2009; Petteri Räty <betelgeuse@g.o> ounit-1.0.3.ebuild:
30 + Migrate to EAPI 2 in order to nuke built_with_use.
31
32 20 Sep 2009; Alexis Ballier <aballier@g.o> -ounit-1.0.2.ebuild:
33 remove old
34
35
36
37 1.4 dev-ml/ounit/ounit-1.0.3.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild?rev=1.4&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild?rev=1.4&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild?r1=1.3&r2=1.4
42
43 Index: ounit-1.0.3.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild,v
46 retrieving revision 1.3
47 retrieving revision 1.4
48 diff -u -r1.3 -r1.4
49 --- ounit-1.0.3.ebuild 14 Aug 2009 17:51:53 -0000 1.3
50 +++ ounit-1.0.3.ebuild 28 Sep 2009 16:26:13 -0000 1.4
51 @@ -1,8 +1,8 @@
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild,v 1.3 2009/08/14 17:51:53 maekke Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ounit-1.0.3.ebuild,v 1.4 2009/09/28 16:26:13 betelgeuse Exp $
56
57 -EAPI="1"
58 +EAPI="2"
59
60 inherit findlib eutils
61
62 @@ -12,19 +12,10 @@
63 LICENSE="MIT"
64 SLOT="0"
65 KEYWORDS="amd64 ppc x86"
66 -DEPEND="dev-lang/ocaml"
67 +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
68 RDEPEND="${DEPEND}"
69 IUSE="+ocamlopt"
70
71 -pkg_setup() {
72 - if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
73 - eerror "In order to build ${PN} with native code support from ocaml"
74 - eerror "You first need to have a native code ocaml compiler."
75 - eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
76 - die "Please install ocaml with ocamlopt useflag"
77 - fi
78 -}
79 -
80 src_compile() {
81 emake all || die "emake failed"
82 if use ocamlopt; then
83 @@ -36,5 +27,5 @@
84 findlib_src_install
85
86 # install documentation
87 - dodoc README changelog
88 + dodoc README changelog || die
89 }