Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/joda-time: ChangeLog joda-time-1.6.ebuild
Date: Wed, 04 Feb 2009 17:09:18
Message-Id: E1LUlFT-00032r-07@stork.gentoo.org
1 betelgeuse 09/02/04 17:09:14
2
3 Modified: ChangeLog
4 Added: joda-time-1.6.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
8
9 Revision Changes Path
10 1.38 dev-java/joda-time/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/ChangeLog?rev=1.38&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/ChangeLog?rev=1.38&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/ChangeLog?r1=1.37&r2=1.38
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v
19 retrieving revision 1.37
20 retrieving revision 1.38
21 diff -u -r1.37 -r1.38
22 --- ChangeLog 4 Feb 2009 12:28:27 -0000 1.37
23 +++ ChangeLog 4 Feb 2009 17:09:14 -0000 1.38
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-java/joda-time
26 # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.37 2009/02/04 12:28:27 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.38 2009/02/04 17:09:14 betelgeuse Exp $
29 +
30 +*joda-time-1.6 (04 Feb 2009)
31 +
32 + 04 Feb 2009; Petteri Räty <betelgeuse@g.o> +joda-time-1.6.ebuild:
33 + Version bump.
34
35 04 Feb 2009; Petteri Räty <betelgeuse@g.o>
36 -joda-time-1.4-r1.ebuild, -joda-time-1.5.ebuild:
37
38
39
40 1.1 dev-java/joda-time/joda-time-1.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/joda-time-1.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/joda-time-1.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: joda-time-1.6.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $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 $
50
51 JAVA_PKG_IUSE="doc examples source test"
52
53 inherit java-pkg-2 java-ant-2
54
55 MY_P="${P}-src"
56
57 DESCRIPTION="A quality open-source replacement for the Java Date and Time classes."
58 HOMEPAGE="http://joda-time.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
60 LICENSE="Apache-2.0"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
63 IUSE=""
64
65 DEPEND="
66 >=virtual/jdk-1.4
67 test? ( dev-java/ant-junit )"
68 RDEPEND=">=virtual/jre-1.4"
69
70 S="${WORKDIR}/${MY_P}"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 rm -v *.jar || die
76 # https://sourceforge.net/tracker/index.php?func=detail&aid=1855430&group_id=97367&atid=617889
77 epatch "${FILESDIR}/1.5.1-ecj.patch"
78 }
79
80 # chokes on static inner class making instance of non-static inner class
81 EANT_FILTER_COMPILER="jikes"
82 # little trick so it doesn't try to download junit
83 EANT_EXTRA_ARGS="-Djunit.ant=1 -Djunit.present=1"
84
85 src_test() {
86 ANT_TASKS="ant-junit" eant -Djunit.jar="$(java-pkg_getjars junit)" test
87 }
88
89 src_install() {
90 java-pkg_newjar build/${P}.jar
91
92 dodoc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt ToDo.txt || die
93 use doc && java-pkg_dojavadoc build/docs
94 use examples && java-pkg_doexamples src/example
95 use source && java-pkg_dosrc src/java/org
96 }