diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-03-05 19:34:55 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-03-05 19:34:55 +0000 |
commit | 2db9f9d5a94c3d89c39e90145a1f343cd995fd50 (patch) | |
tree | f0a4f708addddf64c5a20e0796b868e733c98287 /dev-java/commons-beanutils/commons-beanutils-1.7.0-r3.ebuild | |
parent | newer 0.21 beta ebuild (diff) | |
download | gentoo-2-2db9f9d5a94c3d89c39e90145a1f343cd995fd50.tar.gz gentoo-2-2db9f9d5a94c3d89c39e90145a1f343cd995fd50.tar.bz2 gentoo-2-2db9f9d5a94c3d89c39e90145a1f343cd995fd50.zip |
Prepare ebuild for upcoming generic src_test.
(Portage version: 2.1.4.4)
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.ebuild | 10 |
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" |