1 |
betelgeuse 09/09/28 16:51:57 |
2 |
|
3 |
Modified: ChangeLog ocamlgraph-0.99b.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.12 dev-ml/ocamlgraph/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocamlgraph/ChangeLog?rev=1.12&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocamlgraph/ChangeLog?rev=1.12&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocamlgraph/ChangeLog?r1=1.11&r2=1.12 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ChangeLog,v |
18 |
retrieving revision 1.11 |
19 |
retrieving revision 1.12 |
20 |
diff -u -r1.11 -r1.12 |
21 |
--- ChangeLog 6 Apr 2008 19:42:21 -0000 1.11 |
22 |
+++ ChangeLog 28 Sep 2009 16:51:57 -0000 1.12 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-ml/ocamlgraph |
25 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ChangeLog,v 1.11 2008/04/06 19:42:21 aballier Exp $ |
27 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ChangeLog,v 1.12 2009/09/28 16:51:57 betelgeuse Exp $ |
29 |
+ |
30 |
+ 28 Sep 2009; Petteri Räty <betelgeuse@g.o> |
31 |
+ ocamlgraph-0.99b.ebuild: |
32 |
+ Migrate to EAPI 2 in order to nuke built_with_use. |
33 |
|
34 |
06 Apr 2008; Alexis Ballier <aballier@g.o> -ocamlgraph-0.81.ebuild: |
35 |
remove old |
36 |
|
37 |
|
38 |
|
39 |
1.5 dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild?rev=1.5&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild?rev=1.5&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild?r1=1.4&r2=1.5 |
44 |
|
45 |
Index: ocamlgraph-0.99b.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild,v |
48 |
retrieving revision 1.4 |
49 |
retrieving revision 1.5 |
50 |
diff -u -r1.4 -r1.5 |
51 |
--- ocamlgraph-0.99b.ebuild 6 Apr 2008 19:33:03 -0000 1.4 |
52 |
+++ ocamlgraph-0.99b.ebuild 28 Sep 2009 16:51:57 -0000 1.5 |
53 |
@@ -1,10 +1,10 @@ |
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/ocamlgraph/ocamlgraph-0.99b.ebuild,v 1.4 2008/04/06 19:33:03 maekke Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-0.99b.ebuild,v 1.5 2009/09/28 16:51:57 betelgeuse Exp $ |
59 |
|
60 |
-inherit findlib eutils |
61 |
+EAPI="2" |
62 |
|
63 |
-EAPI="1" |
64 |
+inherit findlib eutils |
65 |
|
66 |
DESCRIPTION="O'Caml Graph library" |
67 |
HOMEPAGE="http://www.lri.fr/~filliatr/ocamlgraph/" |
68 |
@@ -12,33 +12,16 @@ |
69 |
LICENSE="LGPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ppc x86" |
72 |
-DEPEND=">=dev-lang/ocaml-3.08 |
73 |
+DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?] |
74 |
doc? ( dev-tex/hevea dev-ml/ocamlweb ) |
75 |
- gtk? ( dev-ml/lablgtk )" |
76 |
+ gtk? ( dev-ml/lablgtk[gnomecanvas,ocamlopt?] )" |
77 |
IUSE="doc examples gtk +ocamlopt" |
78 |
|
79 |
-ocamlgraph_need_use() { |
80 |
- if ! built_with_use --missing true $1 $2; then |
81 |
- eerror "In order to build ${PN} with your useflags you first need to build $1 with $2 useflag" |
82 |
- die "Please install $1 with $2 useflag" |
83 |
- fi |
84 |
-} |
85 |
- |
86 |
-pkg_setup() { |
87 |
- use ocamlopt && ocamlgraph_need_use 'dev-lang/ocaml' ocamlopt |
88 |
- use gtk && ocamlgraph_need_use 'dev-ml/lablgtk' gnomecanvas |
89 |
- use ocamlopt && use gtk && ocamlgraph_need_use 'dev-ml/lablgtk' ocamlopt |
90 |
-} |
91 |
- |
92 |
-src_unpack() { |
93 |
- unpack ${A} |
94 |
- cd "${S}" |
95 |
- |
96 |
+src_prepare() { |
97 |
epatch "${FILESDIR}/${P}-installfindlib.patch" |
98 |
} |
99 |
|
100 |
src_compile() { |
101 |
- econf |
102 |
emake -j1 || die "failed to build" |
103 |
|
104 |
if use doc; then |
105 |
@@ -60,7 +43,7 @@ |
106 |
newbin editor/editor.byte ocamlgraph_editor || die "failed to install ocamlgraph_editor" |
107 |
fi |
108 |
fi |
109 |
- dodoc README CREDITS FAQ CHANGES |
110 |
+ dodoc README CREDITS FAQ CHANGES || die |
111 |
if use doc; then |
112 |
dohtml doc/* |
113 |
fi |