summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-03-10 21:48:41 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-03-10 21:48:41 +0000
commit3c800fb5c5f2fa54b636b29eec9d6f3fd89b2ce9 (patch)
tree08b45853272eccf628c666c5bb4bd0efccd8a586 /dev-java
parentRemove old (diff)
downloadgentoo-2-3c800fb5c5f2fa54b636b29eec9d6f3fd89b2ce9.tar.gz
gentoo-2-3c800fb5c5f2fa54b636b29eec9d6f3fd89b2ce9.tar.bz2
gentoo-2-3c800fb5c5f2fa54b636b29eec9d6f3fd89b2ce9.zip
RESTRICT test because they fail.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jaxme/jaxme-0.3.1-r4.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-java/jaxme/jaxme-0.3.1-r4.ebuild b/dev-java/jaxme/jaxme-0.3.1-r4.ebuild
index 9136ded51b3d..642fd4a1a346 100644
--- a/dev-java/jaxme/jaxme-0.3.1-r4.ebuild
+++ b/dev-java/jaxme/jaxme-0.3.1-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/jaxme-0.3.1-r4.ebuild,v 1.3 2008/01/10 09:51:13 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/jaxme-0.3.1-r4.ebuild,v 1.4 2008/03/10 21:48:41 betelgeuse Exp $
JAVA_PKG_IUSE="doc source"
@@ -27,6 +27,7 @@ COMMON_DEP="
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
# FIXME doesn't like to compile with Java 1.6
+# test? ( dev-java/ant-junit )
DEPEND="|| (
=virtual/jdk-1.5*
=virtual/jdk-1.4*
@@ -38,6 +39,9 @@ S="${WORKDIR}/${MY_P}"
# We do it later
JAVA_PKG_BSFIX="off"
+# They fail atm. Our version is outdated so let's see how new versions do
+RESTRICT="test"
+
src_unpack() {
unpack ${A}
@@ -48,8 +52,9 @@ src_unpack() {
epatch "${FILESDIR}/${P}-base64.diff"
java-pkg_filter-compiler jikes
+ rm -v src/documentation/lib/*.jar || die
cd "${S}/prerequisites"
- rm *.jar
+ rm -v *.jar || die
java-pkg_jarfrom junit
java-pkg_jarfrom log4j log4j.jar log4j-1.2.8.jar
java-pkg_jarfrom gnu-crypto gnu-crypto.jar
@@ -69,9 +74,8 @@ src_unpack() {
done
}
-src_compile() {
- eant $(use_doc -Dbuild.apidocs=dist/doc/api javadoc) jar
-}
+EANT_EXTRA_ARGS="-Dbuild.apidocs=dist/doc/api"
+EANT_TEST_ANT_TASKS="hsqldb"
src_install() {
java-pkg_dojar dist/*.jar