summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild')
-rw-r--r--dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild b/dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild
index 14768e97177c..e1c92d438c83 100644
--- a/dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild
+++ b/dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild,v 1.1 2008/02/13 18:07:26 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild,v 1.2 2008/03/05 19:34:55 betelgeuse Exp $
-JAVA_PKG_IUSE="doc source"
+EAPI=1
+JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
@@ -20,7 +21,8 @@ COMMON_DEP="
>=dev-java/commons-logging-1.0.2"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.4
+DEPEND="!test? ( >=virtual/jdk-1.4 )
+ test? ( dev-java/junit:0 || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) )
${COMMON_DEP}"
S="${WORKDIR}/${P}-src"
@@ -29,7 +31,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
rm -vr src/java/org/apache/commons/collections/ || die
- java-ant_rewrite-classpath
+ JAVA_ANT_CLASSPATH_TAGS="javac java" java-ant_rewrite-classpath
}
EANT_GENTOO_CLASSPATH="commons-logging,commons-collections"