From: | "Alistair Bush (ali_bush)" <ali_bush@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-java/icu4j: ChangeLog icu4j-4.0.1.1.ebuild |
Date: | Tue, 03 Nov 2009 08:21:21 |
Message-Id: | E1N5Edj-0002eE-Er@stork.gentoo.org |
1 | ali_bush 09/11/03 08:21:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: icu4j-4.0.1.1.ebuild |
5 | Log: |
6 | Version Bump. |
7 | (Portage version: 2.1.7.1/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.32 dev-java/icu4j/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.32&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?rev=1.32&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/ChangeLog?r1=1.31&r2=1.32 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v |
19 | retrieving revision 1.31 |
20 | retrieving revision 1.32 |
21 | diff -u -r1.31 -r1.32 |
22 | --- ChangeLog 16 May 2009 22:21:03 -0000 1.31 |
23 | +++ ChangeLog 3 Nov 2009 08:21:18 -0000 1.32 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-java/icu4j |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.31 2009/05/16 22:21:03 caster Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-java/icu4j/ChangeLog,v 1.32 2009/11/03 08:21:18 ali_bush Exp $ |
29 | + |
30 | +*icu4j-4.0.1.1 (03 Nov 2009) |
31 | + |
32 | + 03 Nov 2009; Alistair Bush <ali_bush@g.o> +icu4j-4.0.1.1.ebuild: |
33 | + Version Bump. |
34 | |
35 | *icu4j-4.2 (16 May 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-java/icu4j/icu4j-4.0.1.1.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-4.0.1.1.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/icu4j/icu4j-4.0.1.1.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: icu4j-4.0.1.1.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/icu4j/icu4j-4.0.1.1.ebuild,v 1.1 2009/11/03 08:21:18 ali_bush Exp $ |
50 | |
51 | EAPI=2 |
52 | |
53 | # We currently download the Javadoc documentation. |
54 | # It could optionally be built using the Ant build file. |
55 | # testdata.jar and icudata.jar do not contain *.class files but *.res files |
56 | # These *.res data files are needed to built the final jar |
57 | # They do not need to be installed however as they will already be present in icu4j.jar |
58 | |
59 | JAVA_PKG_IUSE="doc test source" |
60 | |
61 | inherit java-pkg-2 java-ant-2 java-osgi |
62 | |
63 | DESCRIPTION="A set of Java libraries providing Unicode and Globalization support." |
64 | MY_PV=${PV//./_} |
65 | |
66 | SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar |
67 | doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )" |
68 | |
69 | HOMEPAGE="http://www.icu-project.org/" |
70 | LICENSE="icu" |
71 | SLOT="4" |
72 | KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
73 | IUSE="" |
74 | |
75 | RDEPEND=">=virtual/jre-1.4" |
76 | |
77 | # build.xml does file version detection that fails for 1.7 |
78 | # http://bugs.gentoo.org/show_bug.cgi?id=213555 |
79 | DEPEND="test? ( =virtual/jdk-1.6* ) |
80 | !test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) ) |
81 | app-arch/unzip" |
82 | |
83 | RESTRICT="ia64? ( test ) |
84 | x86-fbsd? ( test )" |
85 | JAVA_PKG_WANT_SOURCE="1.4" |
86 | JAVA_PKG_WANT_TARGET="1.4" |
87 | |
88 | S="${WORKDIR}" |
89 | |
90 | src_unpack() { |
91 | jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack" |
92 | |
93 | if use doc; then |
94 | mkdir docs; cd docs |
95 | jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs" |
96 | fi |
97 | } |
98 | |
99 | src_compile() { |
100 | # Classes extending CharsetICU not implementing Comparable |
101 | # Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack? |
102 | # Restricting to javac (didn't even care to try jikes) is better |
103 | # than forcing 1.4 |
104 | java-pkg_force-compiler javac |
105 | eant jar || die "Compile failed" |
106 | } |
107 | |
108 | src_install() { |
109 | java-osgi_newjar-fromfile "${PN}.jar" "${FILESDIR}/icu4j-4.0-manifest" \ |
110 | "International Components for Unicode for Java (ICU4J)" |
111 | java-pkg_dojar "${PN}-charsets.jar" |
112 | |
113 | use doc && dohtml -r readme.html docs/* |
114 | use source && java-pkg_dosrc src/* |
115 | } |
116 | |
117 | # Tests only work with JDK-1.6, severe out of memory problems appear with 1.5 |
118 | |
119 | src_test() { |
120 | eant check |
121 | } |