1 |
betelgeuse 09/09/28 16:53:51 |
2 |
|
3 |
Modified: ChangeLog ocaml-expat-0.9.1.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/ocaml-expat/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-expat/ChangeLog?rev=1.5&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-expat/ChangeLog?rev=1.5&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-expat/ChangeLog?r1=1.4&r2=1.5 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expat/ChangeLog,v |
18 |
retrieving revision 1.4 |
19 |
retrieving revision 1.5 |
20 |
diff -u -r1.4 -r1.5 |
21 |
--- ChangeLog 13 Jul 2008 06:56:01 -0000 1.4 |
22 |
+++ ChangeLog 28 Sep 2009 16:53:50 -0000 1.5 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-ml/ocaml-expat |
25 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expat/ChangeLog,v 1.4 2008/07/13 06:56:01 josejx Exp $ |
27 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expat/ChangeLog,v 1.5 2009/09/28 16:53:50 betelgeuse Exp $ |
29 |
+ |
30 |
+ 28 Sep 2009; Petteri Räty <betelgeuse@g.o> |
31 |
+ ocaml-expat-0.9.1.ebuild: |
32 |
+ Migrate to EAPI 2 in order to nuke built_with_use. |
33 |
|
34 |
13 Jul 2008; Joseph Jezak <josejx@g.o> ocaml-expat-0.9.1.ebuild: |
35 |
Marked ~ppc for bug #197363. |
36 |
|
37 |
|
38 |
|
39 |
1.5 dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild?rev=1.5&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild?rev=1.5&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild?r1=1.4&r2=1.5 |
44 |
|
45 |
Index: ocaml-expat-0.9.1.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild,v |
48 |
retrieving revision 1.4 |
49 |
retrieving revision 1.5 |
50 |
diff -u -r1.4 -r1.5 |
51 |
--- ocaml-expat-0.9.1.ebuild 13 Jul 2008 06:56:01 -0000 1.4 |
52 |
+++ ocaml-expat-0.9.1.ebuild 28 Sep 2009 16:53:50 -0000 1.5 |
53 |
@@ -1,8 +1,8 @@ |
54 |
-# Copyright 1999-2008 Gentoo Foundation |
55 |
+# Copyright 1999-2009 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild,v 1.4 2008/07/13 06:56:01 josejx Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocaml-expat/ocaml-expat-0.9.1.ebuild,v 1.5 2009/09/28 16:53:50 betelgeuse Exp $ |
59 |
|
60 |
-EAPI="1" |
61 |
+EAPI="2" |
62 |
|
63 |
inherit findlib eutils |
64 |
|
65 |
@@ -12,7 +12,8 @@ |
66 |
SRC_URI="http://www.xs4all.nl/~mmzeeman/ocaml/${P}.tar.gz" |
67 |
HOMEPAGE="http://www.xs4all.nl/~mmzeeman/ocaml/" |
68 |
|
69 |
-RDEPEND="dev-libs/expat" |
70 |
+RDEPEND="dev-libs/expat |
71 |
+ >=dev-lang/ocaml-3.10.2[ocamlopt?]" |
72 |
|
73 |
DEPEND="${RDEPEND} |
74 |
test? ( dev-ml/ounit )" |
75 |
@@ -21,18 +22,7 @@ |
76 |
LICENSE="MIT" |
77 |
KEYWORDS="~amd64 ~ppc ~x86" |
78 |
|
79 |
-pkg_setup() { |
80 |
- if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then |
81 |
- eerror "In order to build ${PN} with native code support from ocaml" |
82 |
- eerror "You first need to have a native code ocaml compiler." |
83 |
- eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." |
84 |
- die "Please install ocaml with ocamlopt useflag" |
85 |
- fi |
86 |
-} |
87 |
- |
88 |
-src_unpack(){ |
89 |
- unpack ${A} |
90 |
- cd "${S}" |
91 |
+src_prepare(){ |
92 |
epatch "${FILESDIR}/${P}-test.patch" |
93 |
} |
94 |
|
95 |
@@ -57,5 +47,5 @@ |
96 |
if use doc ; then |
97 |
dohtml -r doc/html/* |
98 |
fi |
99 |
- dodoc README |
100 |
+ dodoc README || die |
101 |
} |