diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/lucene |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/lucene')
-rw-r--r-- | dev-java/lucene/Manifest | 11 | ||||
-rw-r--r-- | dev-java/lucene/lucene-1.4.3-r3.ebuild | 47 | ||||
-rw-r--r-- | dev-java/lucene/lucene-2.4.1-r1.ebuild | 57 | ||||
-rw-r--r-- | dev-java/lucene/lucene-3.5.0.ebuild | 104 | ||||
-rw-r--r-- | dev-java/lucene/lucene-3.6.2.ebuild | 130 | ||||
-rw-r--r-- | dev-java/lucene/metadata.xml | 15 |
6 files changed, 364 insertions, 0 deletions
diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest new file mode 100644 index 000000000000..8e7e40174f01 --- /dev/null +++ b/dev-java/lucene/Manifest @@ -0,0 +1,11 @@ +DIST lucene-1.4.3-src.tar.gz 768320 SHA256 62051daecebbae50c4e9d1c4d840f32fc58d85b0a5b370095c98e346c9ba1049 SHA512 426539a4b4a8887485c4301b2127ad4815646d1a81bca877ed2b0e68d886fcaf844449532a080754b79696c0f9e9c5f304be28487e0f9aa11178565a20f29911 WHIRLPOOL dea750d36a33689fa46926271a5c3be62b011e327ce9fa671a480a7ff9ce4d430d678fbf6f82befd81510d574e303f71b627d15b438492a8a34d5f60b5569b95 +DIST lucene-2.4.1-src.tar.gz 5057003 SHA256 47ecc5e105717d356e0468433d1a60f84f620d79ff9f48a78ca4be6c349b6a10 SHA512 cf227eea4aeee904ccf5316ee7f2399864bf28b9c01e044ef27232dd483c3a5f0ecc8836633f44acfa41ffee6bf1c530e756ef45fa77ac1d15e1f83129b7aa5e WHIRLPOOL e452450c1981724b133af16098b29a1bcc6bfdd1ce2785929599278c674fbe9c2863d35fe93ae78a361d790eda29da62b25613a4ee57fe3b49290dfd11ebd3be +DIST lucene-3.5.0-src.tgz 39564076 SHA256 814dbfcd91b76522ae350817c306be8c4a72dfe8c809540be4b20209acfb9a27 SHA512 58846190ed0e8c0747e14cb46bf27255d0e4ee93aa0969cf16140713ce20c8fc3f451353437313f14416c92b7b6825d4ce3416d9c7ce4cb1854f31877c2af275 WHIRLPOOL ca2994a3de615d4f80f30f26f852ed6919830b81de666034997bdc65defdde2e0777f924d08f67ee7ca6467624a036305eb86c31fb0d7e59e0ffb57f3f69404f +DIST lucene-3.6.2-src.tgz 32139784 SHA256 984bf1e82e32ecdc6c4ff7f582b5bd0a4c2bf68acd1d48bf6df74ad86c97ca8c SHA512 e9a08a1b5303c44e4feecc0bb6e7013e4a9420517ae4e98999bd318ec25b5b2ff3b6de8b51db8f68afc0fdc3149829297023a95b103d4f99e7db68deee4c3965 WHIRLPOOL bfec9e7f937c75337b3582b7d5c4de5b954eb4d256f0218cbf36ea67bcb9fae8dc1e298c0e69e8168865ba21b75c271c29dd6b0adf40cae5f725f0b777b66f20 +EBUILD lucene-1.4.3-r3.ebuild 1069 SHA256 70d9c49926e337aebd10f0fd99b12eb2e8b769ce9636c92a4373e119c090c86b SHA512 e2110e99f3d724604e593c4d8f921c8a35ff4a91c20bf76a54276e6db24ce3287b9489c1a3b5b22750d4cf99ec744bd486d1e1e73d5f5b5f817c213062b658a7 WHIRLPOOL e6b7df9aa33ec39e4008401b7314a155c0d94e1bd99745b286ac83ceb143e91231acab9d551fc95a114b6426e8b524b87a0591b90d17918345149e87d81a6582 +EBUILD lucene-2.4.1-r1.ebuild 1737 SHA256 5b1cd7c30da92df4ff15dc419e33aefcc80731ec8a00ec25b7f90c1f576e1fe9 SHA512 33f9206b1b679d994e776ca035df5abf9411ceb7a807bc7c12963706168a223c40c2937bd7596255cce0028ab8979413badd73c3905484dcdd0db75d3b690724 WHIRLPOOL 6076631e1ea2eca5129b59da6d7d1704f35852ee4f865925ae5445f77b9363770a5044ae6aa3cf248ea0bad359e6c971db69585008230b4603d9d3e84f0becaa +EBUILD lucene-3.5.0.ebuild 3269 SHA256 bd2d82299afc87f561adfe674b7ca837c91a744becf4be503c780aaa56505f47 SHA512 c4bb455bc497599433bdbe0c86643de91c428112ad68d72e7e5165c7f4848764771d15359481f91c303b2988b8289cee1c5d03101d7c851d76d702dc38eff8e9 WHIRLPOOL 389e079756fcb9337f71cd1ae679eda2786750d1295fa15538f90b0e57bef4e2ea1c5eb6b67fc787bead7635af86a47856521f981c38455f1f0b99e77a678c6e +EBUILD lucene-3.6.2.ebuild 4233 SHA256 8202ff387d5ac49ff37ad021520ecc169c4c124a6d8a20d5ebac3fcc46c495bc SHA512 81fb07b209c67b604ab4b89095bb42ec98e6c52e887b37a75c9f33c34b3ccc0815b721530117766645d9d4c5ae8b60e875e06ab8a17c9c7cb26878ff1768c9ff WHIRLPOOL 56441a5d83d8a6c64ed477a5e8d93cc971ecaf9e17f943b1b78e153a247ef4236b1cc115576b0df4446e7f97c73af3894f1dc464e40d6d3e53a68040d490d2b5 +MISC ChangeLog 5322 SHA256 5cbc8f6bd12a70f104d65ce20a940204b4cf84d4024bca24c9419be72dbd7556 SHA512 12f9e0aa67ad8f944d4af3b9edd4f5b636a32d53418531dfe630a96296f1ac1f9434ab0d6c0f9a22db20b290b3215d0fe28c26271edefcf32479af52944044fb WHIRLPOOL 7156a5bac3289231f94ff34fc7a8927f4629a97da7ed86f9c9f73b2e4ec42cd2bce24994e1f053a6d7df2ecefff5ff26e4f58ee9c26e8dc6190ccb3ca419c937 +MISC ChangeLog-2015 14427 SHA256 b5bd2dc93ff3207874b8831f1152c29dff37007de64389560ff0c625f79c402f SHA512 cdf99b803407db3a34151fc1131e3bc78765fe74e89340ecdc2cb6548a086c45d1e7a980b347d1cc8546dcb713032f9360faedd77839b7b5bb2f58f7ae813930 WHIRLPOOL 2ccdcc85f7ad6046de3a1b6673a0c115b4d41b63d70b6640b3b9437a712da71402bb4bcaa39c84e4901a7dcf29da8ed1c9198efa4a23b0ada2b05dfcd09dfd04 +MISC metadata.xml 462 SHA256 bb13f9bb5e855a03a8da7ae04d4457ccd18721bc090c30d2a0116f9b89f1bf12 SHA512 611e91130a53366e58e7a628f1eb63317064eff25cc9921e3f4c0c649e7e140a5478667fed236da8c10c52d3c4a70cf0f3d87445d6e82f052910b6b35550036f WHIRLPOOL d662edf559a3ace1280c867b84142b88fb3bbd6bc88bf7b53962ce33e908ceff47dfdc29bfa540a212db364d5cbd273d1bd086db4dfd0a8a61695a7057260c8f diff --git a/dev-java/lucene/lucene-1.4.3-r3.ebuild b/dev-java/lucene/lucene-1.4.3-r3.ebuild new file mode 100644 index 000000000000..3d238b008570 --- /dev/null +++ b/dev-java/lucene/lucene-1.4.3-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +JAVA_PKG_IUSE="doc examples source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/archive/${P}-src.tar.gz" +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + test? ( + =dev-java/junit-3* + dev-java/ant-junit + )" +RDEPEND=">=virtual/jdk-1.4" + +src_unpack() { + unpack ${A} + + cd "${S}/lib" || die + rm -v *.jar || die +} + +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() { + dodoc CHANGES.txt README.txt || die + java-pkg_newjar build/lucene-1.5-rc1-dev.jar + + if use doc; then + dohtml -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-r1.ebuild b/dev-java/lucene/lucene-2.4.1-r1.ebuild new file mode 100644 index 000000000000..ae751585ba3d --- /dev/null +++ b/dev-java/lucene/lucene-2.4.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=3 + +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="http://lucene.apache.org" +# when doing version bump, SRC_URI of the previous version should most probably +# be changed to java/archive/ ! +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.4" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.5" + +src_prepare() { + sed -i -e '/-Xmax/ d' common-build.xml +} + +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-nodeps 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() { + dodoc CHANGES.txt README.txt || die + 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 + dohtml -r docs/* || die + # for the core and demo subdirs + 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.ebuild b/dev-java/lucene/lucene-3.5.0.ebuild new file mode 100644 index 000000000000..0a804109766c --- /dev/null +++ b/dev-java/lucene/lucene-3.5.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" +JAVA_PKG_IUSE="doc source test contrib" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" +#JAVA_PKG_DEBUG=1 + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" +LICENSE="Apache-2.0" +SLOT="3.5" +KEYWORDS="amd64 x86" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + dev-java/junit:4 + dev-java/ant-junit: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 + )" +RDEPEND=">=virtual/jdk-1.5" + +#dev-java/javacc:0 - no longer needed, files are prebuilt + +java_prepare() { + #find -name "*.jar" -type f | xargs rm -v + sed -i \ + -e '/-Xmax/ d' \ + common-build.xml + # 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/ + 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 + 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 ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \ + JRE_VERSION_MIGRATION.txt|| die + java-pkg_newjar build/${PN}-core-${PV}.jar ${PN}-core.jar + if use contrib; then + 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 + dohtml -r docs/* || die + java-pkg_dohtml -r build/docs/api + fi + if use source; then + java-pkg_dosrc src/java/org || die + if use contrib; then + java-pkg_dosrc contrib || die + fi + fi +} diff --git a/dev-java/lucene/lucene-3.6.2.ebuild b/dev-java/lucene/lucene-3.6.2.ebuild new file mode 100644 index 000000000000..a760e4fc1978 --- /dev/null +++ b/dev-java/lucene/lucene-3.6.2.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" +JAVA_PKG_IUSE="doc source test contrib" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml contrib-build.xml" +#JAVA_PKG_DEBUG=1 + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://lucene.apache.org" +SRC_URI="mirror://apache/lucene/java/${PV}/${P}-src.tgz" +LICENSE="Apache-2.0" +SLOT="${PV:0:3}" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND=">=virtual/jdk-1.5 + contrib? ( + dev-java/commons-beanutils:1.7 + >=dev-java/commons-codec-1.6:0 + dev-java/commons-collections:0 + dev-java/commons-compress:0 + dev-java/commons-digester:0 + dev-java/commons-logging:0 + dev-java/jakarta-regexp:1.4 + )" +DEPEND="${RDEPEND} + dev-java/ant-nodeps:0 + test? ( >=dev-java/junit-4.12:4 + dev-java/hamcrest-core ) + dev-java/ant-junit:0 + >=dev-java/ant-ivy-2.2.0:2" + +#dev-java/javacc:0 - no longer needed, files are prebuilt + +java_prepare() { + #find -name "*.jar" -type f | xargs rm -v + sed -i \ + -e '/-Xmax/ d' \ + -e '/property="ivy.available"/s,resource="${ivy.resource}",file="." type="dir",g' \ + -e '/<ivy:retrieve/d' \ + common-build.xml + mkdir -p {.,queries,benchmark,analyzers/phonetic}/lib + 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/ + 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/ + # 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 + einfo "Building main" + ANT_TASKS="none" eant -Dversion=${PV} \ + -Dfailonjavadocwarning=false \ + jar-core $(use_doc javadocs-core ) + if use contrib ; then + einfo "Building contrib" + 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 ant-core ant-junit" ANT_TASKS="ant-junit" eant test-core +} + +src_install() { + dodoc CHANGES.txt README.txt NOTICE.txt CHANGES.txt \ + JRE_VERSION_MIGRATION.txt|| die + java-pkg_newjar build/core/${PN}-core-${PV}.jar ${PN}-core.jar + if use contrib; then + 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 + dohtml -r docs/* || die + java-pkg_dohtml -r build/docs/api + fi + if use source; then + java-pkg_dosrc core/src/java/org || die + if use contrib; then + java-pkg_dosrc contrib || die + fi + fi +} diff --git a/dev-java/lucene/metadata.xml b/dev-java/lucene/metadata.xml new file mode 100644 index 000000000000..27faa4347b91 --- /dev/null +++ b/dev-java/lucene/metadata.xml @@ -0,0 +1,15 @@ +<?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> |