From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/lucene-analyzers/Manifest | 8 ++++++ dev-java/lucene-analyzers/files/manifest | 10 +++++++ .../lucene-analyzers-1.9.1-r1.ebuild | 32 ++++++++++++++++++++++ .../lucene-analyzers/lucene-analyzers-2.3.2.ebuild | 27 ++++++++++++++++++ dev-java/lucene-analyzers/metadata.xml | 13 +++++++++ 5 files changed, 90 insertions(+) create mode 100644 dev-java/lucene-analyzers/Manifest create mode 100644 dev-java/lucene-analyzers/files/manifest create mode 100644 dev-java/lucene-analyzers/lucene-analyzers-1.9.1-r1.ebuild create mode 100644 dev-java/lucene-analyzers/lucene-analyzers-2.3.2.ebuild create mode 100644 dev-java/lucene-analyzers/metadata.xml (limited to 'dev-java/lucene-analyzers') diff --git a/dev-java/lucene-analyzers/Manifest b/dev-java/lucene-analyzers/Manifest new file mode 100644 index 000000000000..edee3ede7cc3 --- /dev/null +++ b/dev-java/lucene-analyzers/Manifest @@ -0,0 +1,8 @@ +AUX manifest 489 SHA256 93388d2e6f6bdc08c6c44d2a53e8df7704da4e5fc69ef08365ccbd5c06fa8797 SHA512 959662da8f99cf3cb87bb81f6ca4df39eb7e76bfbb9d60eebc1bbf204dfb1beff48448d8ee5d3d2f8ecf8bf3eb01690a9a50b046850277609f3df77303b77c88 WHIRLPOOL e83017a4c1540457e8949f0e9c78ee77571ee073ba3f276444853412f843e17a9fcbeab34e189c1bb358031da62d32fd161fc82ab00fc75bacde7555280fab5e +DIST lucene-1.9.1-src.tar.gz 6135056 SHA256 a06bd64ce779f3d4e4b539c280f6a882efb2fd8cba4ebbed02a2b6f92658524f SHA512 fb9f29e0d38d6525d7f6f86d339867a08bfe77ba18a023885a3ecb093d217840c274c767b6e1451f7c58135919c6159122756ebde4640a47420526502395a994 WHIRLPOOL c9d83447742d2d0a2a30e73eb6ed2659db9be77d8bba0de716bdcf73af4bbbf0bf789251a8657c72aed217bf2b2deecb0ce044cf38d1b9a835cf66c338e9d548 +DIST lucene-2.3.2-src.tar.gz 4602041 SHA256 d0cc4b8a40900bbb3243d2e9d9987e0ea0e7d359a2992222bc9acf296b208416 SHA512 42bf988b2eed45ea8d8a3523d9fcf4e384e0e9729a25a54e518a34faf960370a8f7d824f537df7155dc2b64ac11e1b30a8e1ea745a0e054c86722f6e8551360d WHIRLPOOL d8db8e2962624f11e35d69f49a4bf000ebec33a6b01d42e71b5e19cc160c0a29167f94d6b96bd9d45154aa7292469d31c502670bfd0c54e78d333c89e6f33c03 +EBUILD lucene-analyzers-1.9.1-r1.ebuild 788 SHA256 e18815f53618556a9bb37fdf09836630b14ec42beb7f8658f407527feab37773 SHA512 f166c5919c9cee07d790d015b788f1b2a424731cd9324ce540cb2b69fc1c805209a2b931946125a87b716eee6b03f802804c05d3b21f16239d21d09f4dd78d00 WHIRLPOOL f069f28808c072be7befb677b1e03709a8b5d8a742b0d0845c623ba22034a40f54818132ca8ab3df313c2194ae539dc1618098f428c6cd7f457c0b44edf38d17 +EBUILD lucene-analyzers-2.3.2.ebuild 770 SHA256 a15d44ff59f97447511d77f9f7cc95929aa75755326790a3724954a0f9902c31 SHA512 39292669332a857dcb770b5fa8db81afe031ef3faa1e9f2fb8ddb3b93e26b75a9c25e706d71ef5665aaa3cf413915962894d62d71d6a7604c5201c4ca3f0fb19 WHIRLPOOL ad335d1497282d1fadefb047c1fbf1f45030a1050ffb0a7845898a0b432222661c8d3abdf8e6249aafc78ceabd6a5ca3a761602bde24a72a8235629a56c602f1 +MISC ChangeLog 2732 SHA256 6896dda4709224ac7e96fd09cee5058e2e4422ed478f524ff7c7670a71e14b2c SHA512 38f5c9692c26aabd5cb245e0a3bc99018fb17553ca2986f19aa6c538ddd7c476d23c97c6ecea1d29f4a4c3ca645b53a4ac7879d2c3dda33215b50d4c752b7a79 WHIRLPOOL 30822c788c9b4f90b0a216389072986b8f677df670a95f3e8b0903c29e18fd941d67e13cab8c0191fc3283121d07503a7d65cf1fd3f568d5f48981fb20d3d473 +MISC ChangeLog-2015 1790 SHA256 f2148da382e0db2c583b17ff97373c1e2e9aa532b33f79fd9459e0ff04408b99 SHA512 6e12e2379247735b3731582db267be96d43923cb06ed572069e4c5fd3a0b58fa5578fd6dd0562ddc74b91ddb6bb5c2e8a4d521c9aec7866b6b0a7970f690a8e5 WHIRLPOOL 39d025932e6ea50397b4f5f2a89963cd2dc22d804bc485744847b657d6a1732dd0563b9588e226ae487b43d0dd4fede6506f6510fc87511e99a124728a6f7a7b +MISC metadata.xml 455 SHA256 69900f6bd8c523c0e979a0aa4486b5b9debc5f07c85a7ca1d690e2e6332dac3c SHA512 41dd077d4e3c0771fdda58b3ea22ebe491e4c6ef342df8bcc144e09d2fbd60592c3077ce4763f238d1d8e3f53ac3bf2945da1ebcdda27841e02fbe5563f1226d WHIRLPOOL ccd9957338f63512b7d0b5f2c47e46f81a708b38463c7d66ccec0a74e725b6c5f0e115bcab5f0331edd03890041bf8e30a9cc449efa96c1fa8fe93e516fb0f2b diff --git a/dev-java/lucene-analyzers/files/manifest b/dev-java/lucene-analyzers/files/manifest new file mode 100644 index 000000000000..9ab3b27d9757 --- /dev/null +++ b/dev-java/lucene-analyzers/files/manifest @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %vendorName +Bundle-Localization: plugin +Export-Package: org.apache.lucene.analysis.br,org.apache.lucene.analysis.cjk,org.apache.lucene.analysis.cn, + org.apache.lucene.analysis.cz,org.apache.lucene.analysis.de,org.apache.lucene.analysis.el,org.apache.lucene.analysis.fr, + org.apache.lucene.analysis.nl,org.apache.lucene.analysis.ru +Bundle-SymbolicName: org.apache.lucene.analysis +Bundle-Version: 1.9.1 diff --git a/dev-java/lucene-analyzers/lucene-analyzers-1.9.1-r1.ebuild b/dev-java/lucene-analyzers/lucene-analyzers-1.9.1-r1.ebuild new file mode 100644 index 000000000000..22bd9404eb83 --- /dev/null +++ b/dev-java/lucene-analyzers/lucene-analyzers-1.9.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +JAVA_PKG_IUSE="source" +inherit java-pkg-2 java-ant-2 java-osgi + +MY_PN="${PN/lucene-}" +MY_P="${P/-${MY_PN}}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Lucene Analyzers additions" +HOMEPAGE="http://lucene.apache.org/java" +SRC_URI="mirror://apache/lucene/java/${MY_P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="1.9" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.6" +RDEPEND=">=virtual/jre-1.4" + +src_compile() { + cd "${S}/contrib/${MY_PN}" + eant +} + +src_install() { + java-osgi_newjar-fromfile "build/contrib/${MY_PN}/${PN}-1.9.2-dev.jar" \ + "${FILESDIR}/manifest" "Apache Lucene Analysis" + + use source && java-pkg_dosrc contrib/${MY_PN}/src/java/org +} diff --git a/dev-java/lucene-analyzers/lucene-analyzers-2.3.2.ebuild b/dev-java/lucene-analyzers/lucene-analyzers-2.3.2.ebuild new file mode 100644 index 000000000000..b520e4342ea0 --- /dev/null +++ b/dev-java/lucene-analyzers/lucene-analyzers-2.3.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +JAVA_PKG_IUSE="source" +inherit java-pkg-2 java-ant-2 java-osgi + +MY_PN="${PN/lucene-}" +MY_P="${P/-${MY_PN}}" + +DESCRIPTION="Lucene Analyzers additions" +HOMEPAGE="http://lucene.apache.org/java" +SRC_URI="mirror://apache/lucene/java/${MY_P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_P}/contrib/${MY_PN}" + +src_install() { + java-osgi_newjar-fromfile "${WORKDIR}/${MY_P}/build/contrib/${MY_PN}/${PN}-${SLOT}.jar" \ + "${FILESDIR}/manifest" "Apache Lucene Analysis" + + use source && java-pkg_dosrc "${S}/src/java/org" +} diff --git a/dev-java/lucene-analyzers/metadata.xml b/dev-java/lucene-analyzers/metadata.xml new file mode 100644 index 000000000000..166fe6bf054e --- /dev/null +++ b/dev-java/lucene-analyzers/metadata.xml @@ -0,0 +1,13 @@ + + + + + java@gentoo.org + Java + + + Set of analyzers (for various languages) to be used with the Lucene search library. + An analyzer's job is to take a string of text and give back a stream of tokens + (presumably words). + + -- cgit v1.2.3