diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2011-01-28 14:04:40 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2011-01-28 14:04:40 +0000 |
commit | b847274f0b14fe93c336b15842eeeb0250419a3b (patch) | |
tree | db4b8cc11a332e314d1aa9cf7675f535da112353 /dev-java | |
parent | Version bump (diff) | |
download | historical-b847274f0b14fe93c336b15842eeeb0250419a3b.tar.gz historical-b847274f0b14fe93c336b15842eeeb0250419a3b.tar.bz2 historical-b847274f0b14fe93c336b15842eeeb0250419a3b.zip |
dev-java/lucene: version bump
Package-Manager: portage-2.1.9.35/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/lucene/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/lucene/Manifest | 14 | ||||
-rw-r--r-- | dev-java/lucene/lucene-3.0.3.ebuild | 61 |
3 files changed, 72 insertions, 13 deletions
diff --git a/dev-java/lucene/ChangeLog b/dev-java/lucene/ChangeLog index 6543d1487986..69a1e916f2ff 100644 --- a/dev-java/lucene/ChangeLog +++ b/dev-java/lucene/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/lucene -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.72 2010/06/01 14:49:21 josejx Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/ChangeLog,v 1.73 2011/01/28 14:04:40 fordfrog Exp $ + +*lucene-3.0.3 (28 Jan 2011) + + 28 Jan 2011; Miroslav Šulc <fordfrog@gentoo.org> +lucene-3.0.3.ebuild: + Version bump. The new ebuild removes bundled jars and puts junit on classpath + for compilation always, because javacc builds tests too. 01 Jun 2010; Joseph Jezak <josejx@gentoo.org> lucene-3.0.0.ebuild: Marked ppc stable for bug #300002. diff --git a/dev-java/lucene/Manifest b/dev-java/lucene/Manifest index a2635a4d364c..67f668ddabff 100644 --- a/dev-java/lucene/Manifest +++ b/dev-java/lucene/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX disable-contrib.patch 2457 RMD160 a84c94094fab55c8b3fbf7c66f81518a2b9c0a37 SHA1 259d8abacdd8f1c2de2fb438e8ad5d38443169da SHA256 ddaa9d857e09ec02f64acdfb94c2eeff2b9ce061833b13822d2ecfac3bd8290f AUX lucene-manifest 505 RMD160 82ee9900dee2f4ccee3d8b7b19b94c613326e473 SHA1 3cfc8148961f45eaa194e97948bd9c726c946247 SHA256 47d26e144e15ac7d675547630f8d4d4399244eaaf1fb84429a7f82e806463218 DIST lucene-1.4.3-src.tar.gz 768320 RMD160 e865c15885722e87c437d36e60fabd333976fb14 SHA1 7a7b62aa57ca4bae3a83c37aeb494592a677ef01 SHA256 62051daecebbae50c4e9d1c4d840f32fc58d85b0a5b370095c98e346c9ba1049 @@ -14,6 +11,7 @@ DIST lucene-2.4.0-src.tar.gz 5053702 RMD160 c6c33faec176af806bf5e70ccef76458b1fd DIST lucene-2.4.1-src.tar.gz 5057003 RMD160 ee991b32ad4729a647d94fb62c43a02dfb8568bd SHA1 7e4b31458255d6f0fa6b5a0fa9148a4ef1fb5a85 SHA256 47ecc5e105717d356e0468433d1a60f84f620d79ff9f48a78ca4be6c349b6a10 DIST lucene-2.9.1-src.tar.gz 12459850 RMD160 dc8467e31c17038fae140831fa7a0c87bb956194 SHA1 edd7b39ad1aa65fce4112a4f6b14335376c1de04 SHA256 7e1d06d3bbc2a71889c84f5f89c8af0b438184097a57e7070790c79a1aeb9102 DIST lucene-3.0.0-src.tar.gz 12421467 RMD160 ff42a7084f7f3fc2e0bdd0f14c6fd96d4ef8dc03 SHA1 45e6c44c15eaaf866dffc81379279036eaec971f SHA256 661fc4eec33c2c509c1a53896da469304a51c5cc5ce51313d9f77f385c63346a +DIST lucene-3.0.3-src.tar.gz 12446839 RMD160 163a0d8130ef27c9b55bc055cdd4286c1e2e9e3b SHA1 68a312095b44f24dec253059f3abf314e19cce5e SHA256 91365fe5af0279b7b6300f17033580746c90272417665d9572db1c1a9d1ba37e EBUILD lucene-1.4.3-r3.ebuild 1201 RMD160 b3ab6dee5897d9b48f93e7b6ed71a3a4803891a2 SHA1 bcfb3635a2855f2fdb77939a4401efc92d44b6c2 SHA256 3f941a5c8bde393964bf63595b69497e1ed81d81edc824c6228c7219f4d4610c EBUILD lucene-1.9.1.ebuild 1480 RMD160 d3ca6f1c62b574430d4b5cc6163aa4404e64c6bf SHA1 a4700771a499b329c0cacc9a3bcd26528866c348 SHA256 f4b5c9847ec6d0ccf17bec623f4ccab6c2fb3e33681ec26d0891650b6528f910 EBUILD lucene-2.1.0-r1.ebuild 1608 RMD160 ae8719197775250a37b8c974d6e6065dc85b95c4 SHA1 ed1d20106fcdb11ed805176ea35c0e9e896168da SHA256 a8c3ba5a90d15bb8c83175a75ccdf39395d34404eb30068833ded82abea1a700 @@ -27,12 +25,6 @@ EBUILD lucene-2.4.0.ebuild 1865 RMD160 84129bf4577979f4f160c34dbaef5a1edb7c826c EBUILD lucene-2.4.1.ebuild 1863 RMD160 d75cb32cdc274ba44a106f81b965b1a6b0e44611 SHA1 aa862fa6c104a1418a4b244d682c97e3debfbeff SHA256 f7da33646d98c40119005cf0b2be16d2378d6ddcafe3eef8f6010822651ddf10 EBUILD lucene-2.9.1-r1.ebuild 1856 RMD160 df5582532889cc78fa59715c4f15b7776dcc7b35 SHA1 0cad841c458cc49b258ba58af4cb6e5cf930d368 SHA256 2b5957e1f97407add90ec065fdcf04b8ef096e90a2a5f03506d050203bb7ba13 EBUILD lucene-3.0.0.ebuild 1853 RMD160 4435ab1577400d8e291fccbe4f2932585b1000d5 SHA1 cd940aa0bc3d81b4e3da80f14ef20f6954c45b66 SHA256 3ecfa556c90c1a8a5897b5d64844b9a5251a806f284e130bf8c289501dece8a2 -MISC ChangeLog 9757 RMD160 5eea7b7b7373af58e319c47fa25632397b3c36c8 SHA1 a9b8c011a412b887c897858885ed656048edb786 SHA256 269095ddcffef418cc321f31ad3b33150a6c0ba1e6cd9a1f632835041297ba0c +EBUILD lucene-3.0.3.ebuild 2077 RMD160 b2d82c125bb6b754a7aaa8b3f2af34f2b5d70749 SHA1 7d7f67b78bea921d412922ec0d2bfddebde65a50 SHA256 631ce183408a80b0b450d2708e63abb218b9bd33634a7db25a86c9d719e9a21c +MISC ChangeLog 10002 RMD160 d33d326cd41d0818e07c1536f252fc90ed5a6d04 SHA1 24e8a72e64974b278d929cbc4c11bc97d304d339 SHA256 cdf7033bfce43717e4f79b5e85eadd1578de5cd6669df0d279380bd5bf9bb542 MISC metadata.xml 286 RMD160 7ffc68ccd1e5e140d8f02fac2515611577d8ced7 SHA1 767c66c35ce232e683a70d4b8a3340d2af8fcf25 SHA256 1d61296c0f173473153e45ea775cb6909a64a10d89476c8519b3e6fd2cd6461a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAkwFHbsACgkQcsIHjyDViGTTlwCdE1c9lXGA6TMfRoVN48Fk96/J -jmoAn3DMaSnyCJmWSqmdoq5S9UC5xMgu -=znch ------END PGP SIGNATURE----- diff --git a/dev-java/lucene/lucene-3.0.3.ebuild b/dev-java/lucene/lucene-3.0.3.ebuild new file mode 100644 index 000000000000..e74d00704987 --- /dev/null +++ b/dev-java/lucene/lucene-3.0.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-3.0.3.ebuild,v 1.1 2011/01/28 14:04:40 fordfrog Exp $ + +EAPI="2" +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://jakarta.apache.org/lucene" +# 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="3.0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant-nodeps:0 + dev-java/javacc:0 + dev-java/junit:0 + test? ( dev-java/ant-junit )" +# junit is needed for compilation because tests are compiled for javacc target even when not requested +RDEPEND=">=virtual/jdk-1.5" + +java_prepare() { + find -name "*.jar" -type f | xargs rm -v + sed -i -e '/-Xmax/ d' common-build.xml + java-pkg_jar-from --build-only --into lib junit junit.jar junit-3.8.2.jar +} + +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=/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 +} |