summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-02 21:57:23 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-02 21:57:23 +0000
commit586997037a11f6f2b5ab47633806b2146d42dedc (patch)
tree4059ecf790fbd3124f87fc52c28f2461e3b2656b /dev-java/spice-jndikit
parentx86 stable wrt security bug 173070 (diff)
downloadgentoo-2-586997037a11f6f2b5ab47633806b2146d42dedc.tar.gz
gentoo-2-586997037a11f6f2b5ab47633806b2146d42dedc.tar.bz2
gentoo-2-586997037a11f6f2b5ab47633806b2146d42dedc.zip
Migrate to splitted ant.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java/spice-jndikit')
-rw-r--r--dev-java/spice-jndikit/ChangeLog6
-rw-r--r--dev-java/spice-jndikit/spice-jndikit-1.2.ebuild13
2 files changed, 10 insertions, 9 deletions
diff --git a/dev-java/spice-jndikit/ChangeLog b/dev-java/spice-jndikit/ChangeLog
index 5f0423a60802..e7b0a101fe9d 100644
--- a/dev-java/spice-jndikit/ChangeLog
+++ b/dev-java/spice-jndikit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/spice-jndikit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/ChangeLog,v 1.1 2007/01/12 21:35:20 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/ChangeLog,v 1.2 2007/04/02 21:57:23 betelgeuse Exp $
+
+ 02 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
+ spice-jndikit-1.2.ebuild:
+ Migrate to splitted ant.
*spice-jndikit-1.2 (12 Jan 2007)
diff --git a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
index e212ec3aa93a..faee926a7278 100644
--- a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
+++ b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild,v 1.1 2007/01/12 21:35:20 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild,v 1.2 2007/04/02 21:57:23 betelgeuse Exp $
+
+JAVA_PKG_IUSE=="doc source test"
inherit java-pkg-2 java-ant-2
@@ -11,16 +13,11 @@ LICENSE="Spice-1.1"
SLOT="0"
KEYWORDS="~x86"
-IUSE="doc source test"
-
RDEPEND=">=virtual/jre-1.4"
DEPEND="
- >=dev-java/java-config-2.0.31
!doc? ( >=virtual/jdk-1.4 )
doc? ( || ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) )
- dev-java/ant-core
- source? ( app-arch/zip )
- test? ( dev-java/junit dev-java/ant-tasks )"
+ test? ( || ( dev-java/ant-junit dev-java/ant-tasks ) )"
src_unpack() {
unpack ${A}
@@ -38,7 +35,7 @@ src_compile() {
src_test() {
einfo "Tests need a network connection so they will fail without it"
- eant test -DJunit.present=true \
+ ANT_TASKS="ant-junit" eant test -DJunit.present=true \
-Dgentoo.classpath="$(java-pkg_getjars --build-only junit)"
}