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/facile: facile-1.1.ebuild ChangeLog
Date: Mon, 28 Sep 2009 16:31:56
Message-Id: E1MsJ8i-0000Z6-M2@stork.gentoo.org
1 betelgeuse 09/09/28 16:31:52
2
3 Modified: facile-1.1.ebuild ChangeLog
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.16 dev-ml/facile/facile-1.1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/facile/facile-1.1.ebuild?rev=1.16&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/facile/facile-1.1.ebuild?rev=1.16&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/facile/facile-1.1.ebuild?r1=1.15&r2=1.16
14
15 Index: facile-1.1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ml/facile/facile-1.1.ebuild,v
18 retrieving revision 1.15
19 retrieving revision 1.16
20 diff -u -r1.15 -r1.16
21 --- facile-1.1.ebuild 21 Jan 2009 23:27:52 -0000 1.15
22 +++ facile-1.1.ebuild 28 Sep 2009 16:31:52 -0000 1.16
23 @@ -1,10 +1,10 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/facile/facile-1.1.ebuild,v 1.15 2009/01/21 23:27:52 aballier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/facile/facile-1.1.ebuild,v 1.16 2009/09/28 16:31:52 betelgeuse Exp $
28
29 -inherit eutils
30 +EAPI="2"
31
32 -EAPI="1"
33 +inherit eutils
34
35 DESCRIPTION="FaCiLe is a constraint programming library on integer and integer set finite domains written in OCaml."
36 HOMEPAGE="http://www.recherche.enac.fr/log/facile/"
37 @@ -17,23 +17,11 @@
38 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
39 IUSE="+ocamlopt"
40
41 -RDEPEND=">=dev-lang/ocaml-3.09.3-r1"
42 +RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
43 DEPEND="${RDEPEND}
44 sys-apps/sed"
45
46 -pkg_setup() {
47 - if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
48 - eerror "In order to build ${PN} with native code support from ocaml"
49 - eerror "You first need to have a native code ocaml compiler."
50 - eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
51 - die "Please install ocaml with ocamlopt useflag"
52 - fi
53 -}
54 -
55 -src_unpack() {
56 - unpack ${A}
57 - cd "${S}"
58 -
59 +src_prepare() {
60 # Fix building on FreeBSD
61 epatch "${FILESDIR}/${P}"-make.patch
62 # Disable building native code objects if we dont have/want ocamlopt
63 @@ -48,10 +36,9 @@
64 fi
65 }
66
67 -src_compile(){
68 +src_configure(){
69 # This is a custom configure script and it does not support standard options
70 ./configure --faciledir "${D}"$(ocamlc -where)/facile/
71 - emake || die "Compilation failed"
72 }
73
74 src_test() {
75
76
77
78 1.16 dev-ml/facile/ChangeLog
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/facile/ChangeLog?rev=1.16&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/facile/ChangeLog?rev=1.16&content-type=text/plain
82 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/facile/ChangeLog?r1=1.15&r2=1.16
83
84 Index: ChangeLog
85 ===================================================================
86 RCS file: /var/cvsroot/gentoo-x86/dev-ml/facile/ChangeLog,v
87 retrieving revision 1.15
88 retrieving revision 1.16
89 diff -u -r1.15 -r1.16
90 --- ChangeLog 21 Jan 2009 23:27:52 -0000 1.15
91 +++ ChangeLog 28 Sep 2009 16:31:52 -0000 1.16
92 @@ -1,6 +1,9 @@
93 # ChangeLog for dev-ml/facile
94 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
95 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/facile/ChangeLog,v 1.15 2009/01/21 23:27:52 aballier Exp $
96 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/facile/ChangeLog,v 1.16 2009/09/28 16:31:52 betelgeuse Exp $
97 +
98 + 28 Sep 2009; Petteri Räty <betelgeuse@g.o> facile-1.1.ebuild:
99 + Migrate to EAPI 2 in order to nuke built_with_use.
100
101 21 Jan 2009; Alexis Ballier <aballier@g.o> facile-1.1.ebuild:
102 keyword ~x86-fbsd