diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-22 18:00:03 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-05-22 18:00:03 +0000 |
commit | 3306e08ea1e6b56786b687691f30411cfce3733d (patch) | |
tree | 560699a4604e3dcd8b969523847b4060bda5bc12 /dev-java/poi | |
parent | Keyworded ~sparc (diff) | |
download | historical-3306e08ea1e6b56786b687691f30411cfce3733d.tar.gz historical-3306e08ea1e6b56786b687691f30411cfce3733d.tar.bz2 historical-3306e08ea1e6b56786b687691f30411cfce3733d.zip |
Version bump. Adds examples use flag support and src_test.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-java/poi')
-rw-r--r-- | dev-java/poi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/poi/Manifest | 24 | ||||
-rw-r--r-- | dev-java/poi/files/digest-poi-3.0 | 3 | ||||
-rw-r--r-- | dev-java/poi/poi-3.0.ebuild | 68 |
4 files changed, 93 insertions, 9 deletions
diff --git a/dev-java/poi/ChangeLog b/dev-java/poi/ChangeLog index a4aa6006f067..5e9c1e6ea8e1 100644 --- a/dev-java/poi/ChangeLog +++ b/dev-java/poi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/poi # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.27 2007/04/28 20:12:31 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.28 2007/05/22 18:00:03 betelgeuse Exp $ + +*poi-3.0 (22 May 2007) + + 22 May 2007; Petteri Räty <betelgeuse@gentoo.org> +poi-3.0.ebuild: + Version bump. Adds examples use flag support and src_test. 28 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> poi-2.5.1-r1.ebuild: Fix building with Java strict mode. diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest index fd1076765544..f196970507df 100644 --- a/dev-java/poi/Manifest +++ b/dev-java/poi/Manifest @@ -6,14 +6,19 @@ MD5 bf71154ca919a88d8c12da29e33ef4d9 files/poi-2.5-jikes-fix.patch 1190 RMD160 f7cf0f41d37e6010edd5ca081f0a7566862991bb files/poi-2.5-jikes-fix.patch 1190 SHA256 a786c5d718e3b934101607eeb7c76c2a5b5d8e245cde9e502d14cfecfc85bcf4 files/poi-2.5-jikes-fix.patch 1190 DIST poi-src-2.5.1-final-20040804.tar.gz 6870414 RMD160 47707ec7db9cb5b2650d6eddaf0f351fee3237f5 SHA1 3d7f211e47f58007c3d0bcf891adba33d25482d5 SHA256 783c6c36b9762aafd3386adcfbe71ad46aaa14d9fe20545c4a60eb591cfe0cc1 +DIST poi-src-3.0-FINAL-20070503.tar.gz 16284462 RMD160 e4db3f249324ca84fb2b7b99d96c1879ebaf08ca SHA1 0cb36b01856649fdd8152d98ba999f44289dc89f SHA256 48a5aabb873d4cc654c95acf6576868d7a8a3ee97e1c6418e1d716698b6efa76 EBUILD poi-2.5.1-r1.ebuild 1624 RMD160 3f7f4af6ad9f1a41bc413c0dce075601e2496689 SHA1 9272b615965d4e76a80a8d6bcde4e7877e7c9403 SHA256 f16f5b758d6a37c1b406587223a98f4ccb84417b8e537aa08eb082c16514595d MD5 c15dde6871548a1df7d54e18d4699153 poi-2.5.1-r1.ebuild 1624 RMD160 3f7f4af6ad9f1a41bc413c0dce075601e2496689 poi-2.5.1-r1.ebuild 1624 SHA256 f16f5b758d6a37c1b406587223a98f4ccb84417b8e537aa08eb082c16514595d poi-2.5.1-r1.ebuild 1624 -MISC ChangeLog 3778 RMD160 75ffe7159a14906de6eabc96789c8f41fe786973 SHA1 919e109ece9f9eb2e4c243a0f067831ce08f9759 SHA256 4b39c21c2eacf6f4838da4a5dd2ed58a81816027e08eb7e641839acba906122d -MD5 5a6aaef1155066cc7e1daa5ee9a5a320 ChangeLog 3778 -RMD160 75ffe7159a14906de6eabc96789c8f41fe786973 ChangeLog 3778 -SHA256 4b39c21c2eacf6f4838da4a5dd2ed58a81816027e08eb7e641839acba906122d ChangeLog 3778 +EBUILD poi-3.0.ebuild 2104 RMD160 51402913f997402cd5499fc5a114704dc8d55972 SHA1 08f88956667e7fb0ab9a550484210118a350d77b SHA256 9273727da8934975bddca1a5ba0a0d0cdcf91e76062e83757cdf9c936b6dab05 +MD5 5d6282e8114e23a78d5ca1a18313ceda poi-3.0.ebuild 2104 +RMD160 51402913f997402cd5499fc5a114704dc8d55972 poi-3.0.ebuild 2104 +SHA256 9273727da8934975bddca1a5ba0a0d0cdcf91e76062e83757cdf9c936b6dab05 poi-3.0.ebuild 2104 +MISC ChangeLog 3936 RMD160 9bfe8a0d62dd863e401127656dfcf4a0e4a6bd1a SHA1 a6c6f431b5521111ac42cfade205b9fa36c3f6d6 SHA256 69c195b76cb1fb495e5146682f73e620863e62b0b51f72b932002612dafe62bb +MD5 41e2249761e5264353e607feb35c8cf0 ChangeLog 3936 +RMD160 9bfe8a0d62dd863e401127656dfcf4a0e4a6bd1a ChangeLog 3936 +SHA256 69c195b76cb1fb495e5146682f73e620863e62b0b51f72b932002612dafe62bb ChangeLog 3936 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -21,10 +26,13 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata MD5 dc268d3c0bfdbd437b92674b5acb87fc files/digest-poi-2.5.1-r1 289 RMD160 26e2aefebb6a47a977170b40c36d4200fd959b11 files/digest-poi-2.5.1-r1 289 SHA256 f35e533477f27bb7a77aa9cee9a58abbc90eafddd334b0b1364237733110ec44 files/digest-poi-2.5.1-r1 289 +MD5 ea8f76271c168dac230c84b92a4fee0b files/digest-poi-3.0 286 +RMD160 37a83c503a01666940229bf98551953704c1b2ea files/digest-poi-3.0 286 +SHA256 2c25f03585175e624b8a3abbcdd873cb6a7d129bc96fcc9bebc09126c4359530 files/digest-poi-3.0 286 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGM6rlgo/w9rxVVVERAoGyAKCdD3IEoaIhahOeN85VxdkpxlCjigCfV044 -EJEg8/MulQbwRnrfaRLsI6A= -=Hsit +iD8DBQFGUy+qcxLzpIGCsLQRAibpAKCYVIrYZfCgreCeoVzAfmyoFBJUYQCfUMhz +wQ9ftXdWE8a8vo1S/l0181U= +=GZQr -----END PGP SIGNATURE----- diff --git a/dev-java/poi/files/digest-poi-3.0 b/dev-java/poi/files/digest-poi-3.0 new file mode 100644 index 000000000000..28a8e3799ec4 --- /dev/null +++ b/dev-java/poi/files/digest-poi-3.0 @@ -0,0 +1,3 @@ +MD5 1fb488c4061256197a667f1c480ffc33 poi-src-3.0-FINAL-20070503.tar.gz 16284462 +RMD160 e4db3f249324ca84fb2b7b99d96c1879ebaf08ca poi-src-3.0-FINAL-20070503.tar.gz 16284462 +SHA256 48a5aabb873d4cc654c95acf6576868d7a8a3ee97e1c6418e1d716698b6efa76 poi-src-3.0-FINAL-20070503.tar.gz 16284462 diff --git a/dev-java/poi/poi-3.0.ebuild b/dev-java/poi/poi-3.0.ebuild new file mode 100644 index 000000000000..05c3eb80e929 --- /dev/null +++ b/dev-java/poi/poi-3.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/poi-3.0.ebuild,v 1.1 2007/05/22 18:00:03 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc examples source" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java API To Access Microsoft Format Files" +HOMEPAGE="http://jakarta.apache.org/poi/" +RELEASE_DATE="20070503" +SRC_URI="mirror://apache/jakarta/poi/release/src/${PN}-src-${PV}-FINAL-${RELEASE_DATE}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +COMMON_DEPEND=" + =dev-java/commons-beanutils-1.7* + =dev-java/commons-lang-2.1* + >=dev-java/commons-logging-1.1" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEPEND} + test? ( dev-java/ant-junit )" + +S=${WORKDIR}/${P}-rc4 + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch ${FILESDIR}/${P}-src-isDateFormat.patch + + find -name "*.jar" | xargs rm -v + + cd "${S}/lib" + java-pkg_jar-from commons-logging commons-logging.jar commons-logging-1.1.jar + use test && java-pkg_jar-from --build-only junit junit.jar junit-3.8.1.jar + + cd "${S}/src/contrib/lib" + java-pkg_jar-from commons-beanutils-1.7 commons-beanutils.jar commons-beanutils-1.7.0.jar + java-pkg_jar-from commons-lang commons-lang.jar commons-lang-2.1.jar +} + +src_compile() { + # the same target compiles the source and the test so we just mess with + # the source directory + eant jar $(use_doc javadocs) -Ddisconnected=true \ + $(use !test && echo -Dmain.src.test=legal -Dscratchpad.src.test=legal) +} + +src_test() { + ANT_TASKS="ant-junit" eant test -Ddisconnected=true +} + +src_install() { + use doc && java-pkg_dojavadoc build/tmp/site/build/site/* + use examples && java-pkg_doexamples src/examples/* src/scratchpad/examples/* + use source && java-pkg_dosrc src/contrib/src/org src/java/org src/scratchpad/src/org + + cd build/dist + local VERSION=$(get_version_component_range 1-2) + java-pkg_newjar poi-scratchpad-${VERSION}* ${PN}-scratchpad.jar + java-pkg_newjar poi-contrib-${VERSION}* ${PN}-contrib.jar + java-pkg_newjar poi-${VERSION}* ${PN}.jar +} |