summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-05 21:18:04 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-05 21:18:04 +0000
commit85e8bf983f22cae8d08492f7079d860853bb5d7b (patch)
treeaf4d0321283af3f0f193bde17840b93879032823 /dev-java/lucene
parentAdded helper method to ensure that when FEATURE=test, then USE=test as well, ... (diff)
downloadgentoo-2-85e8bf983f22cae8d08492f7079d860853bb5d7b.tar.gz
gentoo-2-85e8bf983f22cae8d08492f7079d860853bb5d7b.tar.bz2
gentoo-2-85e8bf983f22cae8d08492f7079d860853bb5d7b.zip
Fixed tests running with java-strict. Also calls ensure-test to make sure test dependencies get pulled in via USE=test.
(Portage version: 2.1.1_pre4-r2)
Diffstat (limited to 'dev-java/lucene')
-rw-r--r--dev-java/lucene/ChangeLog6
-rw-r--r--dev-java/lucene/lucene-1.4.3-r2.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog
index e9fd3fb1ee4c..18960017bc6e 100644
--- a/dev-java/lucene/ChangeLog
+++ b/dev-java/lucene/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/lucene
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.18 2006/07/22 20:49:46 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.19 2006/08/05 21:18:04 nichoj Exp $
+
+ 05 Aug 2006; Joshua Nichols <nichoj@gentoo.org> lucene-1.4.3-r2.ebuild:
+ Fixed tests running with java-strict. Also calls ensure-test to make sure
+ test dependencies get pulled in via USE=test.
22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> lucene-1.4.3-r2.ebuild:
ant_src_unpack -> src_unpack
diff --git a/dev-java/lucene/lucene-1.4.3-r2.ebuild b/dev-java/lucene/lucene-1.4.3-r2.ebuild
index d8d13c96f9ae..e5c038d7fabe 100644
--- a/dev-java/lucene/lucene-1.4.3-r2.ebuild
+++ b/dev-java/lucene/lucene-1.4.3-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.4.3-r2.ebuild,v 1.2 2006/07/22 20:49:46 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.4.3-r2.ebuild,v 1.3 2006/08/05 21:18:04 nichoj Exp $
inherit java-pkg-2 java-ant-2
@@ -16,6 +16,11 @@ DEPEND=">=virtual/jdk-1.2
test? ( dev-java/junit )"
RDEPEND=">=virtual/jdk-1.2"
+pkg_setup() {
+ java-pkg_ensure-test
+ java-pkg-2_pkg_setup
+}
+
src_unpack() {
unpack ${A}
cd ${S}/lib