diff options
Diffstat (limited to 'dev-java/lucene')
-rw-r--r-- | dev-java/lucene/Manifest | 11 | ||||
-rw-r--r-- | dev-java/lucene/lucene-1.4.3-r4.ebuild | 52 | ||||
-rw-r--r-- | dev-java/lucene/lucene-2.4.1-r2.ebuild | 79 | ||||
-rw-r--r-- | dev-java/lucene/lucene-3.5.0-r1.ebuild | 136 | ||||
-rw-r--r-- | dev-java/lucene/lucene-3.5.0-r2.ebuild | 136 | ||||
-rw-r--r-- | dev-java/lucene/lucene-3.6.2-r1.ebuild | 189 | ||||
-rw-r--r-- | dev-java/lucene/lucene-3.6.2-r2.ebuild | 189 | ||||
-rw-r--r-- | dev-java/lucene/metadata.xml | 15 |
8 files changed, 0 insertions, 807 deletions
diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest deleted file mode 100644 index 529de6f32e23..000000000000 --- a/dev-java/lucene/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -DIST lucene-1.4.3-src.tar.gz 768320 BLAKE2B 8017b672b0104be007582a67cff5cb130187afcf9608bec0cb2b6bae9b3ea8c67486b324740c99e4db8f23879dd614a098f778f6b52b429d3dd1906387e9b61e SHA512 426539a4b4a8887485c4301b2127ad4815646d1a81bca877ed2b0e68d886fcaf844449532a080754b79696c0f9e9c5f304be28487e0f9aa11178565a20f29911 -DIST lucene-2.4.1.tar.gz 5057003 BLAKE2B 3e2a29cfa94b367f1e62f60a2f7b7e195c788048564fb061ade4b1babcb2fd71e36b282049d3816c3faaaa3dacc07f4a7dbdb0504a659ea3ab8e06e247debcba SHA512 cf227eea4aeee904ccf5316ee7f2399864bf28b9c01e044ef27232dd483c3a5f0ecc8836633f44acfa41ffee6bf1c530e756ef45fa77ac1d15e1f83129b7aa5e -DIST lucene-3.5.0-src.tgz 39564076 BLAKE2B 5018f0e07a9df3f2f55c540e94e349e64e2c02c99acf14946e4471e16ace4f17a18e306aca6187028cde4434f0d6b38090442baaddaa79ef12ff34a8461f9e98 SHA512 58846190ed0e8c0747e14cb46bf27255d0e4ee93aa0969cf16140713ce20c8fc3f451353437313f14416c92b7b6825d4ce3416d9c7ce4cb1854f31877c2af275 -DIST lucene-3.6.2-src.tgz 32139784 BLAKE2B 48fe88efeae8396e084f827aa66530480f40aee3a2e59c8524420059f004a73be4c1e50c98345ad0ad4808ff8a0a996f9406523bf5c124616657ec91f9797f70 SHA512 e9a08a1b5303c44e4feecc0bb6e7013e4a9420517ae4e98999bd318ec25b5b2ff3b6de8b51db8f68afc0fdc3149829297023a95b103d4f99e7db68deee4c3965 -EBUILD lucene-1.4.3-r4.ebuild 981 BLAKE2B c506d4a98402026bca8e4c968bb9d56ecaf5ab5f37891834b587db8069c32bc41ac2d8f75a7c63f26a4eb80929a3fe9b6310ba3577bad32cf505809971cbd568 SHA512 abcbbadabe7dd9dccd2fa59c8888b6871e0104d803139a53549341f2a691975de2a3e9092c7dd4c2738dd89038fa154fd32dc91c293a8373bd012408bf2d1d69 -EBUILD lucene-2.4.1-r2.ebuild 1802 BLAKE2B 71e720f396d65c1621d956d0536c3655a1530014861df0350dc506b7e03f2acd4f75ab70f0f7768ae867523ee49e1b7fac11095502fbba65d350ecf8223d1d41 SHA512 2551db0ac39d6ca7516b71e86202cef50e7784ee49f715f03703b205509e89983e735cc66ce3970abca9212390edbb06a948399310845e758855fb4764e2c985 -EBUILD lucene-3.5.0-r1.ebuild 3514 BLAKE2B 4e944c04e995278521268166d300e292c21b477969505de26f56d2450c2461e2fe76040d52ab81218176ac52a1104de7de37f7f05e942975789710b5304e2b08 SHA512 c1cd0378af15f5c555cbb9459415552e10861738107a321b3023ce57b569b8733d6779cdb87bcc75ff1f2f526f8cc87a74aab8402fbc3d2ffdedab5a93c805db -EBUILD lucene-3.5.0-r2.ebuild 3512 BLAKE2B 9f30115ea1ce8570213517a3e841675c761654e23d81cdb5c30a0111dad97b2ed41bcd3fbb316bc8716836f82fc14f4dc6c30012ec7fb41e8fd5bcca3637af9d SHA512 f7bc1e244f8f4f19d2c8674a17382fc425ef34cb2957489e8216d4ddc009ebce77b191ee1357f60719158020d098a8d0fe7239648f96014126e68111a22f10e8 -EBUILD lucene-3.6.2-r1.ebuild 5555 BLAKE2B ab16e0833ee520598e3590a98379fd51ea01eb09d46e04e69b350e86fa51c52b329967081a844a33505494ffc953b08420418faf9ef41a994748e900d71649e7 SHA512 c47459c094fa94f22a79c1623a4a9fa3c4edec4de72520d641d21f054eb1089b2949de0666678407dcb0ac9bc3114126a8651b9ddf7ae5729c8b789736513098 -EBUILD lucene-3.6.2-r2.ebuild 5553 BLAKE2B 4602e1ddf43e0fc5b71093bbc88069fe7f016187e78b61fd7a1fbd7ed03f1ce54b1dcf42e918f128c3bb58cc7eadfdd4fcb3ba455d5567788a9866834c805db4 SHA512 92d2a8aa60347ae964ed8d99e50c57addb4b3621fee34262a865565c6280f381dfc9f14792ddb330d89a1b7fbaaf07d4031bf6cbbd2ddfffa62634fd84779b49 -MISC metadata.xml 462 BLAKE2B 2f93e0f1a5f130d6e17e1431764c6492bb1c66200ab79175a54f8ecb3311b8edc9fc6ce1c7e062bc7357d2f48c4155829c34d719a780b373336a2c95d52d70e8 SHA512 611e91130a53366e58e7a628f1eb63317064eff25cc9921e3f4c0c649e7e140a5478667fed236da8c10c52d3c4a70cf0f3d87445d6e82f052910b6b35550036f diff --git a/dev-java/lucene/lucene-1.4.3-r4.ebuild b/dev-java/lucene/lucene-1.4.3-r4.ebuild deleted file mode 100644 index a5604d395c7c..000000000000 --- a/dev-java/lucene/lucene-1.4.3-r4.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured Java text search engine" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" - -KEYWORDS="amd64 x86" -LICENSE="Apache-1.1" -SLOT="1" - -DEPEND=" - >=virtual/jdk-1.6 - test? ( dev-java/ant-junit:0 )" - -RDEPEND=" - >=virtual/jre-1.6" - -src_prepare() { - default - java-pkg_clean -} - -src_compile() { - eant jar-core $(use_doc javadocs) -} - -src_test() { - java-ant_rewrite-classpath build.xml - EANT_GENTOO_CLASSPATH="junit ant-core" \ - ANT_TASKS="ant-junit" \ - eant test -} - -src_install() { - einstalldocs - java-pkg_newjar build/lucene-1.5-rc1-dev.jar - - if use doc; then - dodoc -r docs/* - java-pkg_dojavadoc build/docs/api - fi - - use examples && java-pkg_doexamples src/demo - use source && java-pkg_dosrc src/java/org -} diff --git a/dev-java/lucene/lucene-2.4.1-r2.ebuild b/dev-java/lucene/lucene-2.4.1-r2.ebuild deleted file mode 100644 index b3f32a4fea35..000000000000 --- a/dev-java/lucene/lucene-2.4.1-r2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source test" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="https://archive.apache.org/dist/${PN}/java/${P}-src.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="2.4" -KEYWORDS="amd64 x86" - -CDEPEND=" - dev-java/javacc:0" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - test? ( - dev-java/junit:0 - dev-java/ant-core:0 - )" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -src_prepare() { - default - java-pkg_clean - sed -i -e '/-Xmax/ d' common-build.xml || die - - # Portage marks shese files as bogus for some reason. - find . -type f -name instruction_arrow.png -exec rm -v {} \; || die -} - -src_compile() { - # regenerate javacc files just because we can - # put javacc.jar on ant's classpath here even when <javacc> task - # doesn't use it - it's to fool the <available> test, first time - # it's useful not to have ignoresystemclasses=true... - ANT_TASKS="ant-core javacc" \ - eant \ - -Djavacc.home="${EPREFIX}"/usr/share/javacc/lib \ - javacc - ANT_TASKS="none" \ - eant \ - -Dversion=${PV} \ - jar-core \ - jar-demo \ - $(use_doc javadocs-core javadocs-demo) -} - -src_test() { - java-ant_rewrite-classpath common-build.xml - EANT_GENTOO_CLASSPATH="junit ant-core" \ - ANT_TASKS="ant-junit" \ - eant \ - test-core -} - -src_install() { - einstalldocs - java-pkg_newjar "build/${PN}-core-${PV}.jar" "${PN}-core.jar" - java-pkg_newjar "build/${PN}-demos-${PV}.jar" "${PN}-demos.jar" - - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs/api - fi - use source && java-pkg_dosrc src/java/org -} diff --git a/dev-java/lucene/lucene-3.5.0-r1.ebuild b/dev-java/lucene/lucene-3.5.0-r1.ebuild deleted file mode 100644 index 1c1898386a21..000000000000 --- a/dev-java/lucene/lucene-3.5.0-r1.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source test contrib" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" - -LICENSE="Apache-2.0" -SLOT="3.5" -KEYWORDS="amd64 x86" - -CDEPEND=" - dev-java/junit:4 - dev-java/ant-junit:0 - dev-java/ant-nodeps:0 - contrib? ( - dev-java/jakarta-regexp:1.4 - dev-java/commons-compress:0 - dev-java/commons-collections:0 - dev-java/commons-digester:0 - dev-java/commons-logging:0 - dev-java/commons-beanutils:1.7 - )" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - test? ( - dev-java/junit:4 - dev-java/ant-core:0 - )" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DOCS=( - CHANGES.txt README.txt - NOTICE.txt CHANGES.txt - JRE_VERSION_MIGRATION.txt -) - -# All tests fail with the following error: -# junit.framework.AssertionFailedError: ensure your setUp() calls super.setUp()!!! -RESTRICT="test" - -src_prepare() { - default - java-pkg_clean - sed -i \ - -e '/-Xmax/ d' \ - common-build.xml || die - - # FIXME: contrib builds do not work if junit not included - #java-pkg_jar-from --build-only --into lib \ - # junit-4 junit.jar junit-4.7.jar - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - - if use contrib; then - cd contrib/ || die - java-pkg_jar-from --build-only --into queries/lib \ - jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-compress commons-compress.jar commons-compress-1.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-collections commons-collections.jar commons-collections-3.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-digester commons-digester.jar commons-digester-1.7.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-logging commons-logging.jar commons-logging-1.0.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar - fi -} - -src_compile() { - # FIXME: docs do not build if behind a proxy, -autoproxy does not work - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" - - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - jar-core \ - $(use_doc javadocs-core) - - if use contrib; then - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - build-contrib \ - $(use_doc javadocs-all) - fi -} - -src_test() { - # FIXME: test does not get run, even when selected - java-ant_rewrite-classpath common-build.xml - EANT_GENTOO_CLASSPATH="junit-4 ant-core ant-junit" \ - ANT_TASKS="ant-junit" \ - eant test-core -} - -src_install() { - einstalldocs - java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar - - if use contrib; then - local i j - for i in $(find build/contrib -name \*-${PV}.jar); do - j=${i##*/} - java-pkg_newjar $i ${j%%-${PV}.jar}.jar - done - fi - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs/api - fi - if use source; then - java-pkg_dosrc src/java/org - use contrib && java-pkg_dosrc contrib - fi -} diff --git a/dev-java/lucene/lucene-3.5.0-r2.ebuild b/dev-java/lucene/lucene-3.5.0-r2.ebuild deleted file mode 100644 index 6d0031e124b3..000000000000 --- a/dev-java/lucene/lucene-3.5.0-r2.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source test contrib" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" - -LICENSE="Apache-2.0" -SLOT="3.5" -KEYWORDS="amd64 x86" - -CDEPEND=" - dev-java/junit:4 - dev-java/ant-junit:0 - dev-java/ant-core:0 - contrib? ( - dev-java/jakarta-regexp:1.4 - dev-java/commons-compress:0 - dev-java/commons-collections:0 - dev-java/commons-digester:0 - dev-java/commons-logging:0 - dev-java/commons-beanutils:1.7 - )" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - test? ( - dev-java/junit:4 - dev-java/ant-core:0 - )" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DOCS=( - CHANGES.txt README.txt - NOTICE.txt CHANGES.txt - JRE_VERSION_MIGRATION.txt -) - -# All tests fail with the following error: -# junit.framework.AssertionFailedError: ensure your setUp() calls super.setUp()!!! -RESTRICT="test" - -src_prepare() { - default - java-pkg_clean - sed -i \ - -e '/-Xmax/ d' \ - common-build.xml || die - - # FIXME: contrib builds do not work if junit not included - #java-pkg_jar-from --build-only --into lib \ - # junit-4 junit.jar junit-4.7.jar - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - - if use contrib; then - cd contrib/ || die - java-pkg_jar-from --build-only --into queries/lib \ - jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-compress commons-compress.jar commons-compress-1.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-collections commons-collections.jar commons-collections-3.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-digester commons-digester.jar commons-digester-1.7.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-logging commons-logging.jar commons-logging-1.0.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar - fi -} - -src_compile() { - # FIXME: docs do not build if behind a proxy, -autoproxy does not work - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" - - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - jar-core \ - $(use_doc javadocs-core) - - if use contrib; then - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - build-contrib \ - $(use_doc javadocs-all) - fi -} - -src_test() { - # FIXME: test does not get run, even when selected - java-ant_rewrite-classpath common-build.xml - EANT_GENTOO_CLASSPATH="junit-4 ant-core ant-junit" \ - ANT_TASKS="ant-junit" \ - eant test-core -} - -src_install() { - einstalldocs - java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar - - if use contrib; then - local i j - for i in $(find build/contrib -name \*-${PV}.jar); do - j=${i##*/} - java-pkg_newjar $i ${j%%-${PV}.jar}.jar - done - fi - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs/api - fi - if use source; then - java-pkg_dosrc src/java/org - use contrib && java-pkg_dosrc contrib - fi -} diff --git a/dev-java/lucene/lucene-3.6.2-r1.ebuild b/dev-java/lucene/lucene-3.6.2-r1.ebuild deleted file mode 100644 index 4dcb812a206d..000000000000 --- a/dev-java/lucene/lucene-3.6.2-r1.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source test contrib" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" - -LICENSE="Apache-2.0" -SLOT="3.6" -KEYWORDS="amd64 x86" - -CDEPEND=" - dev-java/ant-ivy:2 - dev-java/ant-junit:0 - dev-java/ant-nodeps:0 - dev-java/hamcrest-core:0 - contrib? ( - dev-java/jakarta-regexp:1.4 - dev-java/commons-compress:0 - dev-java/commons-collections:0 - dev-java/commons-digester:0 - dev-java/commons-logging:0 - dev-java/commons-beanutils:1.7 - )" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - test? ( - dev-java/junit:4 - )" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DOCS=( - CHANGES.txt README.txt - NOTICE.txt CHANGES.txt - JRE_VERSION_MIGRATION.txt -) - -# All tests fail with the following error: -# junit.framework.AssertionFailedError: ensure your setUp() calls super.setUp()!!! -RESTRICT="test" - -src_prepare() { - default - java-pkg_clean - sed -i \ - -e '/-Xmax/ d' \ - common-build.xml || die - - # FIXME: contrib builds do not work if junit not included - #java-pkg_jar-from --build-only --into lib \ - # junit-4 junit.jar junit-4.7.jar - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - - if use contrib; then - cd contrib/ || die - java-pkg_jar-from --build-only --into queries/lib \ - jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-compress commons-compress.jar commons-compress-1.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-collections commons-collections.jar commons-collections-3.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-digester commons-digester.jar commons-digester-1.7.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-logging commons-logging.jar commons-logging-1.0.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar - fi -} - -src_prepare() { - default - java-pkg_clean - sed -i \ - -e '/-Xmax/ d' \ - -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ - -e '/<ivy:retrieve/d' \ - common-build.xml || die - mkdir -p {.,queries,benchmark,analyzers/phonetic}/lib || die - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-ivy:2 - java-pkg_jar-from --build-only --into lib \ - junit-4 junit.jar junit-4.10.jar - java-pkg_jar-from --build-only --into lib \ - hamcrest-core - - # Always needed anyway - cd "${S}"/test-framework/ || die - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - junit-4 junit.jar junit-4.10.jar - java-pkg_jar-from --build-only --into lib \ - hamcrest-core - - if use contrib; then - cd "${S}"/contrib/ || die - # queries - java-pkg_jar-from --build-only --into queries/lib \ - jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexp-1.4.jar - # benchmark - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-compress commons-compress.jar commons-compress-1.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-collections commons-collections.jar commons-collections-3.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-digester commons-digester.jar commons-digester-1.7.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-logging commons-logging.jar commons-logging-1.0.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar - # analyzers/phonetic - java-pkg_jar-from --build-only --into analyzers/phonetic/lib \ - commons-codec commons-codec.jar commons-codec-1.6.jar - fi -} - -src_compile() { - # FIXME: docs do not build if behind a proxy, -autoproxy does not work - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" - - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - jar-core \ - $(use_doc javadocs-core) - - if use contrib; then - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - build-contrib \ - $(use_doc javadocs-all) - fi -} - -src_test() { - # FIXME: test does not get run, even when selected - java-ant_rewrite-classpath common-build.xml - EANT_GENTOO_CLASSPATH="junit-4 ant-core ant-junit" \ - ANT_TASKS="ant-junit" \ - eant test-core -} - -src_install() { - einstalldocs - java-pkg_newjar build/core/${PN}-core-${PV}.jar ${PN}-core.jar - - if use contrib; then - local i j - for i in $(find build/contrib -name \*-${PV}.jar); do - j=${i##*/} - java-pkg_newjar $i ${j%%-${PV}.jar}.jar - done - fi - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs/api - fi - if use source; then - java-pkg_dosrc core/src/java/org - use contrib && java-pkg_dosrc contrib - fi -} diff --git a/dev-java/lucene/lucene-3.6.2-r2.ebuild b/dev-java/lucene/lucene-3.6.2-r2.ebuild deleted file mode 100644 index 091821750c1b..000000000000 --- a/dev-java/lucene/lucene-3.6.2-r2.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source test contrib" -JAVA_PKG_BSFIX_ALL="no" -JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" -HOMEPAGE="https://lucene.apache.org" -SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" - -LICENSE="Apache-2.0" -SLOT="3.6" -KEYWORDS="amd64 x86" - -CDEPEND=" - dev-java/ant-ivy:2 - dev-java/ant-junit:0 - dev-java/ant-core:0 - dev-java/hamcrest-core:0 - contrib? ( - dev-java/jakarta-regexp:1.4 - dev-java/commons-compress:0 - dev-java/commons-collections:0 - dev-java/commons-digester:0 - dev-java/commons-logging:0 - dev-java/commons-beanutils:1.7 - )" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.6 - test? ( - dev-java/junit:4 - )" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DOCS=( - CHANGES.txt README.txt - NOTICE.txt CHANGES.txt - JRE_VERSION_MIGRATION.txt -) - -# All tests fail with the following error: -# junit.framework.AssertionFailedError: ensure your setUp() calls super.setUp()!!! -RESTRICT="test" - -src_prepare() { - default - java-pkg_clean - sed -i \ - -e '/-Xmax/ d' \ - common-build.xml || die - - # FIXME: contrib builds do not work if junit not included - #java-pkg_jar-from --build-only --into lib \ - # junit-4 junit.jar junit-4.7.jar - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - - if use contrib; then - cd contrib/ || die - java-pkg_jar-from --build-only --into queries/lib \ - jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexpt-1.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-compress commons-compress.jar commons-compress-1.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-collections commons-collections.jar commons-collections-3.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-digester commons-digester.jar commons-digester-1.7.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-logging commons-logging.jar commons-logging-1.0.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar - fi -} - -src_prepare() { - default - java-pkg_clean - sed -i \ - -e '/-Xmax/ d' \ - -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ - -e '/<ivy:retrieve/d' \ - common-build.xml || die - mkdir -p {.,queries,benchmark,analyzers/phonetic}/lib || die - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-ivy:2 - java-pkg_jar-from --build-only --into lib \ - junit-4 junit.jar junit-4.10.jar - java-pkg_jar-from --build-only --into lib \ - hamcrest-core - - # Always needed anyway - cd "${S}"/test-framework/ || die - java-pkg_jar-from --build-only --into lib \ - ant-core ant.jar ant-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - ant-junit ant-junit.jar ant-junit-1.7.1.jar - java-pkg_jar-from --build-only --into lib \ - junit-4 junit.jar junit-4.10.jar - java-pkg_jar-from --build-only --into lib \ - hamcrest-core - - if use contrib; then - cd "${S}"/contrib/ || die - # queries - java-pkg_jar-from --build-only --into queries/lib \ - jakarta-regexp:1.4 jakarta-regexp.jar jakarta-regexp-1.4.jar - # benchmark - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-compress commons-compress.jar commons-compress-1.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-collections commons-collections.jar commons-collections-3.1.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-digester commons-digester.jar commons-digester-1.7.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-logging commons-logging.jar commons-logging-1.0.4.jar - java-pkg_jar-from --build-only --into benchmark/lib \ - commons-beanutils:1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar - # analyzers/phonetic - java-pkg_jar-from --build-only --into analyzers/phonetic/lib \ - commons-codec commons-codec.jar commons-codec-1.6.jar - fi -} - -src_compile() { - # FIXME: docs do not build if behind a proxy, -autoproxy does not work - java-ant_xml-rewrite -f common-build.xml \ - -c -e javadoc \ - -a failonerror \ - -v "false" - - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - jar-core \ - $(use_doc javadocs-core) - - if use contrib; then - ANT_TASKS="none" \ - eant -Dversion=${PV} \ - -Dfailonjavadocwarning=false \ - build-contrib \ - $(use_doc javadocs-all) - fi -} - -src_test() { - # FIXME: test does not get run, even when selected - java-ant_rewrite-classpath common-build.xml - EANT_GENTOO_CLASSPATH="junit-4 ant-core ant-junit" \ - ANT_TASKS="ant-junit" \ - eant test-core -} - -src_install() { - einstalldocs - java-pkg_newjar build/core/${PN}-core-${PV}.jar ${PN}-core.jar - - if use contrib; then - local i j - for i in $(find build/contrib -name \*-${PV}.jar); do - j=${i##*/} - java-pkg_newjar $i ${j%%-${PV}.jar}.jar - done - fi - if use doc; then - dodoc -r docs - java-pkg_dohtml -r build/docs/api - fi - if use source; then - java-pkg_dosrc core/src/java/org - use contrib && java-pkg_dosrc contrib - fi -} diff --git a/dev-java/lucene/metadata.xml b/dev-java/lucene/metadata.xml deleted file mode 100644 index 27faa4347b91..000000000000 --- a/dev-java/lucene/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>robbat2@gentoo.org</email> - <description>Maintainer for actual Lucene issues.</description> -</maintainer> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> -<use> - <flag name="contrib">Include extra functionality from contrib/</flag> -</use> -</pkgmetadata> |