Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/lucene/
Date: Wed, 03 Jan 2018 10:08:55
Message-Id: 1514974117.2e568ada41b1b78e81e024668b9f0373b5874538.monsieurp@gentoo
1 commit: 2e568ada41b1b78e81e024668b9f0373b5874538
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 09:42:06 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 10:08:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e568ada
7
8 dev-java/lucene: clean up old.
9
10 Bug: https://bugs.gentoo.org/642302
11 Package-Manager: Portage-2.3.13, Repoman-2.3.3
12
13 dev-java/lucene/lucene-3.5.0.ebuild | 104 ------------------------------------
14 1 file changed, 104 deletions(-)
15
16 diff --git a/dev-java/lucene/lucene-3.5.0.ebuild b/dev-java/lucene/lucene-3.5.0.ebuild
17 deleted file mode 100644
18 index 0a804109766..00000000000
19 --- a/dev-java/lucene/lucene-3.5.0.ebuild
20 +++ /dev/null
21 @@ -1,104 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI="3"
26 -JAVA_PKG_IUSE="doc source test contrib"
27 -JAVA_PKG_BSFIX_ALL="no"
28 -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml"
29 -#JAVA_PKG_DEBUG=1
30 -
31 -inherit java-pkg-2 java-ant-2
32 -
33 -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java"
34 -HOMEPAGE="http://lucene.apache.org"
35 -SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz"
36 -LICENSE="Apache-2.0"
37 -SLOT="3.5"
38 -KEYWORDS="amd64 x86"
39 -IUSE=""
40 -DEPEND=">=virtual/jdk-1.5
41 - dev-java/ant-nodeps:0
42 - dev-java/junit:4
43 - dev-java/ant-junit:0
44 - contrib? (
45 - dev-java/jakarta-regexp:1.4
46 - dev-java/commons-compress:0
47 - dev-java/commons-collections:0
48 - dev-java/commons-digester:0
49 - dev-java/commons-logging:0
50 - dev-java/commons-beanutils:1.7
51 - )"
52 -RDEPEND=">=virtual/jdk-1.5"
53 -
54 -#dev-java/javacc:0 - no longer needed, files are prebuilt
55 -
56 -java_prepare() {
57 - #find -name "*.jar" -type f | xargs rm -v
58 - sed -i \
59 - -e '/-Xmax/ d' \
60 - common-build.xml
61 - # FIXME: contrib builds do not work if junit not included
62 - #java-pkg_jar-from --build-only --into lib \
63 - # junit-4 junit.jar junit-4.7.jar
64 - java-pkg_jar-from --build-only --into lib \
65 - ant-core ant.jar ant-1.7.1.jar
66 - java-pkg_jar-from --build-only --into lib \
67 - ant-junit ant-junit.jar ant-junit-1.7.1.jar
68 -
69 - if use contrib ; then
70 - cd contrib/
71 - java-pkg_jar-from --build-only --into queries/lib \
72 - jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar
73 - java-pkg_jar-from --build-only --into benchmark/lib \
74 - commons-compress commons-compress.jar commons-compress-1.1.jar
75 - java-pkg_jar-from --build-only --into benchmark/lib \
76 - commons-collections commons-collections.jar commons-collections-3.1.jar
77 - java-pkg_jar-from --build-only --into benchmark/lib \
78 - commons-digester commons-digester.jar commons-digester-1.7.jar
79 - java-pkg_jar-from --build-only --into benchmark/lib \
80 - commons-logging commons-logging.jar commons-logging-1.0.4.jar
81 - java-pkg_jar-from --build-only --into benchmark/lib \
82 - commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar
83 - fi
84 -}
85 -
86 -src_compile() {
87 - # FIXME: docs do not build if behind a proxy, -autoproxy does not work
88 - ANT_TASKS="none" eant -Dversion=${PV} \
89 - -Dfailonjavadocwarning=false \
90 - jar-core $(use_doc javadocs-core )
91 - if use contrib ; then
92 - ANT_TASKS="none" eant -Dversion=${PV} \
93 - -Dfailonjavadocwarning=false \
94 - build-contrib $(use_doc javadocs-all )
95 - fi
96 -}
97 -
98 -src_test() {
99 - # FIXME: test does not get run, even when selected
100 - java-ant_rewrite-classpath common-build.xml
101 - EANT_GENTOO_CLASSPATH="junit ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core
102 -}
103 -
104 -src_install() {
105 - dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \
106 - JRE_VERSION_MIGRATION.txt|| die
107 - java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar
108 - if use contrib; then
109 - for i in `find build/contrib -name \*-${PV}.jar`
110 - do
111 - j=${i##*/}
112 - java-pkg_newjar $i ${j%%-${PV}.jar}.jar
113 - done
114 - fi
115 - if use doc; then
116 - dohtml -r docs/* || die
117 - java-pkg_dohtml -r build/docs/api
118 - fi
119 - if use source; then
120 - java-pkg_dosrc src/java/org || die
121 - if use contrib; then
122 - java-pkg_dosrc contrib || die
123 - fi
124 - fi
125 -}