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-java/ant-apache-bsf: ant-apache-bsf-1.7.1.ebuild ChangeLog
Date: Sat, 27 Sep 2008 11:49:01
Message-Id: E1KjYI3-0003O4-Uw@stork.gentoo.org
1 betelgeuse 08/09/27 11:48:47
2
3 Modified: ant-apache-bsf-1.7.1.ebuild ChangeLog
4 Log:
5 Use EAPI 2 use dependencies instead of built_with_use warnings.
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
7
8 Revision Changes Path
9 1.2 dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild?r1=1.1&r2=1.2
14
15 Index: ant-apache-bsf-1.7.1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- ant-apache-bsf-1.7.1.ebuild 14 Jul 2008 22:06:45 -0000 1.1
22 +++ ant-apache-bsf-1.7.1.ebuild 27 Sep 2008 11:48:47 -0000 1.2
23 @@ -1,8 +1,8 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild,v 1.1 2008/07/14 22:06:45 caster Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild,v 1.2 2008/09/27 11:48:47 betelgeuse Exp $
28
29 -EAPI=1
30 +EAPI=2
31
32 ANT_TASK_DEPNAME="bsf-2.3"
33
34 @@ -12,10 +12,12 @@
35
36 # ant-nodeps contains <script> task which is needed for this
37 # although it's not a build dep through import
38 -DEPEND=">=dev-java/bsf-2.4.0-r1:2.3"
39 +DEPEND=">=dev-java/bsf-2.4.0-r1:2.3[python?,javascript?,tcl?]"
40 RDEPEND="${DEPEND}
41 ~dev-java/ant-nodeps-${PV}"
42
43 +IUSE="python javascript tcl"
44 +
45 JAVA_PKG_FILTER_COMPILER="jikes"
46
47 src_install() {
48 @@ -23,17 +25,7 @@
49 java-pkg_register-dependency ant-nodeps
50 }
51
52 -built_with_use_warn() {
53 - if ! built_with_use --missing false -o dev-java/bsf ${1}; then
54 - elog "If you want to use ${2} in <script> tasks in build.xml files,"
55 - elog "dev-java/bsf must be installed with \"${3-${1}}\" USE flag"
56 - fi
57 -}
58 -
59 pkg_postinst() {
60 - built_with_use_warn python Python
61 - built_with_use_warn javascript JavaScript
62 - built_with_use_warn tcl TCL
63 elog "Also, >=dev-java/bsf-2.4.0-r1 adds optional support for groovy,"
64 elog "ruby and beanshell. See its postinst elog messages for instructions."
65 }
66
67
68
69 1.15 dev-java/ant-apache-bsf/ChangeLog
70
71 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog?rev=1.15&view=markup
72 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog?rev=1.15&content-type=text/plain
73 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog?r1=1.14&r2=1.15
74
75 Index: ChangeLog
76 ===================================================================
77 RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog,v
78 retrieving revision 1.14
79 retrieving revision 1.15
80 diff -u -r1.14 -r1.15
81 --- ChangeLog 14 Jul 2008 22:06:45 -0000 1.14
82 +++ ChangeLog 27 Sep 2008 11:48:47 -0000 1.15
83 @@ -1,6 +1,10 @@
84 # ChangeLog for dev-java/ant-apache-bsf
85 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
86 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog,v 1.14 2008/07/14 22:06:45 caster Exp $
87 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog,v 1.15 2008/09/27 11:48:47 betelgeuse Exp $
88 +
89 + 27 Sep 2008; Petteri Räty <betelgeuse@g.o>
90 + ant-apache-bsf-1.7.1.ebuild:
91 + Use EAPI 2 use dependencies instead of built_with_use warnings.
92
93 *ant-apache-bsf-1.7.1 (14 Jul 2008)