diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-10-30 00:31:49 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-10-30 00:31:49 +0000 |
commit | 014ad0611f87d6ec60e9c39f140ccd544f592f63 (patch) | |
tree | 84b77d0e6032b394855fe6e374001c84bac2ecbc /dev-java | |
parent | Double Bump (diff) | |
download | gentoo-2-014ad0611f87d6ec60e9c39f140ccd544f592f63.tar.gz gentoo-2-014ad0611f87d6ec60e9c39f140ccd544f592f63.tar.bz2 gentoo-2-014ad0611f87d6ec60e9c39f140ccd544f592f63.zip |
Version bump.
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/joda-time/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/joda-time/files/digest-joda-time-1.5 | 3 | ||||
-rw-r--r-- | dev-java/joda-time/joda-time-1.5.ebuild | 59 |
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-java/joda-time/ChangeLog b/dev-java/joda-time/ChangeLog index 206df853c2e3..71b7a41777f6 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.26 2007/08/14 07:44:59 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.27 2007/10/30 00:31:48 betelgeuse Exp $ + +*joda-time-1.5 (30 Oct 2007) + + 30 Oct 2007; Petteri Räty <betelgeuse@gentoo.org> +joda-time-1.5.ebuild: + Version bump. 14 Aug 2007; Christian Faulhammer <opfer@gentoo.org> joda-time-1.4-r1.ebuild: diff --git a/dev-java/joda-time/files/digest-joda-time-1.5 b/dev-java/joda-time/files/digest-joda-time-1.5 new file mode 100644 index 000000000000..8e9882a67162 --- /dev/null +++ b/dev-java/joda-time/files/digest-joda-time-1.5 @@ -0,0 +1,3 @@ +MD5 cc0cc1a2af057694ccb55e8bc5d95d36 joda-time-1.5-src.tar.gz 1246173 +RMD160 b0a4a68be001568111f0e003e3274c984c9d4ada joda-time-1.5-src.tar.gz 1246173 +SHA256 d7627937b5aaf7cd470988b8c36231988c6100e0432d1e268660836d09733d2a joda-time-1.5-src.tar.gz 1246173 diff --git a/dev-java/joda-time/joda-time-1.5.ebuild b/dev-java/joda-time/joda-time-1.5.ebuild new file mode 100644 index 000000000000..37a19f082e39 --- /dev/null +++ b/dev-java/joda-time/joda-time-1.5.ebuild @@ -0,0 +1,59 @@ +# 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.5.ebuild,v 1.1 2007/10/30 00:31:48 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc examples source test" + +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 ~ppc ~x86" +IUSE="" + +COMMON_DEP="elibc_glibc? ( >=sys-libs/timezone-data-2007h ) " + +DEPEND=" + >=virtual/jdk-1.4 + test? ( dev-java/ant-junit ) + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + rm -v "${S}"/*.jar || die +} + +# chokes on static inner class making instance of non-static inner class +EANT_FILTER_COMPILER="jikes" +# little trick so it doesn't try to download junit +EANT_EXTRA_ARGS="-Djunit.ant=1 -Djunit.present=1" + +src_test() { + if has_version "<sys-libs/timezone-data-2007c"; then + ewarn "Tests are known to fail with older versions of" + ewarn "sys-libs/timezone-data. Please update to the latest stable" + ewarn "version. We don't force it because not all libc" + ewarn "implementations use that package. See bugzilla for details:" + ewarn "https://bugs.gentoo.org/show_bug.cgi?id=170189" + fi + + ANT_TASKS="ant-junit" eant -Djunit.jar="$(java-pkg_getjars junit)" test +} + +src_install() { + java-pkg_newjar build/${P}.jar + + dodoc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt ToDo.txt || die + use doc && java-pkg_dojavadoc build/docs + use examples && java-pkg_doexamples src/example + use source && java-pkg_dosrc src/java/org +} |