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.5.2.ebuild
Date: Sun, 13 Apr 2008 22:19:16
Message-Id: E1JlAXZ-0002yK-BB@stork.gentoo.org
1 betelgeuse 08/04/13 22:19:13
2
3 Modified: ChangeLog
4 Added: joda-time-1.5.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.5_rc3)
8
9 Revision Changes Path
10 1.36 dev-java/joda-time/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/ChangeLog?rev=1.36&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/ChangeLog?rev=1.36&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/ChangeLog?r1=1.35&r2=1.36
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v
19 retrieving revision 1.35
20 retrieving revision 1.36
21 diff -u -r1.35 -r1.36
22 --- ChangeLog 30 Mar 2008 17:03:41 -0000 1.35
23 +++ ChangeLog 13 Apr 2008 22:19:12 -0000 1.36
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-java/joda-time
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.35 2008/03/30 17:03:41 corsair Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.36 2008/04/13 22:19:12 betelgeuse Exp $
29 +
30 +*joda-time-1.5.2 (13 Apr 2008)
31 +
32 + 13 Apr 2008; Petteri Räty <betelgeuse@g.o>
33 + +joda-time-1.5.2.ebuild:
34 + Version bump.
35
36 30 Mar 2008; Markus Rothe <corsair@g.o> joda-time-1.5.1.ebuild:
37 Added ~ppc64
38
39
40
41 1.1 dev-java/joda-time/joda-time-1.5.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/joda-time-1.5.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/joda-time/joda-time-1.5.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: joda-time-1.5.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/joda-time-1.5.2.ebuild,v 1.1 2008/04/13 22:19:12 betelgeuse Exp $
51
52 JAVA_PKG_IUSE="doc examples source test"
53
54 inherit java-pkg-2 java-ant-2
55
56 MY_P="${P}-src"
57
58 DESCRIPTION="A quality open-source replacement for the Java Date and Time classes."
59 HOMEPAGE="http://joda-time.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
61 LICENSE="Apache-2.0"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
64 IUSE=""
65
66 COMMON_DEP="elibc_glibc? ( >=sys-libs/timezone-data-2007h ) "
67
68 DEPEND="
69 >=virtual/jdk-1.4
70 test? ( dev-java/ant-junit )
71 ${COMMON_DEP}"
72 RDEPEND=">=virtual/jre-1.4
73 ${COMMON_DEP}"
74
75 S="${WORKDIR}/${MY_P}"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 rm -v *.jar || die
81 # https://sourceforge.net/tracker/index.php?func=detail&aid=1855430&group_id=97367&atid=617889
82 epatch "${FILESDIR}/1.5.1-ecj.patch"
83 }
84
85 # chokes on static inner class making instance of non-static inner class
86 EANT_FILTER_COMPILER="jikes"
87 # little trick so it doesn't try to download junit
88 EANT_EXTRA_ARGS="-Djunit.ant=1 -Djunit.present=1"
89
90 src_test() {
91 if has_version "<sys-libs/timezone-data-2007c"; then
92 ewarn "Tests are known to fail with older versions of"
93 ewarn "sys-libs/timezone-data. Please update to the latest stable"
94 ewarn "version. We don't force it because not all libc"
95 ewarn "implementations use that package. See bugzilla for details:"
96 ewarn "https://bugs.gentoo.org/show_bug.cgi?id=170189"
97 fi
98
99 ANT_TASKS="ant-junit" eant -Djunit.jar="$(java-pkg_getjars junit)" test
100 }
101
102 src_install() {
103 java-pkg_newjar build/${P}.jar
104
105 dodoc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt ToDo.txt || die
106 use doc && java-pkg_dojavadoc build/docs
107 use examples && java-pkg_doexamples src/example
108 use source && java-pkg_dosrc src/java/org
109 }
110
111
112
113 --
114 gentoo-commits@l.g.o mailing list