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/extlib: ChangeLog extlib-1.5.1.ebuild
Date: Mon, 28 Sep 2009 16:33:59
Message-Id: E1MsJAj-0000ft-3v@stork.gentoo.org
1 betelgeuse 09/09/28 16:33:57
2
3 Modified: ChangeLog extlib-1.5.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.10 dev-ml/extlib/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/extlib/ChangeLog?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/extlib/ChangeLog?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/extlib/ChangeLog?r1=1.9&r2=1.10
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ml/extlib/ChangeLog,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- ChangeLog 20 Apr 2008 14:20:27 -0000 1.9
22 +++ ChangeLog 28 Sep 2009 16:33:56 -0000 1.10
23 @@ -1,6 +1,9 @@
24 # ChangeLog for dev-ml/extlib
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/ChangeLog,v 1.9 2008/04/20 14:20:27 aballier Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/ChangeLog,v 1.10 2009/09/28 16:33:56 betelgeuse Exp $
29 +
30 + 28 Sep 2009; Petteri R├Ąty <betelgeuse@g.o> extlib-1.5.1.ebuild:
31 + Migrate to EAPI 2 in order to nuke built_with_use.
32
33 20 Apr 2008; Alexis Ballier <aballier@g.o>
34 -files/extlib-1.5-ExtList.remove.patch, -extlib-1.4.ebuild,
35 @@ -28,7 +31,7 @@
36 21 Sep 2005; Matthieu Sozeau <mattam@g.o> :
37 Version bump (fixes #87864).
38
39 -*extlib-1.3 (06 Feb 2005)
40 +*extlib-1.4 (06 Feb 2005)
41
42 06 Feb 2005; Matthieu Sozeau <mattam@g.o> -extlib-1.2.ebuild,
43 +extlib-1.4.ebuild:
44
45
46
47 1.5 dev-ml/extlib/extlib-1.5.1.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/extlib/extlib-1.5.1.ebuild?rev=1.5&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/extlib/extlib-1.5.1.ebuild?rev=1.5&content-type=text/plain
51 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/extlib/extlib-1.5.1.ebuild?r1=1.4&r2=1.5
52
53 Index: extlib-1.5.1.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.5.1.ebuild,v
56 retrieving revision 1.4
57 retrieving revision 1.5
58 diff -u -r1.4 -r1.5
59 --- extlib-1.5.1.ebuild 20 Apr 2008 14:09:02 -0000 1.4
60 +++ extlib-1.5.1.ebuild 28 Sep 2009 16:33:56 -0000 1.5
61 @@ -1,29 +1,20 @@
62 -# Copyright 1999-2008 Gentoo Foundation
63 +# Copyright 1999-2009 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.5.1.ebuild,v 1.4 2008/04/20 14:09:02 maekke Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.5.1.ebuild,v 1.5 2009/09/28 16:33:56 betelgeuse Exp $
67
68 -inherit findlib eutils
69 +EAPI="2"
70
71 -EAPI="1"
72 +inherit findlib eutils
73
74 DESCRIPTION="Standard library extensions for O'Caml"
75 HOMEPAGE="http://code.google.com/p/ocaml-extlib/"
76 SRC_URI="http://ocaml-extlib.googlecode.com/files/${P}.tar.gz"
77 LICENSE="LGPL-2.1"
78 -DEPEND=">=dev-lang/ocaml-3.07"
79 +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
80 SLOT="0"
81 KEYWORDS="amd64 ppc x86"
82 IUSE="doc +ocamlopt"
83
84 -pkg_setup() {
85 - if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
86 - eerror "In order to build ${PN} with native code support from ocaml"
87 - eerror "You first need to have a native code ocaml compiler."
88 - eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
89 - die "Please install ocaml with ocamlopt useflag"
90 - fi
91 -}
92 -
93 src_compile() {
94 emake all || die "failed to build"
95 if use ocamlopt; then
96 @@ -39,9 +30,9 @@
97 findlib_src_install
98
99 # install documentation
100 - dodoc README.txt
101 + dodoc README.txt || die
102
103 if use doc; then
104 - dohtml doc/*
105 + dohtml doc/* || die
106 fi
107 }