1 |
fordfrog 11/01/28 14:32:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lucene-2.9.4.ebuild |
5 |
Log: |
6 |
dev-java/lucene: version bump |
7 |
|
8 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.74 dev-java/lucene/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/lucene/ChangeLog?rev=1.74&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/lucene/ChangeLog?rev=1.74&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/lucene/ChangeLog?r1=1.73&r2=1.74 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v |
20 |
retrieving revision 1.73 |
21 |
retrieving revision 1.74 |
22 |
diff -u -r1.73 -r1.74 |
23 |
--- ChangeLog 28 Jan 2011 14:04:40 -0000 1.73 |
24 |
+++ ChangeLog 28 Jan 2011 14:32:09 -0000 1.74 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-java/lucene |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.73 2011/01/28 14:04:40 fordfrog Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.74 2011/01/28 14:32:09 fordfrog Exp $ |
30 |
+ |
31 |
+*lucene-2.9.4 (28 Jan 2011) |
32 |
+ |
33 |
+ 28 Jan 2011; Miroslav Ć ulc <fordfrog@g.o> +lucene-2.9.4.ebuild: |
34 |
+ Version bump. The new ebuild removes bundled jars and puts junit on classpath |
35 |
+ for compilation always, because javacc builds tests too. |
36 |
|
37 |
*lucene-3.0.3 (28 Jan 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/lucene/lucene-2.9.4.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/lucene/lucene-2.9.4.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/lucene/lucene-2.9.4.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: lucene-2.9.4.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.9.4.ebuild,v 1.1 2011/01/28 14:32:09 fordfrog Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
JAVA_PKG_IUSE="doc source test" |
55 |
JAVA_PKG_BSFIX_ALL="no" |
56 |
JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" |
57 |
|
58 |
inherit java-pkg-2 java-ant-2 |
59 |
|
60 |
DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" |
61 |
HOMEPAGE="http://jakarta.apache.org/lucene" |
62 |
# when doing version bump, SRC_URI of the previous version should most probably |
63 |
# be changed to java/archive/ ! |
64 |
SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" |
65 |
LICENSE="Apache-2.0" |
66 |
SLOT="2.9" |
67 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
68 |
IUSE="" |
69 |
DEPEND=">=virtual/jdk-1.4 |
70 |
dev-java/ant-nodeps:0 |
71 |
dev-java/javacc:0 |
72 |
dev-java/junit:0 |
73 |
test? ( dev-java/ant-junit )" |
74 |
# junit is needed for compilation because tests are compiled for javacc target even when not requested |
75 |
RDEPEND=">=virtual/jdk-1.4" |
76 |
|
77 |
java_prepare() { |
78 |
sed -i -e '/-Xmax/ d' common-build.xml |
79 |
find -name "*.jar" -type f | xargs rm -v |
80 |
java-pkg_jar-from --build-only --into lib junit junit.jar junit-3.8.2.jar |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
# regenerate javacc files just because we can |
85 |
# put javacc.jar on ant's classpath here even when <javacc> task |
86 |
# doesn't use it - it's to fool the <available> test, first time |
87 |
# it's useful not to have ignoresystemclasses=true... |
88 |
ANT_TASKS="ant-nodeps javacc" eant \ |
89 |
-Djavacc.home=/usr/share/javacc/lib javacc |
90 |
ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs-core javadocs-demo) |
91 |
} |
92 |
|
93 |
src_test() { |
94 |
java-ant_rewrite-classpath common-build.xml |
95 |
EANT_GENTOO_CLASSPATH="junit ant-core" ANT_TASKS="ant-junit" eant test-core |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
dodoc CHANGES.txt README.txt || die |
100 |
java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar |
101 |
java-pkg_newjar build/${PN}-demos-${PV}.jar ${PN}-demos.jar |
102 |
|
103 |
if use doc; then |
104 |
dohtml -r docs/* || die |
105 |
# for the core and demo subdirs |
106 |
java-pkg_dohtml -r build/docs/api |
107 |
fi |
108 |
use source && java-pkg_dosrc src/java/org |
109 |
} |