summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-03-22 22:53:18 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-03-22 22:53:18 +0000
commit64977b1d159d7f7ee0d5edf6ab87a43860290558 (patch)
tree0ce66b502e4ec5a358baf1b5cfe181d2ea14c436 /dev-java/classworlds
parentMarking xfce4-notes-1.6.1 ppc64 for bug 214130 (diff)
downloadgentoo-2-64977b1d159d7f7ee0d5edf6ab87a43860290558.tar.gz
gentoo-2-64977b1d159d7f7ee0d5edf6ab87a43860290558.tar.bz2
gentoo-2-64977b1d159d7f7ee0d5edf6ab87a43860290558.zip
RESTRICT test for upcoming generic src_test as they fail.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/classworlds')
-rw-r--r--dev-java/classworlds/ChangeLog8
-rw-r--r--dev-java/classworlds/classworlds-1.0-r3.ebuild29
2 files changed, 20 insertions, 17 deletions
diff --git a/dev-java/classworlds/ChangeLog b/dev-java/classworlds/ChangeLog
index 3d67fdc3afc9..ea74d79f6335 100644
--- a/dev-java/classworlds/ChangeLog
+++ b/dev-java/classworlds/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/classworlds
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/ChangeLog,v 1.16 2007/01/09 17:17:04 nelchael Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/ChangeLog,v 1.17 2008/03/22 22:53:18 betelgeuse Exp $
+
+ 22 Mar 2008; Petteri Räty <betelgeuse@gentoo.org>
+ classworlds-1.0-r3.ebuild:
+ RESTRICT test for upcoming generic src_test as they fail.
*classworlds-1.0-r3 (09 Jan 2007)
diff --git a/dev-java/classworlds/classworlds-1.0-r3.ebuild b/dev-java/classworlds/classworlds-1.0-r3.ebuild
index 9c9b41b99d8b..f14d3c2acb79 100644
--- a/dev-java/classworlds/classworlds-1.0-r3.ebuild
+++ b/dev-java/classworlds/classworlds-1.0-r3.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/classworlds-1.0-r3.ebuild,v 1.1 2007/01/09 17:17:04 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/classworlds-1.0-r3.ebuild,v 1.2 2008/03/22 22:53:18 betelgeuse Exp $
+
+EAPI=1
inherit java-pkg-2 java-ant-2
@@ -13,29 +15,26 @@ KEYWORDS="amd64 ~ppc x86"
IUSE="doc"
RDEPEND=">=virtual/jre-1.4
- >=dev-java/xerces-2.7"
+ dev-java/xerces:2"
DEPEND=">=virtual/jdk-1.4
- ${RDEPEND}
- >=dev-java/ant-core-1.6"
+ ${RDEPEND}"
+
+# They fail
+RESTRICT="test"
src_unpack() {
unpack ${A}
- cp ${FILESDIR}/build-${PV}.xml ${S}/build.xml
- mkdir -p ${S}/target/lib
+ cp "${FILESDIR}/build-${PV}.xml" "${S}/build.xml" || die
+ mkdir -p "${S}/target/lib"
- cd ${S}/target/lib
+ cd "${S}/target/lib"
- # karltk: remove the fake versioning here.
java-pkg_jar-from xerces-2
}
-src_compile() {
- local antflags="jar"
- use doc && antflags="${antflags} javadoc"
- eant ${antflags}
-}
+EANT_TEST_JUNIT_INTO="target/lib"
src_install() {
java-pkg_newjar target/${P}.jar ${PN}.jar
- use doc && java-pkg_dohtml -r dist/docs/api
+ use doc && java-pkg_dojavadoc dist/docs/api
}