From dee111398f344d0657171256daaadba66eed0c4e Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Sun, 22 Apr 2007 08:56:08 +0000 Subject: [PATCH] Version bump, new slot, bug #139690. Now installs both lucene-core.jar and lucene-demos.jar, because pdfbox needs them. Uses javacc during compile, so had to drop ~ia64 and ~x86-fbsd. Package-Manager: portage-2.1.2.4 --- dev-java/lucene/ChangeLog | 9 +++- dev-java/lucene/Manifest | 26 ++++++------ dev-java/lucene/files/digest-lucene-2.1.0 | 3 ++ dev-java/lucene/lucene-2.1.0.ebuild | 50 +++++++++++++++++++++++ 4 files changed, 73 insertions(+), 15 deletions(-) create mode 100644 dev-java/lucene/files/digest-lucene-2.1.0 create mode 100644 dev-java/lucene/lucene-2.1.0.ebuild diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog index 00f63db674fb..439d51c70df6 100644 --- a/dev-java/lucene/ChangeLog +++ b/dev-java/lucene/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/lucene # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.27 2007/02/18 17:41:23 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.28 2007/04/22 08:56:08 caster Exp $ + +*lucene-2.1.0 (22 Apr 2007) + + 22 Apr 2007; Vlastimil Babka +lucene-2.1.0.ebuild: + Version bump, new slot, bug #139690. Now installs both lucene-core.jar and + lucene-demos.jar, because pdfbox needs them. Uses javacc during compile, so + had to drop ~ia64 and ~x86-fbsd. 18 Feb 2007; Petteri Räty -lucene-1.4.1.ebuild, -lucene-1.4.3.ebuild: diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest index 56a13d061058..8b9ed4632382 100644 --- a/dev-java/lucene/Manifest +++ b/dev-java/lucene/Manifest @@ -1,15 +1,17 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST lucene-1.4.3-src.tar.gz 768320 RMD160 e865c15885722e87c437d36e60fabd333976fb14 SHA1 7a7b62aa57ca4bae3a83c37aeb494592a677ef01 SHA256 62051daecebbae50c4e9d1c4d840f32fc58d85b0a5b370095c98e346c9ba1049 +DIST lucene-2.1.0-src.tar.gz 8154476 RMD160 c9c82dd8a6408a5b5526efa31d7d5045afe687a3 SHA1 7ac1dfc586f8c1397090d0893050b761dcdfd07e SHA256 b18c6bff8d74ddd6baabf9288aec45c34e90d74f6688657a4af2cbd0847e6ad9 EBUILD lucene-1.4.3-r2.ebuild 1048 RMD160 97408ebb9f71c53f51632cbf8e33a6e3f71091be SHA1 b075a8a67228ecee4707ab65a1f6e6918691f71d SHA256 8a68a03cc3c43b060b47419daf21de8f344ae37d99916112f7fa4cf6a9eef2fb MD5 854aabf9722144ec2f984b1b6edfa3f5 lucene-1.4.3-r2.ebuild 1048 RMD160 97408ebb9f71c53f51632cbf8e33a6e3f71091be lucene-1.4.3-r2.ebuild 1048 SHA256 8a68a03cc3c43b060b47419daf21de8f344ae37d99916112f7fa4cf6a9eef2fb lucene-1.4.3-r2.ebuild 1048 -MISC ChangeLog 3546 RMD160 025bd411714f48f8ca58597db30fe15ffd82f109 SHA1 08d375b585b3da266740b4bdd6ebabe562a84e2a SHA256 87e4efd3a35729361a0307849bb025f1dd43987b82bbe7adf7e64c1f76b58a87 -MD5 01fbd2d112be8e7305434aaf15241914 ChangeLog 3546 -RMD160 025bd411714f48f8ca58597db30fe15ffd82f109 ChangeLog 3546 -SHA256 87e4efd3a35729361a0307849bb025f1dd43987b82bbe7adf7e64c1f76b58a87 ChangeLog 3546 +EBUILD lucene-2.1.0.ebuild 1636 RMD160 b6e694a8f0741deb14b7b8a48ef803e477de2d96 SHA1 748d3d8c22b125abcc01d9ac3a77325667dc3df3 SHA256 d82baa63e07c0ceedfce944d40b37f65e7d74032beb55b824bd84fabc39a87da +MD5 48dd62f6f4b8390d23b307a0921b4fdc lucene-2.1.0.ebuild 1636 +RMD160 b6e694a8f0741deb14b7b8a48ef803e477de2d96 lucene-2.1.0.ebuild 1636 +SHA256 d82baa63e07c0ceedfce944d40b37f65e7d74032beb55b824bd84fabc39a87da lucene-2.1.0.ebuild 1636 +MISC ChangeLog 3835 RMD160 ff68e8cab6476e55896918e1836b3a121cdcd0ba SHA1 23d1eaa9587d1b3e2c24807e4b8f5dc6720d8f1d SHA256 858af4303312839b1b0249b35714b391bbe503cb4f51eb5c134337052436f30c +MD5 b69c0dc5b18d406302496b7b4ac07002 ChangeLog 3835 +RMD160 ff68e8cab6476e55896918e1836b3a121cdcd0ba ChangeLog 3835 +SHA256 858af4303312839b1b0249b35714b391bbe503cb4f51eb5c134337052436f30c ChangeLog 3835 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -17,10 +19,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata MD5 da735d3f5336c345c46257a9186fd020 files/digest-lucene-1.4.3-r2 250 RMD160 6d86a59a67c2db8125199e3ea6a5a79f39072540 files/digest-lucene-1.4.3-r2 250 SHA256 2a543b1c331e9d4b66fb868741b4cffe832758e0137bbca6540adfb8cc7cefc2 files/digest-lucene-1.4.3-r2 250 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFF2I8ccxLzpIGCsLQRAumUAKCMa9mlBitiDnE3sQDzU5wr0TKYmgCgg0ak -6EmlX9otfnFuREHauMmELBY= -=2G3r ------END PGP SIGNATURE----- +MD5 320640eb2e83d66177037b01aec1b692 files/digest-lucene-2.1.0 253 +RMD160 96497605a5550c44c28035236094423e74081833 files/digest-lucene-2.1.0 253 +SHA256 f60385c20995239dc80f69f558c0781178813140c71a5549e7b7b112966b6bce files/digest-lucene-2.1.0 253 diff --git a/dev-java/lucene/files/digest-lucene-2.1.0 b/dev-java/lucene/files/digest-lucene-2.1.0 new file mode 100644 index 000000000000..51b1a9d81d4c --- /dev/null +++ b/dev-java/lucene/files/digest-lucene-2.1.0 @@ -0,0 +1,3 @@ +MD5 13fd94e3fa24784b7fc0d74bd94ebe5f lucene-2.1.0-src.tar.gz 8154476 +RMD160 c9c82dd8a6408a5b5526efa31d7d5045afe687a3 lucene-2.1.0-src.tar.gz 8154476 +SHA256 b18c6bff8d74ddd6baabf9288aec45c34e90d74f6688657a4af2cbd0847e6ad9 lucene-2.1.0-src.tar.gz 8154476 diff --git a/dev-java/lucene/lucene-2.1.0.ebuild b/dev-java/lucene/lucene-2.1.0.ebuild new file mode 100644 index 000000000000..56c999b94038 --- /dev/null +++ b/dev-java/lucene/lucene-2.1.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-2.1.0.ebuild,v 1.1 2007/04/22 08:56:08 caster Exp $ + +JAVA_PKG_IUSE="doc source test" +JAVA_PKG_BSFIX_ALL="no" +JAVA_PKG_BSFIX_NAME="build.xml common-build.xml" +WANT_SPLIT_ANT="true" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="High-performance, full-featured text search engine written entirely in Java" +HOMEPAGE="http://jakarta.apache.org/lucene" +SRC_URI="mirror://apache/lucene/java/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-nodeps + dev-java/javacc + test? ( dev-java/ant-junit =dev-java/junit-3* )" +RDEPEND=">=virtual/jdk-1.4" + +src_compile() { + # regenerate javacc files just because we can + # put javacc.jar on ant's classpath here even when task + # doesn't use it - it's to fool the test, first time + # it's useful not to have ignoresystemclasses=true... + ANT_TASKS="ant-nodeps javacc" eant \ + -Djavacc.home=/usr/share/javacc/lib javacc + ANT_TASKS="none" eant -Dversion=${PV} jar-core jar-demo $(use_doc javadocs) +} + +src_test() { + java-ant_rewrite-classpath common-build.xml + local gcp="$(java-pkg_getjars junit)" + ANT_TASKS="ant-junit" eant -Dgentoo.classpath="${gcp}" test +} + +src_install() { + dodoc CHANGES.txt README.txt + 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/* + java-pkg_dojavadoc build/docs/api + fi + use source && java-pkg_dosrc src/java/org +} -- 2.26.2