Gentoo Archives: gentoo-commits

From: "Jean-Noel Rivasseau (elvanor)" <elvanor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/icu4j: ChangeLog icu4j-3.6.1.ebuild
Date: Fri, 11 Jan 2008 15:11:25
Message-Id: E1JDLXW-0005LK-SJ@stork.gentoo.org
1 elvanor 08/01/11 15:11:22
2
3 Modified: ChangeLog
4 Added: icu4j-3.6.1.ebuild
5 Log:
6 icu4j version bump to 3.6.1, bug #153686.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.17 dev-java/icu4j/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 30 May 2007 16:28:09 -0000 1.16
23 +++ ChangeLog 11 Jan 2008 15:11:22 -0000 1.17
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-java/icu4j
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.16 2007/05/30 16:28:09 betelgeuse Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.17 2008/01/11 15:11:22 elvanor Exp $
30 +
31 +*icu4j-3.6.1 (11 Jan 2008)
32 +
33 + 11 Jan 2008; Jean-Noël Rivasseau <elvanor@g.o>
34 + +files/icu4j-3.6.1-manifest, +icu4j-3.6.1.ebuild:
35 + Version bump to 3.6.1, bug #153686. Also now generates an OSGi compliant
36 + jar, for Eclipse 3.3.
37
38 30 May 2007; Petteri Räty <betelgeuse@g.o> -icu4j-3.0.ebuild:
39 Remove generation 1 ebuild.
40
41
42
43 1.1 dev-java/icu4j/icu4j-3.6.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-3.6.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-3.6.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: icu4j-3.6.1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/icu4j-3.6.1.ebuild,v 1.1 2008/01/11 15:11:22 elvanor Exp $
53
54 # We currently download the Javadoc documentation.
55 # It could optionally be built using the Ant build file.
56 # testdata.jar and icudata.jar do not contain *.class files but *.res files
57 # These *.res data files are needed to built the final jar
58 # They do not need to be installed however as they will already be present in icu4j.jar
59
60 JAVA_PKG_IUSE="source"
61
62 inherit java-pkg-2 java-ant-2 java-osgi
63
64 DESCRIPTION="ICU4J is a mature, widely used set of Java libraries providing Unicode and Globalization support for software applications."
65 MY_PV=${PV//./_}
66
67 SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}src_${MY_PV}.jar
68 doc? (http://download.icu-project.org/files/${PN}/${PV}/${PN}docs_${MY_PV}.jar)"
69
70 HOMEPAGE="http://www.icu-project.org/"
71 LICENSE="icu"
72 SLOT="0"
73 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
74
75 RDEPEND=">=virtual/jre-1.4"
76
77 DEPEND="test? ( =virtual/jdk-1.5* )
78 !test? ( >=virtual/jdk-1.4 )"
79
80 IUSE="doc test"
81
82 S="${WORKDIR}"
83
84 src_unpack() {
85 jar -xf "${DISTDIR}/${PN}src_${MY_PV}.jar" || die "Failed to unpack"
86
87 if use doc; then
88 mkdir docs; cd docs
89 jar -xf "${DISTDIR}/${PN}docs_${MY_PV}.jar" || die "Failed to unpack docs"
90 fi
91 }
92
93 src_compile() {
94 eant jar || die "Compile failed"
95 }
96
97 src_install() {
98 java-osgi_newjar-fromfile "${PN}.jar" "${FILESDIR}/icu4j-${PV}-manifest" \
99 "International Components for Unicode for Java (ICU4J)"
100 java-pkg_dojar "${PN}-charsets.jar"
101
102 use doc && dohtml -r readme.html docs/*
103 use source && java-pkg_dosrc src/*
104 }
105
106 # Following tests will fail in Sun JDK 6 (at least):
107 # toUnicode: http://bugs.icu-project.org/trac/ticket/5663
108 # TimeZoneTransitionAdd: http://bugs.icu-project.org/trac/ticket/5887
109 # These are bugs in the tests themselves, not in the library
110
111 src_test() {
112 eant check
113 }
114
115
116 --
117 gentoo-commits@l.g.o mailing list