diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2007-08-03 19:58:19 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2007-08-03 19:58:19 +0000 |
commit | b06f80ffb4e417c6c34cde0e6e4a00e9a17c757a (patch) | |
tree | 1bc3c389d837a697bf86057d2466219650450db5 /dev-java/poi | |
parent | Version bump, bug #186784 (diff) | |
download | historical-b06f80ffb4e417c6c34cde0e6e4a00e9a17c757a.tar.gz historical-b06f80ffb4e417c6c34cde0e6e4a00e9a17c757a.tar.bz2 historical-b06f80ffb4e417c6c34cde0e6e4a00e9a17c757a.zip |
Version bump.
Package-Manager: portage-2.1.3.2
Diffstat (limited to 'dev-java/poi')
-rw-r--r-- | dev-java/poi/Manifest | 18 | ||||
-rw-r--r-- | dev-java/poi/files/digest-poi-3.0.1 | 3 | ||||
-rw-r--r-- | dev-java/poi/poi-3.0.1.ebuild | 68 |
3 files changed, 79 insertions, 10 deletions
diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest index 31c838b7bcb8..2e376cb5aa35 100644 --- a/dev-java/poi/Manifest +++ b/dev-java/poi/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX poi-2.5-jikes-fix.patch 1190 RMD160 f7cf0f41d37e6010edd5ca081f0a7566862991bb SHA1 e525737b05fe8a84700bbe1cc677e1416d781843 SHA256 a786c5d718e3b934101607eeb7c76c2a5b5d8e245cde9e502d14cfecfc85bcf4 MD5 bf71154ca919a88d8c12da29e33ef4d9 files/poi-2.5-jikes-fix.patch 1190 RMD160 f7cf0f41d37e6010edd5ca081f0a7566862991bb files/poi-2.5-jikes-fix.patch 1190 @@ -11,6 +8,7 @@ RMD160 ae92c237134a5c54d82b373339ccf14464319c50 files/poi-3.0-src-isDateFormat.p SHA256 3a19e3f9e44e92104f87f80a7e1771bb1f0718da393cf8c5396dded65870becc files/poi-3.0-src-isDateFormat.patch 3169 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 +DIST poi-src-3.0.1-FINAL-20070705.tar.gz 18139297 RMD160 4905689c285dfcdaea4e6b8549fa5f6931777367 SHA1 8071fa954fc7be44d06652e3ef7dba3f8e8e0808 SHA256 f8a1bd7593310b53bbb7981c4f680661801011aa489bf760341c5ffa10f5cce8 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 @@ -19,6 +17,10 @@ EBUILD poi-3.0-r1.ebuild 2111 RMD160 edc7276904d52ddf239fd96057de200f59a33f7a SH MD5 f925e498bdba6cd5256fa0fb73f77de5 poi-3.0-r1.ebuild 2111 RMD160 edc7276904d52ddf239fd96057de200f59a33f7a poi-3.0-r1.ebuild 2111 SHA256 724c8a429c17426459aedf139185eada5a3cd032b875ae6cdc4cd2f4abf98f10 poi-3.0-r1.ebuild 2111 +EBUILD poi-3.0.1.ebuild 2111 RMD160 fc2e12d434c0d08b19a9b6a214649f912b6e5255 SHA1 78a62ad5dad67fc42faa1680dd1dc544be89fa21 SHA256 60b320dd435230802362231b9d3fd7fe70396fcab84bf3bae152ed18a6495da4 +MD5 ba9ff6f8eb5393953cee0c2f6496cd55 poi-3.0.1.ebuild 2111 +RMD160 fc2e12d434c0d08b19a9b6a214649f912b6e5255 poi-3.0.1.ebuild 2111 +SHA256 60b320dd435230802362231b9d3fd7fe70396fcab84bf3bae152ed18a6495da4 poi-3.0.1.ebuild 2111 MISC ChangeLog 4340 RMD160 938cf5fc2f08bc2e10241d2bf756c0712c018b5d SHA1 4b3674df3b03922a78bc74c7abd2c3dc60ce13d1 SHA256 b7daa829b4d391f9858753d060c44e3fac616d170a9959cfc2351e56bd39225e MD5 b43d7507384d0e52280421d8fb9ae354 ChangeLog 4340 RMD160 938cf5fc2f08bc2e10241d2bf756c0712c018b5d ChangeLog 4340 @@ -33,10 +35,6 @@ SHA256 f35e533477f27bb7a77aa9cee9a58abbc90eafddd334b0b1364237733110ec44 files/di MD5 ea8f76271c168dac230c84b92a4fee0b files/digest-poi-3.0-r1 286 RMD160 37a83c503a01666940229bf98551953704c1b2ea files/digest-poi-3.0-r1 286 SHA256 2c25f03585175e624b8a3abbcdd873cb6a7d129bc96fcc9bebc09126c4359530 files/digest-poi-3.0-r1 286 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) - -iD8DBQFGVKmscxLzpIGCsLQRAuArAKCG2R0nO8vUWi/lGHrsOMohjSAtGACfa+ni -VwdeSOX17Wa1O735Wg66YP8= -=I3sB ------END PGP SIGNATURE----- +MD5 58b296fa01ef8f706895f1f77e7bb716 files/digest-poi-3.0.1 292 +RMD160 fb928a793725d5df905eb69c55ddaf1d0aaf44c1 files/digest-poi-3.0.1 292 +SHA256 b5683896f472c185f75a7559ec58b5f517591b3dbeaedace38202be8510df0ff files/digest-poi-3.0.1 292 diff --git a/dev-java/poi/files/digest-poi-3.0.1 b/dev-java/poi/files/digest-poi-3.0.1 new file mode 100644 index 000000000000..0d4f1442bdf5 --- /dev/null +++ b/dev-java/poi/files/digest-poi-3.0.1 @@ -0,0 +1,3 @@ +MD5 d3a4d9729398326868e30ea55925825b poi-src-3.0.1-FINAL-20070705.tar.gz 18139297 +RMD160 4905689c285dfcdaea4e6b8549fa5f6931777367 poi-src-3.0.1-FINAL-20070705.tar.gz 18139297 +SHA256 f8a1bd7593310b53bbb7981c4f680661801011aa489bf760341c5ffa10f5cce8 poi-src-3.0.1-FINAL-20070705.tar.gz 18139297 diff --git a/dev-java/poi/poi-3.0.1.ebuild b/dev-java/poi/poi-3.0.1.ebuild new file mode 100644 index 000000000000..644695d4dd19 --- /dev/null +++ b/dev-java/poi/poi-3.0.1.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.1.ebuild,v 1.1 2007/08/03 19:58:19 fordfrog 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="20070705" +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}-FINAL + +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-2.1 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 +} |