betelgeuse 08/09/27 11:48:47
Modified: ant-apache-bsf-1.7.1.ebuild ChangeLog
Log:
Use EAPI 2 use dependencies instead of built_with_use warnings.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Revision Changes Path
1.2 dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild
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
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
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
Index: ant-apache-bsf-1.7.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.7.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ant-apache-bsf-1.7.1.ebuild 14 Jul 2008 22:06:45 -0000 1.1
+++ ant-apache-bsf-1.7.1.ebuild 27 Sep 2008 11:48:47 -0000 1.2
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $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 $
-EAPI=1
+EAPI=2
ANT_TASK_DEPNAME="bsf-2.3"
@@ -12,10 +12,12 @@
# ant-nodeps contains <script> task which is needed for this
# although it's not a build dep through import
-DEPEND=">=dev-java/bsf-2.4.0-r1:2.3"
+DEPEND=">=dev-java/bsf-2.4.0-r1:2.3[python?,javascript?,tcl?]"
RDEPEND="${DEPEND}
~dev-java/ant-nodeps-${PV}"
+IUSE="python javascript tcl"
+
JAVA_PKG_FILTER_COMPILER="jikes"
src_install() {
@@ -23,17 +25,7 @@
java-pkg_register-dependency ant-nodeps
}
-built_with_use_warn() {
- if ! built_with_use --missing false -o dev-java/bsf ${1}; then
- elog "If you want to use ${2} in <script> tasks in build.xml files,"
- elog "dev-java/bsf must be installed with \"${3-${1}}\" USE flag"
- fi
-}
-
pkg_postinst() {
- built_with_use_warn python Python
- built_with_use_warn javascript JavaScript
- built_with_use_warn tcl TCL
elog "Also, >=dev-java/bsf-2.4.0-r1 adds optional support for groovy,"
elog "ruby and beanshell. See its postinst elog messages for instructions."
}
1.15 dev-java/ant-apache-bsf/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog?r1=1.14&r2=1.15
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ChangeLog 14 Jul 2008 22:06:45 -0000 1.14
+++ ChangeLog 27 Sep 2008 11:48:47 -0000 1.15
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/ant-apache-bsf
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog,v 1.14 2008/07/14 22:06:45 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ChangeLog,v 1.15 2008/09/27 11:48:47 betelgeuse Exp $
+
+ 27 Sep 2008; Petteri Räty <betelgeuse@g.o>
+ ant-apache-bsf-1.7.1.ebuild:
+ Use EAPI 2 use dependencies instead of built_with_use warnings.
*ant-apache-bsf-1.7.1 (14 Jul 2008)
|