summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-12-19 16:35:10 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-12-19 16:35:10 +0000
commitee8c47eeda08bf971a4b220e665305d0cb16b5db (patch)
tree9f4406bb0b4cee2635f6efb9476ccf1298bbc636
parentVersion bump, as requested by Cristian "majeru" Magherusan on IRC. (diff)
downloadgentoo-2-ee8c47eeda08bf971a4b220e665305d0cb16b5db.tar.gz
gentoo-2-ee8c47eeda08bf971a4b220e665305d0cb16b5db.tar.bz2
gentoo-2-ee8c47eeda08bf971a4b220e665305d0cb16b5db.zip
Version bump.
(Portage version: 2.1.4_rc9)
-rw-r--r--dev-java/joda-time/ChangeLog8
-rw-r--r--dev-java/joda-time/files/digest-joda-time-1.5.13
-rw-r--r--dev-java/joda-time/joda-time-1.5.1.ebuild59
3 files changed, 69 insertions, 1 deletions
diff --git a/dev-java/joda-time/ChangeLog b/dev-java/joda-time/ChangeLog
index 000ef6129e07..ec1f43dc6a5e 100644
--- a/dev-java/joda-time/ChangeLog
+++ b/dev-java/joda-time/ChangeLog
@@ -1,6 +1,12 @@
# 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.29 2007/12/19 16:29:30 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.30 2007/12/19 16:35:09 betelgeuse Exp $
+
+*joda-time-1.5.1 (19 Dec 2007)
+
+ 19 Dec 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +joda-time-1.5.1.ebuild:
+ Version bump.
19 Dec 2007; Petteri Räty <betelgeuse@gentoo.org> -joda-time-1.4.ebuild:
Remove old ebuild.
diff --git a/dev-java/joda-time/files/digest-joda-time-1.5.1 b/dev-java/joda-time/files/digest-joda-time-1.5.1
new file mode 100644
index 000000000000..0589d3e2607c
--- /dev/null
+++ b/dev-java/joda-time/files/digest-joda-time-1.5.1
@@ -0,0 +1,3 @@
+MD5 7d2ae02e1fd32c443a5d5a679415e354 joda-time-1.5.1-src.tar.gz 1246386
+RMD160 431c1d6a36188995534d1c621f8ed15193571878 joda-time-1.5.1-src.tar.gz 1246386
+SHA256 8bdcf4991ad9bbfe04e407e009e61988ab1804522a6b22c7383fd3b70e360f5c joda-time-1.5.1-src.tar.gz 1246386
diff --git a/dev-java/joda-time/joda-time-1.5.1.ebuild b/dev-java/joda-time/joda-time-1.5.1.ebuild
new file mode 100644
index 000000000000..adb343106245
--- /dev/null
+++ b/dev-java/joda-time/joda-time-1.5.1.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.1.ebuild,v 1.1 2007/12/19 16:35:09 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
+}