diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-10-22 12:31:06 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-10-22 12:31:06 +0000 |
commit | ec37af58a8312161389584dd313623e21668007e (patch) | |
tree | d4e9e5cca7187d93cb5911cfbff17e0e0fdfe43e /dev-java/poi | |
parent | Migrated to EAPI-1 and restricted to dev-java/poi:0 because of incompatibilit... (diff) | |
download | historical-ec37af58a8312161389584dd313623e21668007e.tar.gz historical-ec37af58a8312161389584dd313623e21668007e.tar.bz2 historical-ec37af58a8312161389584dd313623e21668007e.zip |
Version bump. Packages depending on dev-java/poi are not compatible with this release so this release is slotted 3.2.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'dev-java/poi')
-rw-r--r-- | dev-java/poi/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/poi/Manifest | 4 | ||||
-rw-r--r-- | dev-java/poi/poi-3.2.ebuild | 62 |
3 files changed, 72 insertions, 2 deletions
diff --git a/dev-java/poi/ChangeLog b/dev-java/poi/ChangeLog index 1c6578533af7..0bba25cba7b5 100644 --- a/dev-java/poi/ChangeLog +++ b/dev-java/poi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/poi # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.46 2008/05/01 15:49:06 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/ChangeLog,v 1.47 2008/10/22 12:31:06 fordfrog Exp $ + +*poi-3.2 (22 Oct 2008) + + 22 Oct 2008; Miroslav Šulc <fordfrog@gentoo.org> +poi-3.2.ebuild: + Version bump. Packages depending on dev-java/poi are not compatible with + this release so this release is slotted 3.2. 01 May 2008; Brent Baude <ranger@gentoo.org> poi-3.0.2-r1.ebuild: stable ppc64, bug 219664 diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest index eb438c8f2e87..701322f49db3 100644 --- a/dev-java/poi/Manifest +++ b/dev-java/poi/Manifest @@ -3,7 +3,9 @@ AUX poi-3.0.2-isADateFormat.patch 426 RMD160 9e632f537b421f93072478efab6e47292ad AUX poi-3.0.2-isADateFormatTest.patch 1510 RMD160 d2855d9a712fe4f53e736dd2dd1e6618462c52bd SHA1 2e49d0ed6ab4cf46aae1bdd96a0a7f5086a977ad SHA256 bf85316356588eda2c4815a34eeb133b2771642b78c5d47140120d4af737f9ce DIST poi-src-3.0.1-FINAL-20070705.tar.gz 18139297 RMD160 4905689c285dfcdaea4e6b8549fa5f6931777367 SHA1 8071fa954fc7be44d06652e3ef7dba3f8e8e0808 SHA256 f8a1bd7593310b53bbb7981c4f680661801011aa489bf760341c5ffa10f5cce8 DIST poi-src-3.0.2-FINAL-20080204.tar.gz 19034308 RMD160 4260e3094f206a837610f31a15cd7edf080a147b SHA1 8ecdf131ca6e4a52a059405e63d92f4854a2c69e SHA256 38a3d599fb75eaaa7c70fec230a9a88c192080b4c07fc9e7c7a31f8b26c8e4eb +DIST poi-src-3.2-FINAL-20081019.tar.gz 25909967 RMD160 1bf5f7b547e37ef746531b31ed9fa9e55a7f01c3 SHA1 4cc0f7426379e16454147e94b4a6fa62ca5255e4 SHA256 7f39291c4ea12420676680c7e21923e4579b73122710873448dba1673ad03804 EBUILD poi-3.0.1-r1.ebuild 2248 RMD160 9194f795b77edddfe0f2e00492b3ed39af9e7836 SHA1 87c370ae16c7f66bf3f54b70040e0a4289b2ba6d SHA256 721d12735bd40cd826ca6cf04d4dc09fb76150f16d32523aa4ee38f9d75b96cd EBUILD poi-3.0.2-r1.ebuild 2353 RMD160 dce2532c2f9aaea54fec6f47c00c8923394f7414 SHA1 70649363d9cab6c8d3db55761855c4d98eea6e2d SHA256 e591e2b908df0264af1d220f001eb8300189c393bfd2333213ff38f7117fec17 -MISC ChangeLog 6460 RMD160 d7aa20660aebff9d751bdd0b91f22a6f79f2a0d9 SHA1 cac40a9097749928ffad3aa8d439cc708043ea4d SHA256 646154fd39e2c34e88ef1f5b4158f9e1a9bfdd462ed55d560d66aa05a2693f93 +EBUILD poi-3.2.ebuild 1819 RMD160 4dee36b62e90a88fd05bd12e3ecbabced97a8a0f SHA1 1cc520bd6e678fc8c2c0b67925530d7dfe50f943 SHA256 dd9d84df094fcc0f3b85373df6653a21f0316e93155cadc8f0c3db16d75ed8d1 +MISC ChangeLog 6678 RMD160 6816c53d5785363c72281dc7caef502b9409a63b SHA1 87c028c7ab664aaa545895b1d29ac65f6fe72805 SHA256 d7007eff81510ede097feff67ecbe847db91708b3334d88505cf02c28fbad550 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 diff --git a/dev-java/poi/poi-3.2.ebuild b/dev-java/poi/poi-3.2.ebuild new file mode 100644 index 000000000000..6561ba9eba53 --- /dev/null +++ b/dev-java/poi/poi-3.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/poi/poi-3.2.ebuild,v 1.1 2008/10/22 12:31:06 fordfrog Exp $ + +EAPI=1 +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="20081019" +SRC_URI="mirror://apache/poi/release/src/${PN}-src-${PV}-FINAL-${RELEASE_DATE}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.2" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +COMMON_DEPEND=" + >=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}" + 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 + + java-pkg_filter-compiler jikes +} + +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/apidocs + 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 || die "Cannot change to dist directory" + java-pkg_newjar poi-scratchpad-${PV}* ${PN}-scratchpad.jar + java-pkg_newjar poi-contrib-${PV}* ${PN}-contrib.jar + java-pkg_newjar poi-${PV}* ${PN}.jar +} |