diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-02-04 17:09:14 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-02-04 17:09:14 +0000 |
commit | 132a412dd4eb2517f3238d6c7ac5e4dcb4cff393 (patch) | |
tree | 000a083aaec4fe699a336b6a52fcb4d29beafea9 /dev-java/joda-time | |
parent | Fix segfault with recent openal/freealut; more makefile cleanup (diff) | |
download | gentoo-2-132a412dd4eb2517f3238d6c7ac5e4dcb4cff393.tar.gz gentoo-2-132a412dd4eb2517f3238d6c7ac5e4dcb4cff393.tar.bz2 gentoo-2-132a412dd4eb2517f3238d6c7ac5e4dcb4cff393.zip |
Version bump.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
Diffstat (limited to 'dev-java/joda-time')
-rw-r--r-- | dev-java/joda-time/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/joda-time/joda-time-1.6.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-java/joda-time/ChangeLog b/dev-java/joda-time/ChangeLog index 579b8c896ff6..814830797e30 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.37 2009/02/04 12:28:27 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.38 2009/02/04 17:09:14 betelgeuse Exp $ + +*joda-time-1.6 (04 Feb 2009) + + 04 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> +joda-time-1.6.ebuild: + Version bump. 04 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> -joda-time-1.4-r1.ebuild, -joda-time-1.5.ebuild: diff --git a/dev-java/joda-time/joda-time-1.6.ebuild b/dev-java/joda-time/joda-time-1.6.ebuild new file mode 100644 index 000000000000..dfc2b08a1a7b --- /dev/null +++ b/dev-java/joda-time/joda-time-1.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2009 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.6.ebuild,v 1.1 2009/02/04 17:09:14 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 ~ppc64 ~x86" +IUSE="" + +DEPEND=" + >=virtual/jdk-1.4 + test? ( dev-java/ant-junit )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + rm -v *.jar || die + # https://sourceforge.net/tracker/index.php?func=detail&aid=1855430&group_id=97367&atid=617889 + epatch "${FILESDIR}/1.5.1-ecj.patch" +} + +# 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() { + 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 +} |