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/ANSITerminal: ChangeLog ANSITerminal-0.3.ebuild
Date: Mon, 28 Sep 2009 16:21:39
Message-Id: E1MsIyn-0000Ah-Lw@stork.gentoo.org
1 betelgeuse 09/09/28 16:21:37
2
3 Modified: ChangeLog ANSITerminal-0.3.ebuild
4 Log:
5 Migrate to EAPI 2 in order to nuke built_with_use and add ~x86 keyword.
6 (Portage version: 2.2_rc40/cvs/Linux i686)
7
8 Revision Changes Path
9 1.2 dev-ml/ANSITerminal/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ANSITerminal/ChangeLog?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ANSITerminal/ChangeLog?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ANSITerminal/ChangeLog?r1=1.1&r2=1.2
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ChangeLog,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- ChangeLog 27 Jan 2008 17:52:38 -0000 1.1
22 +++ ChangeLog 28 Sep 2009 16:21:37 -0000 1.2
23 @@ -1,6 +1,10 @@
24 # ChangeLog for dev-ml/ANSITerminal
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ChangeLog,v 1.1 2008/01/27 17:52:38 aballier Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ChangeLog,v 1.2 2009/09/28 16:21:37 betelgeuse Exp $
29 +
30 + 28 Sep 2009; Petteri R├Ąty <betelgeuse@g.o>
31 + ANSITerminal-0.3.ebuild:
32 + Migrate to EAPI 2 in order to nuke built_with_use and add ~x86 keyword.
33
34 *ANSITerminal-0.3 (27 Jan 2008)
35
36
37
38
39 1.2 dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild?r1=1.1&r2=1.2
44
45 Index: ANSITerminal-0.3.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- ANSITerminal-0.3.ebuild 27 Jan 2008 17:52:38 -0000 1.1
52 +++ ANSITerminal-0.3.ebuild 28 Sep 2009 16:21:37 -0000 1.2
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/ANSITerminal/ANSITerminal-0.3.ebuild,v 1.1 2008/01/27 17:52:38 aballier Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ANSITerminal/ANSITerminal-0.3.ebuild,v 1.2 2009/09/28 16:21:37 betelgeuse Exp $
59
60 -EAPI=1
61 +EAPI="2"
62
63 inherit findlib eutils
64
65 @@ -11,19 +11,10 @@
66 SRC_URI="ftp://ftp.umh.ac.be/pub/ftp_san/${P}.tar.bz2"
67 LICENSE="LGPL-2.1"
68 SLOT="0"
69 -KEYWORDS="~amd64"
70 -DEPEND="dev-lang/ocaml"
71 +KEYWORDS="~amd64 ~x86"
72 +DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
73 IUSE="doc +ocamlopt"
74
75 -pkg_setup() {
76 - if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
77 - eerror "In order to build ${PN} with native code support from ocaml"
78 - eerror "You first need to have a native code ocaml compiler."
79 - eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
80 - die "Please install ocaml with ocamlopt useflag"
81 - fi
82 -}
83 -
84 src_compile() {
85 emake byte || die "Failed to compile bytecode"
86 if use ocamlopt; then
87 @@ -38,6 +29,6 @@
88
89 src_install() {
90 findlib_src_install
91 - dodoc README
92 + dodoc README || die
93 use doc && dohtml ANSITerminal.html/*
94 }