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/camlidl: ChangeLog camlidl-1.05.ebuild
Date: Mon, 28 Sep 2009 16:45:45
Message-Id: E1MsJM6-00015B-W5@stork.gentoo.org
1 betelgeuse 09/09/28 16:45:42
2
3 Modified: ChangeLog camlidl-1.05.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.5 dev-ml/camlidl/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/ChangeLog?rev=1.5&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/ChangeLog?rev=1.5&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/ChangeLog?r1=1.4&r2=1.5
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v
18 retrieving revision 1.4
19 retrieving revision 1.5
20 diff -u -r1.4 -r1.5
21 --- ChangeLog 15 Apr 2009 04:55:39 -0000 1.4
22 +++ ChangeLog 28 Sep 2009 16:45:42 -0000 1.5
23 @@ -1,6 +1,9 @@
24 # ChangeLog for dev-ml/camlidl
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.4 2009/04/15 04:55:39 aballier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/ChangeLog,v 1.5 2009/09/28 16:45:42 betelgeuse Exp $
28 +
29 + 28 Sep 2009; Petteri Räty <betelgeuse@g.o> camlidl-1.05.ebuild:
30 + Migrate to EAPI 2 in order to nuke built_with_use.
31
32 15 Apr 2009; Alexis Ballier <aballier@g.o> +files/includes.patch,
33 +files/tests.patch, camlidl-1.05.ebuild:
34
35
36
37 1.4 dev-ml/camlidl/camlidl-1.05.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild?rev=1.4&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild?rev=1.4&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild?r1=1.3&r2=1.4
42
43 Index: camlidl-1.05.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v
46 retrieving revision 1.3
47 retrieving revision 1.4
48 diff -u -r1.3 -r1.4
49 --- camlidl-1.05.ebuild 15 Apr 2009 04:55:39 -0000 1.3
50 +++ camlidl-1.05.ebuild 28 Sep 2009 16:45:42 -0000 1.4
51 @@ -1,6 +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/camlidl/camlidl-1.05.ebuild,v 1.3 2009/04/15 04:55:39 aballier Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/camlidl/camlidl-1.05.ebuild,v 1.4 2009/09/28 16:45:42 betelgeuse Exp $
56 +
57 +EAPI="2"
58
59 inherit eutils toolchain-funcs
60
61 @@ -11,20 +13,9 @@
62 SLOT="0"
63 KEYWORDS="~x86 ~ppc ~amd64"
64 IUSE=""
65 -DEPEND=">=dev-lang/ocaml-3.07"
66 -
67 -pkg_setup() {
68 - if ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
69 - eerror "${PN} needs to be built with native code support from ocaml"
70 - eerror "You first need to have a native code ocaml compiler."
71 - eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
72 - die "Please install ocaml with ocamlopt useflag"
73 - fi
74 -}
75 +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
76
77 -src_unpack() {
78 - unpack ${A}
79 - cd "${S}"
80 +src_prepare() {
81 epatch "${FILESDIR}/tests.patch"
82 epatch "${FILESDIR}/includes.patch"
83 }
84 @@ -54,5 +45,5 @@
85 emake BINDIR="${D}/usr/bin" OCAMLLIB="${D}${libdir}" install || die
86
87 # Documentation
88 - dodoc README Changes
89 + dodoc README Changes || die
90 }