summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-03-09 20:29:22 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-03-09 20:29:22 +0000
commite4d3c70e47c9cc87387fe2e00e84b6da76046a29 (patch)
tree4cc79b4cec2a81fb31ab8ec44e19774daddacfdc /dev-java/xom
parentremove unused version (diff)
downloadgentoo-2-e4d3c70e47c9cc87387fe2e00e84b6da76046a29.tar.gz
gentoo-2-e4d3c70e47c9cc87387fe2e00e84b6da76046a29.tar.bz2
gentoo-2-e4d3c70e47c9cc87387fe2e00e84b6da76046a29.zip
RESTRICT test because they need network access to pass.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/xom')
-rw-r--r--dev-java/xom/ChangeLog5
-rw-r--r--dev-java/xom/xom-1.0-r6.ebuild10
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-java/xom/ChangeLog b/dev-java/xom/ChangeLog
index 1ffa3aa4071b..e092daf887b9 100644
--- a/dev-java/xom/ChangeLog
+++ b/dev-java/xom/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/xom
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/ChangeLog,v 1.45 2008/03/08 20:05:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/ChangeLog,v 1.46 2008/03/09 20:29:22 betelgeuse Exp $
+
+ 09 Mar 2008; Petteri Räty <betelgeuse@gentoo.org> xom-1.0-r6.ebuild:
+ RESTRICT test because they need network access to pass.
08 Mar 2008; Markus Meier <maekke@gentoo.org> xom-1.0-r6.ebuild:
x86 stable, bug #212665
diff --git a/dev-java/xom/xom-1.0-r6.ebuild b/dev-java/xom/xom-1.0-r6.ebuild
index ee7c00b64ab2..a7ead4eb5f91 100644
--- a/dev-java/xom/xom-1.0-r6.ebuild
+++ b/dev-java/xom/xom-1.0-r6.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/xom/xom-1.0-r6.ebuild,v 1.3 2008/03/08 20:05:08 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/xom-1.0-r6.ebuild,v 1.4 2008/03/09 20:29:22 betelgeuse Exp $
JAVA_PKG_IUSE="doc examples source"
EAPI=1
@@ -29,6 +29,10 @@ DEPEND=">=virtual/jdk-1.4
S=${WORKDIR}/XOM
+# Test require network access to pass
+# They need a redirected http document on public web
+RESTRICT="test"
+
src_unpack() {
unpack ${A}
cd "${S}"
@@ -44,13 +48,15 @@ src_unpack() {
}
src_compile() {
- ant_flags="-Ddebug=off"
+ local ant_flags="-Ddebug=off"
use examples && ant_flags="${ant_flags} -Dservlet.jar=$(java-pkg_getjar servletapi-2.4 servlet-api.jar)"
eant jar ${ant_flags}\
$(use examples && echo samples)
}
+EANT_TEST_ANT_TASKS="ant-trax"
+
src_install() {
java-pkg_newjar build/${XOMVER}.jar ${PN}.jar
use examples && java-pkg_dojar build/xom-samples.jar