diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-12 14:34:12 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-12 14:34:12 +0000 |
commit | 9c07e8787b49f530d98bf9a112a46fa892ab693a (patch) | |
tree | b814175e9ca497f3c71afa4f630df5377c2dd8f2 | |
parent | Added app-admin/livecd-ng to mask for removal. (diff) | |
download | gentoo-2-9c07e8787b49f530d98bf9a112a46fa892ab693a.tar.gz gentoo-2-9c07e8787b49f530d98bf9a112a46fa892ab693a.tar.bz2 gentoo-2-9c07e8787b49f530d98bf9a112a46fa892ab693a.zip |
Version bump.
(Portage version: 2.1.2_rc4-r7)
-rw-r--r-- | dev-java/joda-time/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/joda-time/files/digest-joda-time-0.95 | 2 | ||||
-rw-r--r-- | dev-java/joda-time/files/digest-joda-time-1.4 | 3 | ||||
-rw-r--r-- | dev-java/joda-time/joda-time-1.4.ebuild | 51 |
4 files changed, 62 insertions, 1 deletions
diff --git a/dev-java/joda-time/ChangeLog b/dev-java/joda-time/ChangeLog index a02f9f55806d..bf9d5e109fd5 100644 --- a/dev-java/joda-time/ChangeLog +++ b/dev-java/joda-time/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/joda-time # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.13 2007/01/12 14:16:28 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.14 2007/01/12 14:34:12 betelgeuse Exp $ + +*joda-time-1.4 (12 Jan 2007) + + 12 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> +joda-time-1.4.ebuild: + Version bump. 12 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> -joda-time-1.0.ebuild, -joda-time-1.2.ebuild: diff --git a/dev-java/joda-time/files/digest-joda-time-0.95 b/dev-java/joda-time/files/digest-joda-time-0.95 index c43a5887c9f8..31d7dace1d7e 100644 --- a/dev-java/joda-time/files/digest-joda-time-0.95 +++ b/dev-java/joda-time/files/digest-joda-time-0.95 @@ -1 +1,3 @@ MD5 610180a318af3afc21eeb65863ff8f75 joda-time-0.95-src.tar.gz 804251 +RMD160 6e7a8970de756fe587b044cfb7d866537a711775 joda-time-0.95-src.tar.gz 804251 +SHA256 0f52e83fb9916758fb859035cac5e4aeb570defa278647f9835b38345fc95a79 joda-time-0.95-src.tar.gz 804251 diff --git a/dev-java/joda-time/files/digest-joda-time-1.4 b/dev-java/joda-time/files/digest-joda-time-1.4 new file mode 100644 index 000000000000..12232760fbde --- /dev/null +++ b/dev-java/joda-time/files/digest-joda-time-1.4 @@ -0,0 +1,3 @@ +MD5 44997ed94a92f85c6e70ef02cfae2f5d joda-time-1.4-src.tar.gz 1206046 +RMD160 68cd218a762cc55e5477ddc61077f83b402bf2d0 joda-time-1.4-src.tar.gz 1206046 +SHA256 31b4c1a3a3ff1742d41b5b5ec69fe1b84f38cd383bdb214fe0e07fc870b47a40 joda-time-1.4-src.tar.gz 1206046 diff --git a/dev-java/joda-time/joda-time-1.4.ebuild b/dev-java/joda-time/joda-time-1.4.ebuild new file mode 100644 index 000000000000..cb2c7853f04c --- /dev/null +++ b/dev-java/joda-time/joda-time-1.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/joda-time-1.4.ebuild,v 1.1 2007/01/12 14:34:12 betelgeuse Exp $ + +inherit java-pkg-2 java-ant-2 + +MY_P="${P}-src" + +DESCRIPTION="A quality open-source replacement for the Java Date and Time classes." +HOMEPAGE="http://joda-time.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc source test" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + source? ( app-arch/zip ) + test? ( + dev-java/junit + dev-java/ant + )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + rm -v ${P}.jar +} + +src_compile() { + # chokes on static inner class making instance of non-static inner class + java-pkg_filter-compiler jikes + # little trick so it doesn't try to download junit + eant -Djunit.ant=1 -Djunit.present=1 jar $(use_doc) +} + +src_test() { + eant -Djunit.jar="$(java-pkg_getjars junit)" test +} + +src_install() { + java-pkg_newjar build/${P}.jar ${PN}.jar + + dodoc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt ToDo.txt + use doc && java-pkg_dojavadoc build/docs + use source && java-pkg_dosrc src/java +} |