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