* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-05-16 4:17 Arthur Zamarin
0 siblings, 0 replies; 60+ messages in thread
From: Arthur Zamarin @ 2024-05-16 4:17 UTC (permalink / raw
To: gentoo-commits
commit: 31ba542db4f468e53cfb8ab481a4cbb07eef40eb
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 04:17:11 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 16 04:17:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ba542d
dev-java/icu4j: Stabilize 75.1 ppc64, #931971
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/icu4j/icu4j-75.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-75.1.ebuild b/dev-java/icu4j/icu4j-75.1.ebuild
index 486279127138..9447d4deca82 100644
--- a/dev-java/icu4j/icu4j-75.1.ebuild
+++ b/dev-java/icu4j/icu4j-75.1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-11-26 8:22 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-11-26 8:22 UTC (permalink / raw
To: gentoo-commits
commit: 405ea35b397f0ea2173290cf32c106c624de6dec
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Nov 26 05:14:40 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 08:22:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=405ea35b
dev-java/icu4j: drop 75.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/39233/commits/59f50bd61c1e9d93c20534ad2b734e4f1c3df01e
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-75.1.ebuild | 192 ---------------------------------------
2 files changed, 193 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 756db281af1b..1e831727a9de 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1 @@
-DIST icu4j-75.1.tar.gz 65866291 BLAKE2B ae9a2a8f9bf6f38a08c46c4c3695fa4096c831beab1af5b654e86c9d681eb32be727930aeb1fd866fe9f93a96abe807fd353d108b5fe7a4d8203ee33cc16d971 SHA512 08f8fce8a4dd85706d9f7c57fd021ba15c403ab2da33d9a122d7cb441e0e148deebf245a661e4ef53a30bfa8b7622c63035946fd8966be3927af322275b87ca3
DIST icu4j-76.1.tar.gz 67524828 BLAKE2B 949b6b69e2201ba5b4538766d25e72a8d98daeb8b1bf376966a6f410febee8c75c031ce9e52a0e4908d5d01f4d0120526ac84178603ee3968c1a399fc0a7959c SHA512 b92e05f3b5022992dfc7881542ed957dc9a1bc0b86f28fa6123dd4ab295e2a91686672193017acc0e0b659c37c944a1d2222e4881d7c65046a1df9dfaa925f12
diff --git a/dev-java/icu4j/icu4j-75.1.ebuild b/dev-java/icu4j/icu4j-75.1.ebuild
deleted file mode 100644
index 0472a16f07f5..000000000000
--- a/dev-java/icu4j/icu4j-75.1.ebuild
+++ /dev/null
@@ -1,192 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_PROVIDES="
- com.ibm.icu:icu4j:${PV}
- com.ibm.icu:icu4j-charset:${PV}
- com.ibm.icu:icu4j-localespi:${PV}
-"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
-
-LICENSE="icu"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64"
-
-DEPEND="
- >=virtual/jdk-1.8:*
- test? (
- dev-java/gson:0
- dev-java/junitparams:0
- )
-"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-DOCS=( ../../{CONTRIBUTING,README,SECURITY}.md )
-HTML_DOCS=( ../{APIChangeReport,readme}.html )
-
-src_compile() {
- JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar"
-
- einfo "Compiling icu4j.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
- JAVA_JAR_FILENAME="icu4j.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
- JAVA_RESOURCE_DIRS=(
- collate/src/main/resources
- core/src/main/resources
- currdata/src/main/resources
- langdata/src/main/resources
- regiondata/src/main/resources
- translit/src/main/resources
- )
- JAVA_SRC_DIR=(
- collate/src/main/java
- core/src/main/java
- currdata/src/main/java
- langdata/src/main/java
- regiondata/src/main/java
- translit/src/main/java
- )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-charset.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
- JAVA_JAR_FILENAME="icu4j-charset.jar"
- JAVA_MAIN_CLASS=""
- JAVA_RESOURCE_DIRS=( charset/src/main/resources )
- JAVA_SRC_DIR=( charset/src/main/java )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-localespi.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
- JAVA_JAR_FILENAME="icu4j-localespi.jar"
- JAVA_RESOURCE_DIRS=( localespi/src/main/resources )
- JAVA_SRC_DIR=( localespi/src/main/java )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Generating javadocs"
- JAVADOC_SRC_DIRS=(
- collate/src/main/java
- core/src/main/java
- currdata/src/main/java
- langdata/src/main/java
- regiondata/src/main/java
- translit/src/main/java
- charset/src/main/java
- localespi/src/main/java
- )
- use doc && ejavadoc
-}
-
-src_test () {
- # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
- export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
-
- JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
- JAVA_TEST_GENTOO_CLASSPATH="gson,junit-4,junitparams"
-
- einfo "Compiling framework-tests.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.framework"
- JAVA_JAR_FILENAME="framework-tests.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.dev.test.TestAll"
- JAVA_RESOURCE_DIRS=( framework/src/test/resources )
- JAVA_SRC_DIR=( framework/src/test/java )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":framework-tests.jar"
-
- einfo "Testing core aka icu4j.jar"
- JAVA_TEST_RESOURCE_DIRS="core/src/test/resources"
- JAVA_TEST_SRC_DIR="core/src/test/java"
- pushd "${JAVA_TEST_SRC_DIR}" || die
- # exclude invalid tests, not run by "mvn test"
- local JAVA_TEST_RUN_ONLY=$(find * \
- -name "*Test*.java" \
- ! -name "ChineseTestCase.java" \
- ! -name "DataDrivenNumberFormatTestUtility.java" \
- ! -name "*Helper.java" \
- ! -name "ModuleTest.java" \
- ! -name "*Sample.java" \
- ! -name "TestCase.java" \
- ! -name "*TestData*.java" \
- ! -name "*TestFmwk.java" \
- ! -name "TestMessages.java" \
- ! -name "TestUtils.java" \
- )
- popd
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
- java-pkg-simple_src_test
-
- einfo "Creating core-tests.jar"
- jar cvf core-tests.jar -C target/test-classes .
- JAVA_GENTOO_CLASSPATH_EXTRA+=":core-tests.jar"
- JAVA_TEST_RUN_ONLY=""
-
- einfo "Testing collate"
- JAVA_TEST_RESOURCE_DIRS="collate/src/test/resources"
- JAVA_TEST_SRC_DIR="collate/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing translit"
- JAVA_TEST_EXCLUDES=(
- # Invalid test classes, No runnable methods
- com.ibm.icu.dev.test.TestBoilerplate
- com.ibm.icu.dev.test.translit.TestUtility
- )
- JAVA_TEST_RESOURCE_DIRS="translit/src/test/resources"
- JAVA_TEST_SRC_DIR="translit/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing charset"
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="charset/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing common_tests"
- # "mvn test" runs only 90 tests here, Gentoo runs 99 but 9 of them fail.
- # coverage tests fail because test handlers for the parametrized tests
- # are not defined so the tests are broken and cannot succeed
- JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.serializable.CoverageTest )
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="common_tests/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing localespi"
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="localespi/src/test/java"
- # Invalid test classes, No runnable methods
- JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.localespi.TestUtil )
- # https://bugs.gentoo.org/827212, "mvn test" does not run it at all
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if [[ "${vm_version}" != "1.8" ]] ; then
- java-pkg-simple_src_test
- fi
-}
-
-src_install() {
- default
- java-pkg_dojar "icu4j.jar"
- java-pkg_dojar "icu4j-charset.jar"
- java-pkg_dojar "icu4j-localespi.jar"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
- if use source; then
- java-pkg_dosrc "classes"
- fi
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-11-26 0:36 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-11-26 0:36 UTC (permalink / raw
To: gentoo-commits
commit: 5471899582525b299510b571dc7957cff5729be2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 00:35:51 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 00:35:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54718995
dev-java/icu4j: Stabilize 76.1-r1 ppc64, #944922
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-76.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-76.1-r1.ebuild b/dev-java/icu4j/icu4j-76.1-r1.ebuild
index 272577c866fd..2d35023cd241 100644
--- a/dev-java/icu4j/icu4j-76.1-r1.ebuild
+++ b/dev-java/icu4j/icu4j-76.1-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64"
+KEYWORDS="amd64 arm64 ppc64"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-11-25 19:01 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-11-25 19:01 UTC (permalink / raw
To: gentoo-commits
commit: 749983f1b91ffb59890189b7a75613195f5c6e0a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 19:00:46 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 19:00:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749983f1
dev-java/icu4j: Stabilize 76.1-r1 amd64, #944922
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-76.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-76.1-r1.ebuild b/dev-java/icu4j/icu4j-76.1-r1.ebuild
index 18d8e70c3df7..272577c866fd 100644
--- a/dev-java/icu4j/icu4j-76.1-r1.ebuild
+++ b/dev-java/icu4j/icu4j-76.1-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="0"
-KEYWORDS="~amd64 arm64 ~ppc64"
+KEYWORDS="amd64 arm64 ~ppc64"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-11-25 12:31 Arthur Zamarin
0 siblings, 0 replies; 60+ messages in thread
From: Arthur Zamarin @ 2024-11-25 12:31 UTC (permalink / raw
To: gentoo-commits
commit: 13ed01b60063e0e9c0e2abf6af5100f043256c84
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 12:31:41 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 12:31:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ed01b6
dev-java/icu4j: Stabilize 76.1-r1 arm64, #944922
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/icu4j/icu4j-76.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-76.1-r1.ebuild b/dev-java/icu4j/icu4j-76.1-r1.ebuild
index 0dc67c7d8a23..18d8e70c3df7 100644
--- a/dev-java/icu4j/icu4j-76.1-r1.ebuild
+++ b/dev-java/icu4j/icu4j-76.1-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
+KEYWORDS="~amd64 arm64 ~ppc64"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-10-26 7:23 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-10-26 7:23 UTC (permalink / raw
To: gentoo-commits
commit: dcc0bd06b7a073696decb92f387f53e10c790a92
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Oct 25 14:42:43 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 07:23:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc0bd06
dev-java/icu4j: adjust launcher #942131
The ebuild was installing a wrong (with tests) or even no (without
tests) launcher. The install phase of java-pkg-simple.eclass gets
confused when there are more than one jar files.
Closes: https://bugs.gentoo.org/942131
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38836/commits/f6e074c87572a2eec4973fd27c674d0a0c5ba6c7
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/{icu4j-76.1.ebuild => icu4j-76.1-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-java/icu4j/icu4j-76.1.ebuild b/dev-java/icu4j/icu4j-76.1-r1.ebuild
similarity index 99%
rename from dev-java/icu4j/icu4j-76.1.ebuild
rename to dev-java/icu4j/icu4j-76.1-r1.ebuild
index f643f2f3ef08..0dc67c7d8a23 100644
--- a/dev-java/icu4j/icu4j-76.1.ebuild
+++ b/dev-java/icu4j/icu4j-76.1-r1.ebuild
@@ -195,6 +195,7 @@ src_test () {
src_install() {
JAVA_JAR_FILENAME="icu4j.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
java-pkg-simple_src_install
java-pkg_dojar "icu4j-charset.jar"
java-pkg_dojar "icu4j-localespi.jar"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-10-25 8:10 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-10-25 8:10 UTC (permalink / raw
To: gentoo-commits
commit: 7eda99ad838a3e351e0e8eedf2613ec8ef1f4a26
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Oct 24 17:56:48 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Oct 25 08:10:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eda99ad
dev-java/icu4j: add 76.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38836/commits/9fc7fc60257eae6a1471e687462ecffa0c45de24
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 +
dev-java/icu4j/icu4j-76.1.ebuild | 205 +++++++++++++++++++++++++++++++++++++++
2 files changed, 206 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 95e67ccfac14..756db281af1b 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1 +1,2 @@
DIST icu4j-75.1.tar.gz 65866291 BLAKE2B ae9a2a8f9bf6f38a08c46c4c3695fa4096c831beab1af5b654e86c9d681eb32be727930aeb1fd866fe9f93a96abe807fd353d108b5fe7a4d8203ee33cc16d971 SHA512 08f8fce8a4dd85706d9f7c57fd021ba15c403ab2da33d9a122d7cb441e0e148deebf245a661e4ef53a30bfa8b7622c63035946fd8966be3927af322275b87ca3
+DIST icu4j-76.1.tar.gz 67524828 BLAKE2B 949b6b69e2201ba5b4538766d25e72a8d98daeb8b1bf376966a6f410febee8c75c031ce9e52a0e4908d5d01f4d0120526ac84178603ee3968c1a399fc0a7959c SHA512 b92e05f3b5022992dfc7881542ed957dc9a1bc0b86f28fa6123dd4ab295e2a91686672193017acc0e0b659c37c944a1d2222e4881d7c65046a1df9dfaa925f12
diff --git a/dev-java/icu4j/icu4j-76.1.ebuild b/dev-java/icu4j/icu4j-76.1.ebuild
new file mode 100644
index 000000000000..f643f2f3ef08
--- /dev/null
+++ b/dev-java/icu4j/icu4j-76.1.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_PROVIDES="
+ com.ibm.icu:icu4j:${PV}
+ com.ibm.icu:icu4j-charset:${PV}
+ com.ibm.icu:icu4j-localespi:${PV}
+"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="https://icu.unicode.org"
+SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
+
+LICENSE="icu"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ test? (
+ dev-java/gson:0
+ dev-java/junitparams:0
+ )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../../{CONTRIBUTING,README,SECURITY}.md )
+HTML_DOCS=( ../{APIChangeReport,readme}.html )
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ # There was 1 failure:
+ # 1) test(com.ibm.icu.dev.test.message2.CoreTest)
+ # java.io.FileNotFoundException: Test data directory does not exist:
+ # tried /var/tmp/portage/dev-java/icu4j-76.1/work/testdata/message2
+ # and /var/tmp/portage/dev-java/icu4j-76.1/work/testdata/message2
+ # at com.ibm.icu.dev.test.message2.TestUtils.getTestFile(TestUtils.java:212)
+ # at com.ibm.icu.dev.test.message2.TestUtils.jsonReader(TestUtils.java:194)
+ # at com.ibm.icu.dev.test.message2.CoreTest.test(CoreTest.java:52)
+ cp -r ../..{,/..}/testdata || die
+}
+
+src_compile() {
+ JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar"
+
+ einfo "Compiling icu4j.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
+ JAVA_JAR_FILENAME="icu4j.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
+ JAVA_RESOURCE_DIRS=(
+ collate/src/main/resources
+ core/src/main/resources
+ currdata/src/main/resources
+ langdata/src/main/resources
+ regiondata/src/main/resources
+ translit/src/main/resources
+ )
+ JAVA_SRC_DIR=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-charset.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
+ JAVA_JAR_FILENAME="icu4j-charset.jar"
+ JAVA_MAIN_CLASS=""
+ JAVA_RESOURCE_DIRS=( charset/src/main/resources )
+ JAVA_SRC_DIR=( charset/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-localespi.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
+ JAVA_JAR_FILENAME="icu4j-localespi.jar"
+ JAVA_RESOURCE_DIRS=( localespi/src/main/resources )
+ JAVA_SRC_DIR=( localespi/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Generating javadocs"
+ JAVADOC_SRC_DIRS=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ charset/src/main/java
+ localespi/src/main/java
+ )
+ use doc && ejavadoc
+}
+
+src_test () {
+ # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
+ export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
+
+ JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
+ JAVA_TEST_GENTOO_CLASSPATH="gson,junit-4,junitparams"
+
+ einfo "Compiling framework-tests.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.framework"
+ JAVA_JAR_FILENAME="framework-tests.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.dev.test.TestAll"
+ JAVA_RESOURCE_DIRS=( framework/src/test/resources )
+ JAVA_SRC_DIR=( framework/src/test/java )
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":framework-tests.jar"
+
+ einfo "Testing core aka icu4j.jar"
+ JAVA_TEST_RESOURCE_DIRS="core/src/test/resources"
+ JAVA_TEST_SRC_DIR="core/src/test/java"
+ pushd "${JAVA_TEST_SRC_DIR}" || die
+ # exclude invalid tests, not run by "mvn test"
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ -name "*Test*.java" \
+ ! -name "ChineseTestCase.java" \
+ ! -name "DataDrivenNumberFormatTestUtility.java" \
+ ! -name "*Helper.java" \
+ ! -name "ModuleTest.java" \
+ ! -name "*Sample.java" \
+ ! -name "TestCase.java" \
+ ! -name "*TestData*.java" \
+ ! -name "*TestFmwk.java" \
+ ! -name "TestMessages.java" \
+ ! -name "TestUtils.java" \
+ ! -name "DefaultTestProperties.java" \
+ ! -name "MF2Test.java" \
+ ! -name "TestBoilerplate.java" \
+ )
+ popd
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ java-pkg-simple_src_test
+
+ einfo "Creating core-tests.jar"
+ jar cvf core-tests.jar -C target/test-classes . || die
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":core-tests.jar"
+ JAVA_TEST_RUN_ONLY=""
+
+ einfo "Testing collate"
+ JAVA_TEST_RESOURCE_DIRS="collate/src/test/resources"
+ JAVA_TEST_SRC_DIR="collate/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing translit"
+ JAVA_TEST_EXCLUDES=(
+ # Invalid test classes, No runnable methods
+ com.ibm.icu.dev.test.TestBoilerplate
+ com.ibm.icu.dev.test.translit.TestUtility
+ )
+ JAVA_TEST_RESOURCE_DIRS="translit/src/test/resources"
+ JAVA_TEST_SRC_DIR="translit/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing charset"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="charset/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing common_tests"
+ # "mvn test" runs only 90 tests here, Gentoo runs 99 but 9 of them fail.
+ # coverage tests fail because test handlers for the parametrized tests
+ # are not defined so the tests are broken and cannot succeed
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.serializable.CoverageTest )
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="common_tests/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing localespi"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="localespi/src/test/java"
+ # Invalid test classes, No runnable methods
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.localespi.TestUtil )
+ # https://bugs.gentoo.org/827212, "mvn test" does not run it at all
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
+src_install() {
+ JAVA_JAR_FILENAME="icu4j.jar"
+ java-pkg-simple_src_install
+ java-pkg_dojar "icu4j-charset.jar"
+ java-pkg_dojar "icu4j-localespi.jar"
+
+ if use source; then
+ java-pkg_dosrc */src/main/java/*
+ fi
+}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-05-26 8:47 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-05-26 8:47 UTC (permalink / raw
To: gentoo-commits
commit: 658f9fd5e1e8226c849a83f67ae60824ce03c480
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun May 26 08:46:37 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun May 26 08:46:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658f9fd5
dev-java/icu4j: dropped obsolete 74.2-r1
Bug: https://bugs.gentoo.org/931971
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-74.2-r1.ebuild | 193 ------------------------------------
2 files changed, 194 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 052b7f5e2744..95e67ccfac14 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1 @@
-DIST icu-74.2.tar.gz 65888936 BLAKE2B 81d5acddbfc58a859906cb61660b6f230b88f4a1b1cfd56838843e9445b5858d3dd4888707026340581322143f6a4b7b81f53b6431fd5d4cc3fb90531c4d82fb SHA512 728ae0f09ffc802d675bcf5b849e3081472de8417736bf8b7df0f4db9d1fb8073779be76536764c9111f7cb0e5ab2d2af6c644cc24be432b9eeae9063802ad6c
DIST icu4j-75.1.tar.gz 65866291 BLAKE2B ae9a2a8f9bf6f38a08c46c4c3695fa4096c831beab1af5b654e86c9d681eb32be727930aeb1fd866fe9f93a96abe807fd353d108b5fe7a4d8203ee33cc16d971 SHA512 08f8fce8a4dd85706d9f7c57fd021ba15c403ab2da33d9a122d7cb441e0e148deebf245a661e4ef53a30bfa8b7622c63035946fd8966be3927af322275b87ca3
diff --git a/dev-java/icu4j/icu4j-74.2-r1.ebuild b/dev-java/icu4j/icu4j-74.2-r1.ebuild
deleted file mode 100644
index df2c5aa4daba..000000000000
--- a/dev-java/icu4j/icu4j-74.2-r1.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_PROVIDES="
- com.ibm.icu:icu4j:${PV}
- com.ibm.icu:icu4j-charset:${PV}
- com.ibm.icu:icu4j-localespi:${PV}
-"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz"
-S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
-
-LICENSE="icu"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND="
- >=virtual/jdk-1.8:*
- test? ( dev-java/junitparams:0 )
-"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-DOCS=( ../../{CONTRIBUTING,README,SECURITY}.md )
-HTML_DOCS=( ../{APIChangeReport,readme}.html )
-
-src_compile() {
- JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar"
-
- einfo "Compiling icu4j.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
- JAVA_JAR_FILENAME="icu4j.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
- JAVA_RESOURCE_DIRS=(
- collate/src/main/resources
- core/src/main/resources
- currdata/src/main/resources
- langdata/src/main/resources
- regiondata/src/main/resources
- translit/src/main/resources
- )
- JAVA_SRC_DIR=(
- collate/src/main/java
- core/src/main/java
- currdata/src/main/java
- langdata/src/main/java
- regiondata/src/main/java
- translit/src/main/java
- )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-charset.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
- JAVA_JAR_FILENAME="icu4j-charset.jar"
- JAVA_MAIN_CLASS=""
- JAVA_RESOURCE_DIRS=( charset/src/main/resources )
- JAVA_SRC_DIR=( charset/src/main/java )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-localespi.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
- JAVA_JAR_FILENAME="icu4j-localespi.jar"
- JAVA_RESOURCE_DIRS=( localespi/src/main/resources )
- JAVA_SRC_DIR=( localespi/src/main/java )
- java-pkg-simple_src_compile
- rm -r target || die
-
- # javadocs
- if use doc; then
- einfo "Compiling javadocs"
- JAVA_JAR_FILENAME="ignoreme.jar"
- JAVA_SRC_DIR=(
- collate/src/main/java
- core/src/main/java
- currdata/src/main/java
- langdata/src/main/java
- regiondata/src/main/java
- translit/src/main/java
- charset/src/main/java
- localespi/src/main/java
- )
- java-pkg-simple_src_compile
- fi
-}
-
-src_test () {
- # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
- export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
-
- JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
- JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
-
- einfo "Compiling framework-tests.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.framework"
- JAVA_JAR_FILENAME="framework-tests.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.dev.test.TestAll"
- JAVA_RESOURCE_DIRS=( framework/src/test/resources )
- JAVA_SRC_DIR=( framework/src/test/java )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":framework-tests.jar"
-
- einfo "Testing core aka icu4j.jar"
- JAVA_TEST_RESOURCE_DIRS="core/src/test/resources"
- JAVA_TEST_SRC_DIR="core/src/test/java"
- pushd "${JAVA_TEST_SRC_DIR}" || die
- # exclude invalid tests, not run by "mvn test"
- local JAVA_TEST_RUN_ONLY=$(find * \
- -name "*Test*.java" \
- ! -name "ChineseTestCase.java" \
- ! -name "DataDrivenNumberFormatTestUtility.java" \
- ! -name "*Helper.java" \
- ! -name "ModuleTest.java" \
- ! -name "*Sample.java" \
- ! -name "TestCase.java" \
- ! -name "*TestData*.java" \
- ! -name "*TestFmwk.java" \
- ! -name "TestMessages.java" \
- ! -name "TestUtils.java" \
- )
- popd
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
- java-pkg-simple_src_test
-
- einfo "Creating core-tests.jar"
- jar cvf core-tests.jar -C target/test-classes .
- JAVA_GENTOO_CLASSPATH_EXTRA+=":core-tests.jar"
- JAVA_TEST_RUN_ONLY=""
-
- einfo "Testing collate"
- JAVA_TEST_RESOURCE_DIRS="collate/src/test/resources"
- JAVA_TEST_SRC_DIR="collate/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing translit"
- JAVA_TEST_EXCLUDES=(
- # Invalid test classes, No runnable methods
- com.ibm.icu.dev.test.TestBoilerplate
- com.ibm.icu.dev.test.translit.TestUtility
- )
- JAVA_TEST_RESOURCE_DIRS="translit/src/test/resources"
- JAVA_TEST_SRC_DIR="translit/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing charset"
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="charset/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing common_tests"
- # "mvn test" runs only 90 tests here, Gentoo runs 99 but 9 of them fail.
- # coverage tests fail because test handlers for the parametrized tests
- # are not defined so the tests are broken and cannot succeed
- JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.serializable.CoverageTest )
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="common_tests/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing localespi"
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="localespi/src/test/java"
- # Invalid test classes, No runnable methods
- JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.localespi.TestUtil )
- # https://bugs.gentoo.org/827212, "mvn test" does not run it at all
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if [[ "${vm_version}" != "1.8" ]] ; then
- java-pkg-simple_src_test
- fi
-}
-
-src_install() {
- default
- java-pkg_dojar "icu4j.jar"
- java-pkg_dojar "icu4j-charset.jar"
- java-pkg_dojar "icu4j-localespi.jar"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
- if use source; then
- java-pkg_dosrc "classes"
- fi
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-05-26 8:45 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-05-26 8:45 UTC (permalink / raw
To: gentoo-commits
commit: 442a930b41017c7fbf31f55a8a171751b636817b
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun May 26 08:45:37 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun May 26 08:45:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442a930b
dev-java/icu4j: 75.1 amd64 stable
Closes: https://bugs.gentoo.org/931971
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/icu4j-75.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-75.1.ebuild b/dev-java/icu4j/icu4j-75.1.ebuild
index 5b53626e6551..bae11e47634a 100644
--- a/dev-java/icu4j/icu4j-75.1.ebuild
+++ b/dev-java/icu4j/icu4j-75.1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-05-17 6:56 Arthur Zamarin
0 siblings, 0 replies; 60+ messages in thread
From: Arthur Zamarin @ 2024-05-17 6:56 UTC (permalink / raw
To: gentoo-commits
commit: f8c0f6a706ecc2edac4d2178a012d694c08aa39b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri May 17 06:55:58 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri May 17 06:55:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c0f6a7
dev-java/icu4j: Stabilize 75.1 x86, #931971
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/icu4j/icu4j-75.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-75.1.ebuild b/dev-java/icu4j/icu4j-75.1.ebuild
index 9447d4deca82..5b53626e6551 100644
--- a/dev-java/icu4j/icu4j-75.1.ebuild
+++ b/dev-java/icu4j/icu4j-75.1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-05-16 4:17 Arthur Zamarin
0 siblings, 0 replies; 60+ messages in thread
From: Arthur Zamarin @ 2024-05-16 4:17 UTC (permalink / raw
To: gentoo-commits
commit: d5f4f58c63c8c520909b04eb3bdd1cf78686472f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 16 04:17:10 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 16 04:17:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f4f58c
dev-java/icu4j: Stabilize 75.1 arm64, #931971
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/icu4j/icu4j-75.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-75.1.ebuild b/dev-java/icu4j/icu4j-75.1.ebuild
index b7830c3dc842..486279127138 100644
--- a/dev-java/icu4j/icu4j-75.1.ebuild
+++ b/dev-java/icu4j/icu4j-75.1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-04-16 8:02 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-04-16 8:02 UTC (permalink / raw
To: gentoo-commits
commit: 87e49012bbbadb498dc6e879bb68f2ac35ba65be
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Apr 7 14:11:23 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 07:56:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e49012
dev-java/icu4j: add 75.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/36150
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 +
dev-java/icu4j/icu4j-75.1.ebuild | 192 +++++++++++++++++++++++++++++++++++++++
2 files changed, 193 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 2333f7ea8c09..052b7f5e2744 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1 +1,2 @@
DIST icu-74.2.tar.gz 65888936 BLAKE2B 81d5acddbfc58a859906cb61660b6f230b88f4a1b1cfd56838843e9445b5858d3dd4888707026340581322143f6a4b7b81f53b6431fd5d4cc3fb90531c4d82fb SHA512 728ae0f09ffc802d675bcf5b849e3081472de8417736bf8b7df0f4db9d1fb8073779be76536764c9111f7cb0e5ab2d2af6c644cc24be432b9eeae9063802ad6c
+DIST icu4j-75.1.tar.gz 65866291 BLAKE2B ae9a2a8f9bf6f38a08c46c4c3695fa4096c831beab1af5b654e86c9d681eb32be727930aeb1fd866fe9f93a96abe807fd353d108b5fe7a4d8203ee33cc16d971 SHA512 08f8fce8a4dd85706d9f7c57fd021ba15c403ab2da33d9a122d7cb441e0e148deebf245a661e4ef53a30bfa8b7622c63035946fd8966be3927af322275b87ca3
diff --git a/dev-java/icu4j/icu4j-75.1.ebuild b/dev-java/icu4j/icu4j-75.1.ebuild
new file mode 100644
index 000000000000..b7830c3dc842
--- /dev/null
+++ b/dev-java/icu4j/icu4j-75.1.ebuild
@@ -0,0 +1,192 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_PROVIDES="
+ com.ibm.icu:icu4j:${PV}
+ com.ibm.icu:icu4j-charset:${PV}
+ com.ibm.icu:icu4j-localespi:${PV}
+"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="https://icu.unicode.org"
+SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
+
+LICENSE="icu"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ test? (
+ dev-java/gson:0
+ dev-java/junitparams:0
+ )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../../{CONTRIBUTING,README,SECURITY}.md )
+HTML_DOCS=( ../{APIChangeReport,readme}.html )
+
+src_compile() {
+ JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar"
+
+ einfo "Compiling icu4j.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
+ JAVA_JAR_FILENAME="icu4j.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
+ JAVA_RESOURCE_DIRS=(
+ collate/src/main/resources
+ core/src/main/resources
+ currdata/src/main/resources
+ langdata/src/main/resources
+ regiondata/src/main/resources
+ translit/src/main/resources
+ )
+ JAVA_SRC_DIR=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-charset.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
+ JAVA_JAR_FILENAME="icu4j-charset.jar"
+ JAVA_MAIN_CLASS=""
+ JAVA_RESOURCE_DIRS=( charset/src/main/resources )
+ JAVA_SRC_DIR=( charset/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-localespi.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
+ JAVA_JAR_FILENAME="icu4j-localespi.jar"
+ JAVA_RESOURCE_DIRS=( localespi/src/main/resources )
+ JAVA_SRC_DIR=( localespi/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Generating javadocs"
+ JAVADOC_SRC_DIRS=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ charset/src/main/java
+ localespi/src/main/java
+ )
+ use doc && ejavadoc
+}
+
+src_test () {
+ # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
+ export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
+
+ JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
+ JAVA_TEST_GENTOO_CLASSPATH="gson,junit-4,junitparams"
+
+ einfo "Compiling framework-tests.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.framework"
+ JAVA_JAR_FILENAME="framework-tests.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.dev.test.TestAll"
+ JAVA_RESOURCE_DIRS=( framework/src/test/resources )
+ JAVA_SRC_DIR=( framework/src/test/java )
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":framework-tests.jar"
+
+ einfo "Testing core aka icu4j.jar"
+ JAVA_TEST_RESOURCE_DIRS="core/src/test/resources"
+ JAVA_TEST_SRC_DIR="core/src/test/java"
+ pushd "${JAVA_TEST_SRC_DIR}" || die
+ # exclude invalid tests, not run by "mvn test"
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ -name "*Test*.java" \
+ ! -name "ChineseTestCase.java" \
+ ! -name "DataDrivenNumberFormatTestUtility.java" \
+ ! -name "*Helper.java" \
+ ! -name "ModuleTest.java" \
+ ! -name "*Sample.java" \
+ ! -name "TestCase.java" \
+ ! -name "*TestData*.java" \
+ ! -name "*TestFmwk.java" \
+ ! -name "TestMessages.java" \
+ ! -name "TestUtils.java" \
+ )
+ popd
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ java-pkg-simple_src_test
+
+ einfo "Creating core-tests.jar"
+ jar cvf core-tests.jar -C target/test-classes .
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":core-tests.jar"
+ JAVA_TEST_RUN_ONLY=""
+
+ einfo "Testing collate"
+ JAVA_TEST_RESOURCE_DIRS="collate/src/test/resources"
+ JAVA_TEST_SRC_DIR="collate/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing translit"
+ JAVA_TEST_EXCLUDES=(
+ # Invalid test classes, No runnable methods
+ com.ibm.icu.dev.test.TestBoilerplate
+ com.ibm.icu.dev.test.translit.TestUtility
+ )
+ JAVA_TEST_RESOURCE_DIRS="translit/src/test/resources"
+ JAVA_TEST_SRC_DIR="translit/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing charset"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="charset/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing common_tests"
+ # "mvn test" runs only 90 tests here, Gentoo runs 99 but 9 of them fail.
+ # coverage tests fail because test handlers for the parametrized tests
+ # are not defined so the tests are broken and cannot succeed
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.serializable.CoverageTest )
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="common_tests/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing localespi"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="localespi/src/test/java"
+ # Invalid test classes, No runnable methods
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.localespi.TestUtil )
+ # https://bugs.gentoo.org/827212, "mvn test" does not run it at all
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
+src_install() {
+ default
+ java-pkg_dojar "icu4j.jar"
+ java-pkg_dojar "icu4j-charset.jar"
+ java-pkg_dojar "icu4j-localespi.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+ if use source; then
+ java-pkg_dosrc "classes"
+ fi
+}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-19 12:44 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-01-19 12:44 UTC (permalink / raw
To: gentoo-commits
commit: f0a520668cde01660ef207a1d02ee82ebf8b0a7f
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Jan 19 11:04:40 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 12:44:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a52066
dev-java/icu4j: drop 74.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-74.1.ebuild | 198 ---------------------------------------
2 files changed, 199 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 6ce8293f6e85..2333f7ea8c09 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1 @@
-DIST icu-74.1.tar.gz 65889935 BLAKE2B e9dc354a795b69cf22152db437027f099e65b02f352e3ec9f0203b465b4f01a7844229ed5a7954e9b7f7f55f0d2d93a8e1f984c70de47555c230ec8b42cb7949 SHA512 eec8858cb37200fffce9bc60a8bd0c56d7024d9e2574d030c7e726aa4b2a105b1362548c0be163c720048bd7a7bfe9374b3c5954ba14e2e34beab346a8af8df4
DIST icu-74.2.tar.gz 65888936 BLAKE2B 81d5acddbfc58a859906cb61660b6f230b88f4a1b1cfd56838843e9445b5858d3dd4888707026340581322143f6a4b7b81f53b6431fd5d4cc3fb90531c4d82fb SHA512 728ae0f09ffc802d675bcf5b849e3081472de8417736bf8b7df0f4db9d1fb8073779be76536764c9111f7cb0e5ab2d2af6c644cc24be432b9eeae9063802ad6c
diff --git a/dev-java/icu4j/icu4j-74.1.ebuild b/dev-java/icu4j/icu4j-74.1.ebuild
deleted file mode 100644
index b206b8195308..000000000000
--- a/dev-java/icu4j/icu4j-74.1.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_PROVIDES="
- com.ibm.icu:icu4j:${PV}
- com.ibm.icu:icu4j-charset:${PV}
- com.ibm.icu:icu4j-localespi:${PV}
-"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz"
-S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
-
-LICENSE="icu"
-SLOT="70"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND="
- >=virtual/jdk-1.8:*
- test? ( dev-java/junitparams:0 )
-"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-DOCS=( ../../{CONTRIBUTING,README,SECURITY}.md )
-HTML_DOCS=( ../{APIChangeReport,readme}.html )
-
-src_prepare() {
- default
- java-pkg-2_src_prepare
-}
-
-src_compile() {
- JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar"
-
- einfo "Compiling icu4j.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
- JAVA_JAR_FILENAME="icu4j.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
- JAVA_RESOURCE_DIRS=(
- collate/src/main/resources
- core/src/main/resources
- currdata/src/main/resources
- langdata/src/main/resources
- regiondata/src/main/resources
- translit/src/main/resources
- )
- JAVA_SRC_DIR=(
- collate/src/main/java
- core/src/main/java
- currdata/src/main/java
- langdata/src/main/java
- regiondata/src/main/java
- translit/src/main/java
- )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-charset.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
- JAVA_JAR_FILENAME="icu4j-charset.jar"
- JAVA_MAIN_CLASS=""
- JAVA_RESOURCE_DIRS=( charset/src/main/resources )
- JAVA_SRC_DIR=( charset/src/main/java )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-localespi.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
- JAVA_JAR_FILENAME="icu4j-localespi.jar"
- JAVA_RESOURCE_DIRS=( localespi/src/main/resources )
- JAVA_SRC_DIR=( localespi/src/main/java )
- java-pkg-simple_src_compile
- rm -r target || die
-
- # javadocs
- if use doc; then
- einfo "Compiling javadocs"
- JAVA_JAR_FILENAME="ignoreme.jar"
- JAVA_SRC_DIR=(
- collate/src/main/java
- core/src/main/java
- currdata/src/main/java
- langdata/src/main/java
- regiondata/src/main/java
- translit/src/main/java
- charset/src/main/java
- localespi/src/main/java
- )
- java-pkg-simple_src_compile
- fi
-}
-
-src_test () {
- # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
- export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
-
- JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
- JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
-
- einfo "Compiling framework-tests.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.framework"
- JAVA_JAR_FILENAME="framework-tests.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.dev.test.TestAll"
- JAVA_RESOURCE_DIRS=( framework/src/test/resources )
- JAVA_SRC_DIR=( framework/src/test/java )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":framework-tests.jar"
-
- einfo "Testing core aka icu4j.jar"
- JAVA_TEST_RESOURCE_DIRS="core/src/test/resources"
- JAVA_TEST_SRC_DIR="core/src/test/java"
- pushd "${JAVA_TEST_SRC_DIR}" || die
- # exclude invalid tests, not run by "mvn test"
- local JAVA_TEST_RUN_ONLY=$(find * \
- -name "*Test*.java" \
- ! -name "ChineseTestCase.java" \
- ! -name "DataDrivenNumberFormatTestUtility.java" \
- ! -name "*Helper.java" \
- ! -name "ModuleTest.java" \
- ! -name "*Sample.java" \
- ! -name "TestCase.java" \
- ! -name "*TestData*.java" \
- ! -name "*TestFmwk.java" \
- ! -name "TestMessages.java" \
- ! -name "TestUtils.java" \
- )
- popd
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
- JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
- java-pkg-simple_src_test
-
- einfo "Creating core-tests.jar"
- jar cvf core-tests.jar -C target/test-classes .
- JAVA_GENTOO_CLASSPATH_EXTRA+=":core-tests.jar"
- JAVA_TEST_RUN_ONLY=""
-
- einfo "Testing collate"
- JAVA_TEST_RESOURCE_DIRS="collate/src/test/resources"
- JAVA_TEST_SRC_DIR="collate/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing translit"
- JAVA_TEST_EXCLUDES=(
- # Invalid test classes, No runnable methods
- com.ibm.icu.dev.test.TestBoilerplate
- com.ibm.icu.dev.test.translit.TestUtility
- )
- JAVA_TEST_RESOURCE_DIRS="translit/src/test/resources"
- JAVA_TEST_SRC_DIR="translit/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing charset"
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="charset/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing common_tests"
- # "mvn test" runs only 90 tests here, Gentoo runs 99 but 9 of them fail.
- # coverage tests fail because test handlers for the parametrized tests
- # are not defined so the tests are broken and cannot succeed
- JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.serializable.CoverageTest )
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="common_tests/src/test/java"
- java-pkg-simple_src_test
-
- einfo "Testing localespi"
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_SRC_DIR="localespi/src/test/java"
- # Invalid test classes, No runnable methods
- JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.localespi.TestUtil )
- # https://bugs.gentoo.org/827212, "mvn test" does not run it at all
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if [[ "${vm_version}" != "1.8" ]] ; then
- java-pkg-simple_src_test
- fi
-}
-
-src_install() {
- default
- java-pkg_dojar "icu4j.jar"
- java-pkg_dojar "icu4j-charset.jar"
- java-pkg_dojar "icu4j-localespi.jar"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
- if use source; then
- java-pkg_dosrc "classes"
- fi
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-19 10:47 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-01-19 10:47 UTC (permalink / raw
To: gentoo-commits
commit: 009eb9285c317d5fb523199f8e790d91a5dcd580
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 10:47:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 10:47:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=009eb928
dev-java/icu4j: Stabilize 74.2 amd64, #922471
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-74.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-74.2.ebuild b/dev-java/icu4j/icu4j-74.2.ebuild
index ba213ec97d6e..8f2660e0cdd6 100644
--- a/dev-java/icu4j/icu4j-74.2.ebuild
+++ b/dev-java/icu4j/icu4j-74.2.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-19 10:47 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-01-19 10:47 UTC (permalink / raw
To: gentoo-commits
commit: 23f5dde36bee0f943b517a277adfc9b18681bc07
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 10:47:22 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 10:47:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23f5dde3
dev-java/icu4j: Stabilize 74.2 x86, #922471
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-74.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-74.2.ebuild b/dev-java/icu4j/icu4j-74.2.ebuild
index 4f8dd74d0262..ba213ec97d6e 100644
--- a/dev-java/icu4j/icu4j-74.2.ebuild
+++ b/dev-java/icu4j/icu4j-74.2.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-19 10:07 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-01-19 10:07 UTC (permalink / raw
To: gentoo-commits
commit: 1dcdc85de19e0ab99674842f34aa3d281a2f6e42
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 10:07:00 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 10:07:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dcdc85d
dev-java/icu4j: Stabilize 74.2 ppc64, #922471
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-74.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-java/icu4j/icu4j-74.2.ebuild b/dev-java/icu4j/icu4j-74.2.ebuild
index b0d9df772754..caaeb913da15 100644
--- a/dev-java/icu4j/icu4j-74.2.ebuild
+++ b/dev-java/icu4j/icu4j-74.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-19 10:07 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-01-19 10:07 UTC (permalink / raw
To: gentoo-commits
commit: d26c941972f5aef0cc9728fa0111baba7ece2590
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 10:07:01 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 10:07:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d26c9419
dev-java/icu4j: Stabilize 74.2 arm64, #922471
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-74.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-74.2.ebuild b/dev-java/icu4j/icu4j-74.2.ebuild
index caaeb913da15..4f8dd74d0262 100644
--- a/dev-java/icu4j/icu4j-74.2.ebuild
+++ b/dev-java/icu4j/icu4j-74.2.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-06 21:52 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2024-01-06 21:52 UTC (permalink / raw
To: gentoo-commits
commit: d43b96a01ae08b5b98930b0b662fea94f36e4e06
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Jan 6 19:56:34 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Jan 6 21:52:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43b96a0
dev-java/icu4j: drop 73.2
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-73.2.ebuild | 240 ---------------------------------------
2 files changed, 241 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 3496bfaee538..6ce8293f6e85 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,3 +1,2 @@
-DIST icu-73.2.tar.gz 81522943 BLAKE2B 006d7ccab04385f0aa60e2e60b616be9598f448f27d9b0f6dba554874bfe1dd442ba0719a7677ba8aba7e4e0f05e5e50dca74855a900da1f496aad0cd54c3cdc SHA512 f234fb9c76af62dad59e159ef7f7792aca563d88f2988d3d1ecc8be6250837beb9a530ec121e0949f6925ee8e5171a0d04fa41a0c50d9993c4061fa55be6836e
DIST icu-74.1.tar.gz 65889935 BLAKE2B e9dc354a795b69cf22152db437027f099e65b02f352e3ec9f0203b465b4f01a7844229ed5a7954e9b7f7f55f0d2d93a8e1f984c70de47555c230ec8b42cb7949 SHA512 eec8858cb37200fffce9bc60a8bd0c56d7024d9e2574d030c7e726aa4b2a105b1362548c0be163c720048bd7a7bfe9374b3c5954ba14e2e34beab346a8af8df4
DIST icu-74.2.tar.gz 65888936 BLAKE2B 81d5acddbfc58a859906cb61660b6f230b88f4a1b1cfd56838843e9445b5858d3dd4888707026340581322143f6a4b7b81f53b6431fd5d4cc3fb90531c4d82fb SHA512 728ae0f09ffc802d675bcf5b849e3081472de8417736bf8b7df0f4db9d1fb8073779be76536764c9111f7cb0e5ab2d2af6c644cc24be432b9eeae9063802ad6c
diff --git a/dev-java/icu4j/icu4j-73.2.ebuild b/dev-java/icu4j/icu4j-73.2.ebuild
deleted file mode 100644
index bb57ea2829c9..000000000000
--- a/dev-java/icu4j/icu4j-73.2.ebuild
+++ /dev/null
@@ -1,240 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="com.ibm.icu:icu4j:${PV}"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz"
-S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
-
-LICENSE="icu"
-SLOT="70"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND=">=virtual/jdk-1.8:*
- test? ( dev-java/junitparams:0 )"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-HTML_DOCS=( ../{APIChangeReport,readme}.html )
-
-JAVA_TEST_EXCLUDES=(
- # Invalid tests, not run by maven
- "com.ibm.icu.dev.data.TestDataElements_testtypes"
- "com.ibm.icu.dev.data.resources.TestDataElements_en_Latn_US"
- "com.ibm.icu.dev.data.resources.TestDataElements_en_US"
- "com.ibm.icu.dev.data.resources.TestDataElements_fr_Latn_FR"
- "com.ibm.icu.dev.data.resources.TestDataElements_te"
- "com.ibm.icu.dev.data.resources.TestMessages"
- "com.ibm.icu.dev.test.ModuleTest"
- "com.ibm.icu.dev.test.TestBoilerplate"
- "com.ibm.icu.dev.test.TestDataModule"
- "com.ibm.icu.dev.test.bidi.TestData"
- "com.ibm.icu.dev.test.calendar.ChineseTestCase"
- "com.ibm.icu.dev.test.calendar.TestCase"
- "com.ibm.icu.dev.test.format.ExhaustivePersonNameFormatterTest"
- "com.ibm.icu.dev.test.localespi.TestUtil"
- "com.ibm.icu.dev.test.message2.TestCase"
- "com.ibm.icu.dev.test.stringprep.TestData"
- "com.ibm.icu.dev.test.translit.TestUtility"
- # Maven: [INFO] Tests run: 364, Failures: 0, Errors: 0, Skipped: 0
- "com.ibm.icu.dev.test.serializable.CompatibilityTest" # Tests run: 364, Failures: 4
- # Maven: [INFO] Tests run: 90, Failures: 0, Errors: 0, Skipped: 0
- "com.ibm.icu.dev.test.serializable.CoverageTest" # Tests run: 99, Failures: 9
- # Following tests need to run separately:
- com.ibm.icu.dev.test.calendar.CalendarRegressionTest
- com.ibm.icu.dev.test.calendar.CompatibilityTest
- com.ibm.icu.dev.test.calendar.DataDrivenCalendarTest
- com.ibm.icu.dev.test.calendar.HolidayTest
- com.ibm.icu.dev.test.calendar.IndianTest
- com.ibm.icu.dev.test.calendar.IslamicTest
- com.ibm.icu.dev.test.calendar.JapaneseTest
- com.ibm.icu.dev.test.format.DataDrivenFormatTest
- com.ibm.icu.dev.test.format.DateFormatRegressionTest
- com.ibm.icu.dev.test.format.DateFormatRoundTripTest
- com.ibm.icu.dev.test.format.DateIntervalFormatTest
- com.ibm.icu.dev.test.format.DateTimeGeneratorTest
- com.ibm.icu.dev.test.format.TestMessageFormat
- com.ibm.icu.dev.test.message2.MessageFormat2Test
- com.ibm.icu.dev.test.message2.Mf2FeaturesTest
- com.ibm.icu.dev.test.message2.Mf2IcuTest
- com.ibm.icu.dev.test.timezone.TimeZoneBoundaryTest
- com.ibm.icu.dev.test.util.CurrencyTest
-)
-JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
-JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
-JAVA_TEST_RESOURCE_DIRS=(
- tests/res/collate/src
- tests/res/core/src
- tests/res/translit/src
-)
-JAVA_TEST_SRC_DIR=(
- tests/charset/src
- tests/collate/src
- tests/core/src
- tests/localespi/src
- tests/packaging/src
- tests/translit/src
-)
-
-src_prepare() {
- java-pkg_clean ! -path "./shared/data/*" # keep icudata.jar, icutzdata.jar, testdata.jar
- java-pkg-2_src_prepare
-
- # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS
- mkdir -p resources || die
-
- pushd classes > /dev/null || die
- find -type f \
- ! -name '*.java' \
- ! -name 'license.html' \
- | xargs cp --parent -t ../resources || die
- popd > /dev/null || die
-
- pushd resources/core/src > /dev/null || die
- # icudata and icutzdata for "icu4j.jar"
- jar -xf "${S}"/shared/data/icudata.jar || die
- jar -xf "${S}"/shared/data/icutzdata.jar || die
- # move these resources to "icu4j-charset.jar"
- mkdir -p "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
- mv com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/{*.cnv,cnvalias.icu} \
- "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
-
- # create 9 files com/ibm/icu/impl/data/icudt69b/*/fullLocaleNames.lst
- for dir in $(find com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/ -type d ! -name 'unit' -exec echo {} +); do
- ls -1 $dir/*.res | sed -e 's%.*\/%%' -e 's%\..*$%%' -e '/pool/d' -e '/res_index/d' -e '/tzdbNames/d'\
- > $dir/'fullLocaleNames.lst';
- done || die "fullLocaleNames.lst failed"
- popd > /dev/null || die
-
- if use test; then
- # initializationError(com.ibm.icu.dev.data.resources.TestDataElements)
- # but test_excluding it would kill tousands of other tests.
- mkdir -p tests/framework/src/com/ibm/icu/dev/data/resources || die
- mv tests/{core,framework}/src/com/ibm/icu/dev/data/resources/TestDataElements.java || die
-
- # Separate tests resources
- mkdir tests/res || die
- pushd tests > /dev/null || die
- find -type f \
- ! -name '*.java' \
- | xargs cp --parent -t res || die
- popd > /dev/null || die
-
- cp -r ../tools/misc/{src,resources} || die
- find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
- fi
-}
-
-src_compile() {
- einfo "Compiling icu4j.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
- JAVA_JAR_FILENAME="icu4j.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
- JAVA_RESOURCE_DIRS="resources/core/src"
- JAVA_SRC_DIR=(
- classes/collate/src
- classes/core/src
- classes/currdata/src
- classes/langdata/src
- classes/regiondata/src
- classes/translit/src
- )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":icu4j.jar"
- rm -r target || die
-
- einfo "Compiling icu4j-charset.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
- JAVA_JAR_FILENAME="icu4j-charset.jar"
- JAVA_MAIN_CLASS=""
- JAVA_RESOURCE_DIRS="resources/charset/src"
- JAVA_SRC_DIR=( classes/charset/src )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":icu4j-charset.jar"
- rm -r target || die
-
- einfo "Compiling icu4j-localespi.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
- JAVA_JAR_FILENAME="icu4j-localespi.jar"
- JAVA_RESOURCE_DIRS="resources/localespi/src"
- JAVA_SRC_DIR=( classes/localespi/src )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":icu4j-localespi.jar"
- rm -r target || die
-
- # main/test/framework
- # needed for compilicg the tests
- # but "No runnable methods" ("Invalid test class")
- if use test; then
- JAVA_JAR_FILENAME="framework.jar"
- JAVA_RESOURCE_DIRS=( tests/res/framework/src ../tools/misc/resources )
- JAVA_SRC_DIR=( tests/framework/src ../tools/misc/src )
- java-pkg-simple_src_compile
- rm -fr target || die
- fi
-
- # javadocs
- if use doc; then
- JAVA_JAR_FILENAME="ignoreme.jar"
- JAVA_SRC_DIR=( classes )
- java-pkg-simple_src_compile
- fi
-}
-
-src_test () {
- # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
- export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
- JAVA_GENTOO_CLASSPATH_EXTRA+=":framework.jar:shared/data/testdata.jar"
-
- JAVA_TEST_RUN_ONLY=(
- com.ibm.icu.dev.test.rbbi.AbstractBreakIteratorTests
- com.ibm.icu.dev.test.calendar.CalendarRegressionTest
- com.ibm.icu.dev.test.calendar.CompatibilityTest
- com.ibm.icu.dev.test.calendar.DataDrivenCalendarTest
- com.ibm.icu.dev.test.calendar.HolidayTest
- com.ibm.icu.dev.test.calendar.IndianTest
- com.ibm.icu.dev.test.calendar.IslamicTest
- com.ibm.icu.dev.test.calendar.JapaneseTest
- com.ibm.icu.dev.test.format.DataDrivenFormatTest
- com.ibm.icu.dev.test.format.DateFormatRegressionTest
- com.ibm.icu.dev.test.format.DateFormatRoundTripTest
- com.ibm.icu.dev.test.format.DateIntervalFormatTest
- com.ibm.icu.dev.test.format.DateTimeGeneratorTest
- com.ibm.icu.dev.test.format.TestMessageFormat
- com.ibm.icu.dev.test.message2.MessageFormat2Test
- com.ibm.icu.dev.test.message2.Mf2FeaturesTest
- com.ibm.icu.dev.test.message2.Mf2IcuTest
- com.ibm.icu.dev.test.timezone.TimeZoneBoundaryTest
- com.ibm.icu.dev.test.util.CurrencyTest
- )
- java-pkg-simple_src_test
-
- JAVA_TEST_RUN_ONLY=()
- # ../maven-build/maven-icu4j-localespi/pom.xml#L133-L143
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if [[ "${vm_version}" != "1.8" ]] ; then
- java-pkg-simple_src_test
- fi
-}
-
-src_install() {
- default
- java-pkg_dojar "icu4j.jar"
- java-pkg_dojar "icu4j-charset.jar"
- java-pkg_dojar "icu4j-localespi.jar"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
- if use source; then
- java-pkg_dosrc "classes"
- fi
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-06 8:16 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-01-06 8:16 UTC (permalink / raw
To: gentoo-commits
commit: ecafb0e3f7fc3051df7bed5528a7b9b48db3bcd4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 6 08:16:00 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 6 08:16:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecafb0e3
dev-java/icu4j: Stabilize 74.1 amd64, #921402
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-74.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-74.1.ebuild b/dev-java/icu4j/icu4j-74.1.ebuild
index d554aa2410e5..9278e5dda501 100644
--- a/dev-java/icu4j/icu4j-74.1.ebuild
+++ b/dev-java/icu4j/icu4j-74.1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-06 8:11 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-01-06 8:11 UTC (permalink / raw
To: gentoo-commits
commit: fc524c09afec4dee7e234394b11d1e4e8c579d4f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 6 08:10:12 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 6 08:10:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc524c09
dev-java/icu4j: Stabilize 74.1 arm64, #921402
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-74.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-74.1.ebuild b/dev-java/icu4j/icu4j-74.1.ebuild
index 02b63a4ebe7a..d554aa2410e5 100644
--- a/dev-java/icu4j/icu4j-74.1.ebuild
+++ b/dev-java/icu4j/icu4j-74.1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2024-01-06 8:11 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2024-01-06 8:11 UTC (permalink / raw
To: gentoo-commits
commit: 17ebbd4b763bf56d0eef8636db0b620a86200119
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 6 08:10:11 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 6 08:10:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ebbd4b
dev-java/icu4j: Stabilize 74.1 ppc64, #921402
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-74.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-java/icu4j/icu4j-74.1.ebuild b/dev-java/icu4j/icu4j-74.1.ebuild
index df57cac1fc96..02b63a4ebe7a 100644
--- a/dev-java/icu4j/icu4j-74.1.ebuild
+++ b/dev-java/icu4j/icu4j-74.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86"
DEPEND="
>=virtual/jdk-1.8:*
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2023-12-20 9:12 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2023-12-20 9:12 UTC (permalink / raw
To: gentoo-commits
commit: 47ce949daf10eaa7a7d81919e4eb87d142cf7a5a
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Dec 17 10:49:32 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 09:12:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ce949d
dev-java/icu4j: add 74.2
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/34318
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 +
dev-java/icu4j/icu4j-74.2.ebuild | 193 +++++++++++++++++++++++++++++++++++++++
2 files changed, 194 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 304a978ce3a1..3496bfaee538 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1,3 @@
DIST icu-73.2.tar.gz 81522943 BLAKE2B 006d7ccab04385f0aa60e2e60b616be9598f448f27d9b0f6dba554874bfe1dd442ba0719a7677ba8aba7e4e0f05e5e50dca74855a900da1f496aad0cd54c3cdc SHA512 f234fb9c76af62dad59e159ef7f7792aca563d88f2988d3d1ecc8be6250837beb9a530ec121e0949f6925ee8e5171a0d04fa41a0c50d9993c4061fa55be6836e
DIST icu-74.1.tar.gz 65889935 BLAKE2B e9dc354a795b69cf22152db437027f099e65b02f352e3ec9f0203b465b4f01a7844229ed5a7954e9b7f7f55f0d2d93a8e1f984c70de47555c230ec8b42cb7949 SHA512 eec8858cb37200fffce9bc60a8bd0c56d7024d9e2574d030c7e726aa4b2a105b1362548c0be163c720048bd7a7bfe9374b3c5954ba14e2e34beab346a8af8df4
+DIST icu-74.2.tar.gz 65888936 BLAKE2B 81d5acddbfc58a859906cb61660b6f230b88f4a1b1cfd56838843e9445b5858d3dd4888707026340581322143f6a4b7b81f53b6431fd5d4cc3fb90531c4d82fb SHA512 728ae0f09ffc802d675bcf5b849e3081472de8417736bf8b7df0f4db9d1fb8073779be76536764c9111f7cb0e5ab2d2af6c644cc24be432b9eeae9063802ad6c
diff --git a/dev-java/icu4j/icu4j-74.2.ebuild b/dev-java/icu4j/icu4j-74.2.ebuild
new file mode 100644
index 000000000000..b0d9df772754
--- /dev/null
+++ b/dev-java/icu4j/icu4j-74.2.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_PROVIDES="
+ com.ibm.icu:icu4j:${PV}
+ com.ibm.icu:icu4j-charset:${PV}
+ com.ibm.icu:icu4j-localespi:${PV}
+"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="https://icu.unicode.org"
+SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz"
+S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
+
+LICENSE="icu"
+SLOT="70"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ test? ( dev-java/junitparams:0 )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../../{CONTRIBUTING,README,SECURITY}.md )
+HTML_DOCS=( ../{APIChangeReport,readme}.html )
+
+src_compile() {
+ JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar"
+
+ einfo "Compiling icu4j.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
+ JAVA_JAR_FILENAME="icu4j.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
+ JAVA_RESOURCE_DIRS=(
+ collate/src/main/resources
+ core/src/main/resources
+ currdata/src/main/resources
+ langdata/src/main/resources
+ regiondata/src/main/resources
+ translit/src/main/resources
+ )
+ JAVA_SRC_DIR=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-charset.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
+ JAVA_JAR_FILENAME="icu4j-charset.jar"
+ JAVA_MAIN_CLASS=""
+ JAVA_RESOURCE_DIRS=( charset/src/main/resources )
+ JAVA_SRC_DIR=( charset/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-localespi.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
+ JAVA_JAR_FILENAME="icu4j-localespi.jar"
+ JAVA_RESOURCE_DIRS=( localespi/src/main/resources )
+ JAVA_SRC_DIR=( localespi/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ # javadocs
+ if use doc; then
+ einfo "Compiling javadocs"
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ JAVA_SRC_DIR=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ charset/src/main/java
+ localespi/src/main/java
+ )
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_test () {
+ # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
+ export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
+
+ JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
+ JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
+
+ einfo "Compiling framework-tests.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.framework"
+ JAVA_JAR_FILENAME="framework-tests.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.dev.test.TestAll"
+ JAVA_RESOURCE_DIRS=( framework/src/test/resources )
+ JAVA_SRC_DIR=( framework/src/test/java )
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":framework-tests.jar"
+
+ einfo "Testing core aka icu4j.jar"
+ JAVA_TEST_RESOURCE_DIRS="core/src/test/resources"
+ JAVA_TEST_SRC_DIR="core/src/test/java"
+ pushd "${JAVA_TEST_SRC_DIR}" || die
+ # exclude invalid tests, not run by "mvn test"
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ -name "*Test*.java" \
+ ! -name "ChineseTestCase.java" \
+ ! -name "DataDrivenNumberFormatTestUtility.java" \
+ ! -name "*Helper.java" \
+ ! -name "ModuleTest.java" \
+ ! -name "*Sample.java" \
+ ! -name "TestCase.java" \
+ ! -name "*TestData*.java" \
+ ! -name "*TestFmwk.java" \
+ ! -name "TestMessages.java" \
+ ! -name "TestUtils.java" \
+ )
+ popd
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ java-pkg-simple_src_test
+
+ einfo "Creating core-tests.jar"
+ jar cvf core-tests.jar -C target/test-classes .
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":core-tests.jar"
+ JAVA_TEST_RUN_ONLY=""
+
+ einfo "Testing collate"
+ JAVA_TEST_RESOURCE_DIRS="collate/src/test/resources"
+ JAVA_TEST_SRC_DIR="collate/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing translit"
+ JAVA_TEST_EXCLUDES=(
+ # Invalid test classes, No runnable methods
+ com.ibm.icu.dev.test.TestBoilerplate
+ com.ibm.icu.dev.test.translit.TestUtility
+ )
+ JAVA_TEST_RESOURCE_DIRS="translit/src/test/resources"
+ JAVA_TEST_SRC_DIR="translit/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing charset"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="charset/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing common_tests"
+ # "mvn test" runs only 90 tests here, Gentoo runs 99 but 9 of them fail.
+ # coverage tests fail because test handlers for the parametrized tests
+ # are not defined so the tests are broken and cannot succeed
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.serializable.CoverageTest )
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="common_tests/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing localespi"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="localespi/src/test/java"
+ # Invalid test classes, No runnable methods
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.localespi.TestUtil )
+ # https://bugs.gentoo.org/827212, "mvn test" does not run it at all
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
+src_install() {
+ default
+ java-pkg_dojar "icu4j.jar"
+ java-pkg_dojar "icu4j-charset.jar"
+ java-pkg_dojar "icu4j-localespi.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+ if use source; then
+ java-pkg_dosrc "classes"
+ fi
+}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2023-12-07 12:42 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2023-12-07 12:42 UTC (permalink / raw
To: gentoo-commits
commit: aa257d8fe58dc3a7ddee2e7aa38907a78dd29f4b
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Oct 27 11:23:27 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Dec 7 12:34:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa257d8f
dev-java/icu4j: add 74.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33583
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 +
dev-java/icu4j/icu4j-74.1.ebuild | 198 +++++++++++++++++++++++++++++++++++++++
2 files changed, 199 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 654f43047d9e..304a978ce3a1 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1 +1,2 @@
DIST icu-73.2.tar.gz 81522943 BLAKE2B 006d7ccab04385f0aa60e2e60b616be9598f448f27d9b0f6dba554874bfe1dd442ba0719a7677ba8aba7e4e0f05e5e50dca74855a900da1f496aad0cd54c3cdc SHA512 f234fb9c76af62dad59e159ef7f7792aca563d88f2988d3d1ecc8be6250837beb9a530ec121e0949f6925ee8e5171a0d04fa41a0c50d9993c4061fa55be6836e
+DIST icu-74.1.tar.gz 65889935 BLAKE2B e9dc354a795b69cf22152db437027f099e65b02f352e3ec9f0203b465b4f01a7844229ed5a7954e9b7f7f55f0d2d93a8e1f984c70de47555c230ec8b42cb7949 SHA512 eec8858cb37200fffce9bc60a8bd0c56d7024d9e2574d030c7e726aa4b2a105b1362548c0be163c720048bd7a7bfe9374b3c5954ba14e2e34beab346a8af8df4
diff --git a/dev-java/icu4j/icu4j-74.1.ebuild b/dev-java/icu4j/icu4j-74.1.ebuild
new file mode 100644
index 000000000000..df57cac1fc96
--- /dev/null
+++ b/dev-java/icu4j/icu4j-74.1.ebuild
@@ -0,0 +1,198 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_PROVIDES="
+ com.ibm.icu:icu4j:${PV}
+ com.ibm.icu:icu4j-charset:${PV}
+ com.ibm.icu:icu4j-localespi:${PV}
+"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="https://icu.unicode.org"
+SRC_URI="https://github.com/unicode-org/icu/archive/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz"
+S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
+
+LICENSE="icu"
+SLOT="70"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ test? ( dev-java/junitparams:0 )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../../{CONTRIBUTING,README,SECURITY}.md )
+HTML_DOCS=( ../{APIChangeReport,readme}.html )
+
+src_prepare() {
+ default
+ java-pkg-2_src_prepare
+}
+
+src_compile() {
+ JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar"
+
+ einfo "Compiling icu4j.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
+ JAVA_JAR_FILENAME="icu4j.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
+ JAVA_RESOURCE_DIRS=(
+ collate/src/main/resources
+ core/src/main/resources
+ currdata/src/main/resources
+ langdata/src/main/resources
+ regiondata/src/main/resources
+ translit/src/main/resources
+ )
+ JAVA_SRC_DIR=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-charset.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
+ JAVA_JAR_FILENAME="icu4j-charset.jar"
+ JAVA_MAIN_CLASS=""
+ JAVA_RESOURCE_DIRS=( charset/src/main/resources )
+ JAVA_SRC_DIR=( charset/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-localespi.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
+ JAVA_JAR_FILENAME="icu4j-localespi.jar"
+ JAVA_RESOURCE_DIRS=( localespi/src/main/resources )
+ JAVA_SRC_DIR=( localespi/src/main/java )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ # javadocs
+ if use doc; then
+ einfo "Compiling javadocs"
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ JAVA_SRC_DIR=(
+ collate/src/main/java
+ core/src/main/java
+ currdata/src/main/java
+ langdata/src/main/java
+ regiondata/src/main/java
+ translit/src/main/java
+ charset/src/main/java
+ localespi/src/main/java
+ )
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_test () {
+ # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
+ export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
+
+ JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
+ JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
+
+ einfo "Compiling framework-tests.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.framework"
+ JAVA_JAR_FILENAME="framework-tests.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.dev.test.TestAll"
+ JAVA_RESOURCE_DIRS=( framework/src/test/resources )
+ JAVA_SRC_DIR=( framework/src/test/java )
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":framework-tests.jar"
+
+ einfo "Testing core aka icu4j.jar"
+ JAVA_TEST_RESOURCE_DIRS="core/src/test/resources"
+ JAVA_TEST_SRC_DIR="core/src/test/java"
+ pushd "${JAVA_TEST_SRC_DIR}" || die
+ # exclude invalid tests, not run by "mvn test"
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ -name "*Test*.java" \
+ ! -name "ChineseTestCase.java" \
+ ! -name "DataDrivenNumberFormatTestUtility.java" \
+ ! -name "*Helper.java" \
+ ! -name "ModuleTest.java" \
+ ! -name "*Sample.java" \
+ ! -name "TestCase.java" \
+ ! -name "*TestData*.java" \
+ ! -name "*TestFmwk.java" \
+ ! -name "TestMessages.java" \
+ ! -name "TestUtils.java" \
+ )
+ popd
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ java-pkg-simple_src_test
+
+ einfo "Creating core-tests.jar"
+ jar cvf core-tests.jar -C target/test-classes .
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":core-tests.jar"
+ JAVA_TEST_RUN_ONLY=""
+
+ einfo "Testing collate"
+ JAVA_TEST_RESOURCE_DIRS="collate/src/test/resources"
+ JAVA_TEST_SRC_DIR="collate/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing translit"
+ JAVA_TEST_EXCLUDES=(
+ # Invalid test classes, No runnable methods
+ com.ibm.icu.dev.test.TestBoilerplate
+ com.ibm.icu.dev.test.translit.TestUtility
+ )
+ JAVA_TEST_RESOURCE_DIRS="translit/src/test/resources"
+ JAVA_TEST_SRC_DIR="translit/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing charset"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="charset/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing common_tests"
+ # "mvn test" runs only 90 tests here, Gentoo runs 99 but 9 of them fail.
+ # coverage tests fail because test handlers for the parametrized tests
+ # are not defined so the tests are broken and cannot succeed
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.serializable.CoverageTest )
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="common_tests/src/test/java"
+ java-pkg-simple_src_test
+
+ einfo "Testing localespi"
+ JAVA_TEST_RESOURCE_DIRS=""
+ JAVA_TEST_SRC_DIR="localespi/src/test/java"
+ # Invalid test classes, No runnable methods
+ JAVA_TEST_EXCLUDES=( com.ibm.icu.dev.test.localespi.TestUtil )
+ # https://bugs.gentoo.org/827212, "mvn test" does not run it at all
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
+src_install() {
+ default
+ java-pkg_dojar "icu4j.jar"
+ java-pkg_dojar "icu4j-charset.jar"
+ java-pkg_dojar "icu4j-localespi.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+ if use source; then
+ java-pkg_dosrc "classes"
+ fi
+}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2023-10-28 8:23 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2023-10-28 8:23 UTC (permalink / raw
To: gentoo-commits
commit: 7764fd12a3d85aeab562dc1ba9afc97de7bb2641
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Oct 27 19:41:36 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 08:23:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7764fd12
dev-java/icu4j: drop 72.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33540
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-72.1.ebuild | 204 ---------------------------------------
2 files changed, 205 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 89b9fe8422c7..654f43047d9e 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1 @@
-DIST icu-72.1.tar.gz 67092974 BLAKE2B 2261c7969ddbfdb4e75e405646cc9f29b1f8dd21f98641b9318457d3cd27694833a9181f4888d2cb243ba65191fe9216a508684c1dbd5a85f36e06ae8fac7d9e SHA512 fee1278f16528867da63d95feee6864a1f62befa9cc0b006439e1b47cf6f3f0e6581692432129e465208b5bd7fcc44e1175f124e83157547b3d9a78f3a4944ab
DIST icu-73.2.tar.gz 81522943 BLAKE2B 006d7ccab04385f0aa60e2e60b616be9598f448f27d9b0f6dba554874bfe1dd442ba0719a7677ba8aba7e4e0f05e5e50dca74855a900da1f496aad0cd54c3cdc SHA512 f234fb9c76af62dad59e159ef7f7792aca563d88f2988d3d1ecc8be6250837beb9a530ec121e0949f6925ee8e5171a0d04fa41a0c50d9993c4061fa55be6836e
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
deleted file mode 100644
index efe703205a6a..000000000000
--- a/dev-java/icu4j/icu4j-72.1.ebuild
+++ /dev/null
@@ -1,204 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/unicode-org/icu/archive/release-72-1.tar.gz --slot 70 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild icu4j-72.1.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="com.ibm.icu:icu4j:72.1"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz"
-
-LICENSE="icu"
-SLOT="70"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND=">=virtual/jdk-1.8:*
- test? ( dev-java/junitparams:0 )"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
-
-HTML_DOCS=( ../{APIChangeReport,license,readme}.html )
-
-JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar:testdata.jar:framework.jar"
-JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
-JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
-
-JAVA_TEST_SRC_DIR=(
- tests/charset/src
- tests/collate/src
- tests/core/src
-# tests/framework/src # we compile it in src_compile
- tests/localespi/src
- tests/packaging/src
- tests/translit/src
-)
-
-JAVA_TEST_RESOURCE_DIRS=(
- tests/charset/resources
- tests/collate/resources
- tests/core/resources
-# tests/framework/resources
- tests/localespi/resources
- tests/packaging/resources
- tests/translit/resources
-)
-
-JAVA_TEST_EXCLUDES=(
- "com.ibm.icu.dev.data.TestDataElements_testtypes" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_en_Latn_US" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_en_US" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_fr_Latn_FR" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_te" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestMessages" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.translit.TestUtility" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.localespi.TestUtil" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.stringprep.TestData" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.calendar.ChineseTestCase" # Invalid test class 1. Test class should have exactly one public zero-argument constructor
- "com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
- "com.ibm.icu.dev.test.message2.TestCase" # Invalid test class - No runnable methods
- "com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
- # following kills 98 tests and and avoids 9 test failures
- # coverage tests fail because test handlers for the parametrized tests are not defined so the tests are broken and cannot succeed
- "com.ibm.icu.dev.test.serializable.CoverageTest"
-)
-
-src_prepare() {
- default
-
- # create the resources directories
- mkdir resources || die
- cp -r classes/* resources || die
-
- # remove .java files from resources
- find resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
-
- # this should not go in the jar files
- mv shared/licenses/license.html .. || die
-
- # icudata and icutzdata for "icu4j.jar"
- pushd resources/core/src || die
- jar -xf "${S}"/shared/data/icudata.jar || die
- jar -xf "${S}"/shared/data/icutzdata.jar || die
- # move these resources to "icu4j-charset.jar"
- mkdir -p "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
- mv com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/{*.cnv,cnvalias.icu} \
- "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
-
- # create 9 files com/ibm/icu/impl/data/icudt69b/*/fullLocaleNames.lst
- for dir in $(find com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/ -type d ! -name 'unit' -exec echo {} +); do
- ls -1 $dir/*.res | sed -e 's%.*\/%%' -e 's%\..*$%%' -e '/pool/d' -e '/res_index/d' -e '/tzdbNames/d'\
- > $dir/'fullLocaleNames.lst';
- done || die "fullLocaleNames.lst failed"
- popd
-
- # this test class was failing with "No runnable methods"
- # but test_excluding it would kill tousands of other tests.
- mkdir -p tests/framework/src/com/ibm/icu/dev/data/resources || die
- mv tests/{core,framework}/src/com/ibm/icu/dev/data/resources/TestDataElements.java || die
-
- # testdata.jar needs to be on classpath
- cp shared/data/testdata.jar . || die
-
- # clone tests src
- for i in charset collate core framework localespi packaging translit; do
- cp -r tests/$i/{src,resources};
- done || die "copying tests from src to resources failed"
- cp -r ../tools/misc/{src,resources} || die
-
- # separate tests resources from tests src
- find tests/*/resources -type f -name '*.java' -exec rm -rf {} + || die
- find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
-}
-
-src_compile() {
- einfo "Compiling icu4j.jar"
- JAVA_SRC_DIR=(
- classes/collate/src
- classes/core/src
- classes/currdata/src
- classes/langdata/src
- classes/regiondata/src
- classes/translit/src
- )
- JAVA_RESOURCE_DIRS=(
- resources/collate/src
- resources/core/src
- resources/currdata/src
- resources/langdata/src
- resources/regiondata/src
- resources/translit/src
- shared/licenses
- )
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
- JAVA_JAR_FILENAME="icu4j.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-charset.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
- JAVA_JAR_FILENAME="icu4j-charset.jar"
- JAVA_MAIN_CLASS=""
- JAVA_RESOURCE_DIRS=( resources/charset/src shared/licenses )
- JAVA_SRC_DIR=( classes/charset/src )
- java-pkg-simple_src_compile
- rm -r target || die
-
- einfo "Compiling icu4j-localespi.jar"
- JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
- JAVA_JAR_FILENAME="icu4j-localespi.jar"
- JAVA_RESOURCE_DIRS=( resources/localespi/src shared/licenses )
- JAVA_SRC_DIR=( classes/localespi/src )
- java-pkg-simple_src_compile
- rm -r target || die
-
- # main/test/framework
- # needed for compilicg the tests
- # but "No runnable methods" ("Invalid test class")
- if use test; then
- JAVA_JAR_FILENAME="framework.jar"
- JAVA_RESOURCE_DIRS=( tests/framework/resources ../tools/misc/resources )
- JAVA_SRC_DIR=( tests/framework/src ../tools/misc/src )
- java-pkg-simple_src_compile
- rm -fr target || die
- fi
-
- # javadocs
- if use doc; then
- JAVA_JAR_FILENAME="ignoreme.jar"
- JAVA_SRC_DIR=( classes )
- java-pkg-simple_src_compile
- fi
-}
-
-src_test () {
- # https://bugs.gentoo.org/827212
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if [[ "${vm_version}" != "1.8" ]] ; then
- java-pkg-simple_src_test
- fi
-}
-
-src_install() {
- default
- java-pkg_dojar "icu4j.jar"
- java-pkg_dojar "icu4j-charset.jar"
- java-pkg_dojar "icu4j-localespi.jar"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
- if use source; then
- java-pkg_dosrc "classes"
- fi
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2023-10-27 12:30 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2023-10-27 12:30 UTC (permalink / raw
To: gentoo-commits
commit: 026e0325aaa8ac14b8e602247b8608280cf57255
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 27 12:30:30 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 12:30:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=026e0325
dev-java/icu4j: Stabilize 73.2 arm64, #916332
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-73.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-73.2.ebuild b/dev-java/icu4j/icu4j-73.2.ebuild
index 21ea1a3961ab..ff98741c1af2 100644
--- a/dev-java/icu4j/icu4j-73.2.ebuild
+++ b/dev-java/icu4j/icu4j-73.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2023-10-27 12:22 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2023-10-27 12:22 UTC (permalink / raw
To: gentoo-commits
commit: fe164e35188d23e748a5e41112d1687bb89dd9d9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 27 12:22:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 12:22:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe164e35
dev-java/icu4j: Stabilize 73.2 amd64, #916332
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-73.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-73.2.ebuild b/dev-java/icu4j/icu4j-73.2.ebuild
index 045c5ef4f162..21ea1a3961ab 100644
--- a/dev-java/icu4j/icu4j-73.2.ebuild
+++ b/dev-java/icu4j/icu4j-73.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2023-10-22 18:56 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2023-10-22 18:56 UTC (permalink / raw
To: gentoo-commits
commit: 5d7513aa12d65d775133bcfde5d8220398e8f0d5
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Oct 21 12:40:27 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 18:55:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7513aa
dev-java/icu4j: export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
This ensures testing on systems using other localization
settings and solves test failures of some tests previously
patched out in com.ibm.icu.dev.test.format.DateFormatTest
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33440
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/icu4j-73.2.ebuild | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dev-java/icu4j/icu4j-73.2.ebuild b/dev-java/icu4j/icu4j-73.2.ebuild
index 4749dae91cdc..045c5ef4f162 100644
--- a/dev-java/icu4j/icu4j-73.2.ebuild
+++ b/dev-java/icu4j/icu4j-73.2.ebuild
@@ -25,10 +25,6 @@ RDEPEND=">=virtual/jre-1.8:*"
HTML_DOCS=( ../{APIChangeReport,readme}.html )
-PATCHES=(
- "${FILESDIR}/icu4j-73.2-DateFormatTest.patch"
-)
-
JAVA_TEST_EXCLUDES=(
# Invalid tests, not run by maven
"com.ibm.icu.dev.data.TestDataElements_testtypes"
@@ -89,7 +85,6 @@ JAVA_TEST_SRC_DIR=(
)
src_prepare() {
- default #780585
java-pkg_clean ! -path "./shared/data/*" # keep icudata.jar, icutzdata.jar, testdata.jar
java-pkg-2_src_prepare
@@ -195,6 +190,8 @@ src_compile() {
}
src_test () {
+ # TZ needed for some tests in com/ibm/icu/dev/test/format/DateFormatTest
+ export LC_ALL="en_US.UTF-8" TZ="US/Pacific"
JAVA_GENTOO_CLASSPATH_EXTRA+=":framework.jar:shared/data/testdata.jar"
JAVA_TEST_RUN_ONLY=(
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2023-09-27 6:58 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2023-09-27 6:58 UTC (permalink / raw
To: gentoo-commits
commit: 4a8a6be8344c5cee981da5a5a3bc3d908a8230bc
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon May 15 14:42:41 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Sep 27 06:57:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a8a6be8
dev-java/icu4j: one more "No runnable methods"
Due to a regression from commit 3eb0cfe this test class hasn't been run
before.
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/icu4j-72.1.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
index 6c36773ab3b6..efe703205a6a 100644
--- a/dev-java/icu4j/icu4j-72.1.ebuild
+++ b/dev-java/icu4j/icu4j-72.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Skeleton command:
@@ -65,6 +65,7 @@ JAVA_TEST_EXCLUDES=(
"com.ibm.icu.dev.test.stringprep.TestData" # Invalid test class 1. No runnable methods
"com.ibm.icu.dev.test.calendar.ChineseTestCase" # Invalid test class 1. Test class should have exactly one public zero-argument constructor
"com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
+ "com.ibm.icu.dev.test.message2.TestCase" # Invalid test class - No runnable methods
"com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
# following kills 98 tests and and avoids 9 test failures
# coverage tests fail because test handlers for the parametrized tests are not defined so the tests are broken and cannot succeed
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-11-24 7:19 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2022-11-24 7:19 UTC (permalink / raw
To: gentoo-commits
commit: 13df81c219bb4305227bc2d242c8322f93ba5c38
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Nov 23 14:33:41 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 07:19:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13df81c2
dev-java/icu4j: drop 71.1
Closes: https://bugs.gentoo.org/827212
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-71.1.ebuild | 203 ---------------------------------------
2 files changed, 204 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 92b640160d2f..764b0abe0d37 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1 @@
DIST icu-72.1.tar.gz 67092974 BLAKE2B 2261c7969ddbfdb4e75e405646cc9f29b1f8dd21f98641b9318457d3cd27694833a9181f4888d2cb243ba65191fe9216a508684c1dbd5a85f36e06ae8fac7d9e SHA512 fee1278f16528867da63d95feee6864a1f62befa9cc0b006439e1b47cf6f3f0e6581692432129e465208b5bd7fcc44e1175f124e83157547b3d9a78f3a4944ab
-DIST icu4j-71.1.tar.gz 66177851 BLAKE2B 39c5f6e1a8adc6ee913a7a41dcbf733c1f50e6de3047c0c548bf39426102fccef1a03dd7cb4020bd56b32d0c565848f11cc5ce3f738519dd7d2820a670c40443 SHA512 cc9ccb3208d8079c4f8169713aa0ebb930e86cf6c72510a3b7de5824e6482f26166a2e530abaaecfb8338764b23ac215b2921a821167b41d6a3f23952e2718e6
diff --git a/dev-java/icu4j/icu4j-71.1.ebuild b/dev-java/icu4j/icu4j-71.1.ebuild
deleted file mode 100644
index 1b928fc77942..000000000000
--- a/dev-java/icu4j/icu4j-71.1.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/unicode-org/icu/archive/refs/tags/release-70-1.tar.gz --slot 70 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild icu4j-70.1.ebuild
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="com.ibm.icu:icu4j:71.1"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="icu"
-SLOT="70"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND=">=virtual/jdk-1.8:*
- test? ( dev-java/junitparams:0 )"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
-
-HTML_DOCS=( ../{APIChangeReport,license,readme}.html )
-
-JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar:testdata.jar:framework.jar"
-JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
-JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
-
-JAVA_TEST_SRC_DIR=(
- tests/charset/src
- tests/collate/src
- tests/core/src
-# tests/framework/src # we compile it in src_compile
- tests/localespi/src
- tests/packaging/src
- tests/translit/src
-)
-
-JAVA_TEST_RESOURCE_DIRS=(
- tests/charset/resources
- tests/collate/resources
- tests/core/resources
-# tests/framework/resources
- tests/localespi/resources
- tests/packaging/resources
- tests/translit/resources
-)
-
-JAVA_TEST_EXCLUDES=(
- "com.ibm.icu.dev.data.TestDataElements_testtypes" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_en_Latn_US" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_en_US" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_fr_Latn_FR" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_te" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestMessages" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.translit.TestUtility" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.localespi.TestUtil" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.stringprep.TestData" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.calendar.ChineseTestCase" # Invalid test class 1. Test class should have exactly one public zero-argument constructor
- "com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
- "com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
- # following kills 98 tests and and avoids 9 test failures
- # coverage tests fail because test handlers for the parametrized tests are not defined so the tests are broken and cannot succeed
- "com.ibm.icu.dev.test.serializable.CoverageTest"
-)
-
-src_prepare() {
- default
-
- # create the resources directories
- mkdir resources || die
- cp -r classes/* resources || die
-
- # remove .java files from resources
- find resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
-
- # this should not go in the jar files
- mv shared/licenses/license.html .. || die
-
- # icudata and icutzdata for "icu4j.jar"
- pushd resources/core/src || die
- jar -xf "${S}"/shared/data/icudata.jar || die
- jar -xf "${S}"/shared/data/icutzdata.jar || die
- # move these resources to "icu4j-charset.jar"
- mkdir -p "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
- mv com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/{*.cnv,cnvalias.icu} \
- "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
-
- # create 9 files com/ibm/icu/impl/data/icudt69b/*/fullLocaleNames.lst
- for dir in $(find com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/ -type d ! -name 'unit' -exec echo {} +); do
- ls -1 $dir/*.res | sed -e 's%.*\/%%' -e 's%\..*$%%' -e '/pool/d' -e '/res_index/d' -e '/tzdbNames/d'\
- > $dir/'fullLocaleNames.lst';
- done || die "fullLocaleNames.lst failed"
- popd
-
- # this test class was failing with "No runnable methods"
- # but test_excluding it would kill tousands of other tests.
- mkdir -p tests/framework/src/com/ibm/icu/dev/data/resources || die
- mv tests/{core,framework}/src/com/ibm/icu/dev/data/resources/TestDataElements.java || die
-
- # testdata.jar needs to be on classpath
- cp shared/data/testdata.jar . || die
-
- # clone tests src
- for i in charset collate core framework localespi packaging translit; do \
- cp -r tests/$i/{src,resources} ; \
- done || die "copying tests from src to resources failed"
- cp -r ../tools/misc/{src,resources} || die
-
- # separate tests resources from tests src
- find tests/*/resources -type f -name '*.java' -exec rm -rf {} + || die
- find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
-
- # 874576
- rm resources/core/src/META-INF/MANIFEST.MF || die
-}
-
-src_compile() {
- # "icu4j.jar"
- JAVA_SRC_DIR=(
- classes/collate/src
- classes/core/src
- classes/currdata/src
- classes/langdata/src
- classes/regiondata/src
- classes/translit/src
- )
- JAVA_RESOURCE_DIRS=(
- resources/collate/src
- resources/core/src
- resources/currdata/src
- resources/langdata/src
- resources/regiondata/src
- resources/translit/src
- shared/licenses
- )
- JAVA_JAR_FILENAME="icu4j.jar"
- JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
- java-pkg-simple_src_compile
- rm -r target || die
-
- # "icu4j-charset.jar"
- JAVA_SRC_DIR=( classes/charset/src )
- JAVA_RESOURCE_DIRS=( resources/charset/src shared/licenses )
- JAVA_JAR_FILENAME="icu4j-charset.jar"
- JAVA_MAIN_CLASS=""
- java-pkg-simple_src_compile
- rm -r target || die
-
- # "icu4j-localespi.jar"
- JAVA_SRC_DIR=( classes/localespi/src )
- JAVA_RESOURCE_DIRS=( resources/localespi/src shared/licenses )
- JAVA_JAR_FILENAME="icu4j-localespi.jar"
- java-pkg-simple_src_compile
- rm -r target || die
-
- # main/test/framework
- # needed for compilicg the tests
- # but "No runnable methods" ("Invalid test class")
- if use test; then
- JAVA_SRC_DIR=( tests/framework/src ../tools/misc/src )
- JAVA_RESOURCE_DIRS=( tests/framework/resources ../tools/misc/resources )
- JAVA_JAR_FILENAME="framework.jar"
- java-pkg-simple_src_compile
- rm -fr target || die
- fi
-
- # javadocs
- if use doc; then
- JAVA_SRC_DIR=( classes )
- JAVA_JAR_FILENAME="ignoreme.jar"
- java-pkg-simple_src_compile
- fi
-}
-
-src_test () {
- # https://bugs.gentoo.org/827212
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if [[ "${vm_version}" != "1.8" ]] ; then
- java-pkg-simple_src_test
- fi
-}
-
-src_install() {
- default
- java-pkg_dojar "icu4j.jar"
- java-pkg_dojar "icu4j-charset.jar"
- java-pkg_dojar "icu4j-localespi.jar"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
- if use source; then
- java-pkg_dosrc "classes"
- fi
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-11-23 14:12 Jakov Smolić
0 siblings, 0 replies; 60+ messages in thread
From: Jakov Smolić @ 2022-11-23 14:12 UTC (permalink / raw
To: gentoo-commits
commit: 05d6c56f880a5c20cc4470b939b57c8251bada94
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 14:12:22 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 14:12:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d6c56f
dev-java/icu4j: Stabilize 72.1 x86, #882083
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-java/icu4j/icu4j-72.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
index aa0053c39bc3..6c36773ab3b6 100644
--- a/dev-java/icu4j/icu4j-72.1.ebuild
+++ b/dev-java/icu4j/icu4j-72.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-11-21 6:24 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2022-11-21 6:24 UTC (permalink / raw
To: gentoo-commits
commit: d9b261b16706f69a9355e2b3abb300cb9c1e18a1
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Nov 21 05:48:24 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 06:24:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b261b1
dev-java/icu4j: drop verify-sig
Erroneously added. Key did not cover the source tarball.
Bug: https://bugs.gentoo.org/882083#c4
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/28357
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-72.1.ebuild | 6 ++----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 5048a70707f9..92b640160d2f 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,3 +1,2 @@
-DIST SHASUM512.txt.asc 659 BLAKE2B 474c5dd9eb166181b488dcc2c225f490fc4a27cdec603a6bdc7897bc08ba1e3f15866eb413350a65833885d079ac986268eaa9a3be262b68f736de5afc57c5ba SHA512 6385df565c244b62cca1cdb6a71ff46c901b994ab2675d632df7c0421394c85471ffdb0b78516610b78cd622e89f0700ffd4a75fd71150b7f2ea3934c63c4242
DIST icu-72.1.tar.gz 67092974 BLAKE2B 2261c7969ddbfdb4e75e405646cc9f29b1f8dd21f98641b9318457d3cd27694833a9181f4888d2cb243ba65191fe9216a508684c1dbd5a85f36e06ae8fac7d9e SHA512 fee1278f16528867da63d95feee6864a1f62befa9cc0b006439e1b47cf6f3f0e6581692432129e465208b5bd7fcc44e1175f124e83157547b3d9a78f3a4944ab
DIST icu4j-71.1.tar.gz 66177851 BLAKE2B 39c5f6e1a8adc6ee913a7a41dcbf733c1f50e6de3047c0c548bf39426102fccef1a03dd7cb4020bd56b32d0c565848f11cc5ce3f738519dd7d2820a670c40443 SHA512 cc9ccb3208d8079c4f8169713aa0ebb930e86cf6c72510a3b7de5824e6482f26166a2e530abaaecfb8338764b23ac215b2921a821167b41d6a3f23952e2718e6
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
index 9e24d160cf9f..aa0053c39bc3 100644
--- a/dev-java/icu4j/icu4j-72.1.ebuild
+++ b/dev-java/icu4j/icu4j-72.1.ebuild
@@ -9,14 +9,12 @@ EAPI=8
JAVA_PKG_IUSE="doc source test"
MAVEN_ID="com.ibm.icu:icu4j:72.1"
JAVA_TESTING_FRAMEWORKS="junit-4"
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/icu.asc
-inherit java-pkg-2 java-pkg-simple verify-sig
+inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz
- https://github.com/unicode-org/icu/releases/download/release-${PV/./-}/SHASUM512.txt.asc"
+SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz"
LICENSE="icu"
SLOT="70"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-11-20 7:23 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2022-11-20 7:23 UTC (permalink / raw
To: gentoo-commits
commit: f0ddfd16e078bfe3010364cca8650f4b591d2871
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 07:23:12 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 07:23:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ddfd16
dev-java/icu4j: Stabilize 72.1 amd64, #882083
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-72.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
index a723be95a5f4..9e24d160cf9f 100644
--- a/dev-java/icu4j/icu4j-72.1.ebuild
+++ b/dev-java/icu4j/icu4j-72.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-11-20 7:23 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2022-11-20 7:23 UTC (permalink / raw
To: gentoo-commits
commit: a1d77777471b5d1929f5d8078868053fa2e47352
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 07:23:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 07:23:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d77777
dev-java/icu4j: Stabilize 72.1 arm64, #882083
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-72.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
index 338379b560d8..8210fccd247c 100644
--- a/dev-java/icu4j/icu4j-72.1.ebuild
+++ b/dev-java/icu4j/icu4j-72.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-11-20 7:23 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2022-11-20 7:23 UTC (permalink / raw
To: gentoo-commits
commit: f5ee7976cecc5a061545184b62261a8d70a561e4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 20 07:23:11 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 20 07:23:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ee7976
dev-java/icu4j: Stabilize 72.1 ppc64, #882083
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-72.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
index 8210fccd247c..a723be95a5f4 100644
--- a/dev-java/icu4j/icu4j-72.1.ebuild
+++ b/dev-java/icu4j/icu4j-72.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-10-21 3:59 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2022-10-21 3:59 UTC (permalink / raw
To: gentoo-commits
commit: 305ba6dfeefd6924fc2263a318a9f330b8964a6a
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Oct 20 11:52:26 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 03:52:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=305ba6df
dev-java/icu4j: add 72.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27869
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 2 +
dev-java/icu4j/icu4j-72.1.ebuild | 205 +++++++++++++++++++++++++++++++++++++++
2 files changed, 207 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 14622dceb93a..5048a70707f9 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1 +1,3 @@
+DIST SHASUM512.txt.asc 659 BLAKE2B 474c5dd9eb166181b488dcc2c225f490fc4a27cdec603a6bdc7897bc08ba1e3f15866eb413350a65833885d079ac986268eaa9a3be262b68f736de5afc57c5ba SHA512 6385df565c244b62cca1cdb6a71ff46c901b994ab2675d632df7c0421394c85471ffdb0b78516610b78cd622e89f0700ffd4a75fd71150b7f2ea3934c63c4242
+DIST icu-72.1.tar.gz 67092974 BLAKE2B 2261c7969ddbfdb4e75e405646cc9f29b1f8dd21f98641b9318457d3cd27694833a9181f4888d2cb243ba65191fe9216a508684c1dbd5a85f36e06ae8fac7d9e SHA512 fee1278f16528867da63d95feee6864a1f62befa9cc0b006439e1b47cf6f3f0e6581692432129e465208b5bd7fcc44e1175f124e83157547b3d9a78f3a4944ab
DIST icu4j-71.1.tar.gz 66177851 BLAKE2B 39c5f6e1a8adc6ee913a7a41dcbf733c1f50e6de3047c0c548bf39426102fccef1a03dd7cb4020bd56b32d0c565848f11cc5ce3f738519dd7d2820a670c40443 SHA512 cc9ccb3208d8079c4f8169713aa0ebb930e86cf6c72510a3b7de5824e6482f26166a2e530abaaecfb8338764b23ac215b2921a821167b41d6a3f23952e2718e6
diff --git a/dev-java/icu4j/icu4j-72.1.ebuild b/dev-java/icu4j/icu4j-72.1.ebuild
new file mode 100644
index 000000000000..338379b560d8
--- /dev/null
+++ b/dev-java/icu4j/icu4j-72.1.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/unicode-org/icu/archive/release-72-1.tar.gz --slot 70 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild icu4j-72.1.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.ibm.icu:icu4j:72.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/icu.asc
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="https://icu.unicode.org"
+SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> icu-${PV}.tar.gz
+ https://github.com/unicode-org/icu/releases/download/release-${PV/./-}/SHASUM512.txt.asc"
+
+LICENSE="icu"
+SLOT="70"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*
+ test? ( dev-java/junitparams:0 )"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
+
+HTML_DOCS=( ../{APIChangeReport,license,readme}.html )
+
+JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar:testdata.jar:framework.jar"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
+JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
+
+JAVA_TEST_SRC_DIR=(
+ tests/charset/src
+ tests/collate/src
+ tests/core/src
+# tests/framework/src # we compile it in src_compile
+ tests/localespi/src
+ tests/packaging/src
+ tests/translit/src
+)
+
+JAVA_TEST_RESOURCE_DIRS=(
+ tests/charset/resources
+ tests/collate/resources
+ tests/core/resources
+# tests/framework/resources
+ tests/localespi/resources
+ tests/packaging/resources
+ tests/translit/resources
+)
+
+JAVA_TEST_EXCLUDES=(
+ "com.ibm.icu.dev.data.TestDataElements_testtypes" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_en_Latn_US" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_en_US" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_fr_Latn_FR" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_te" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestMessages" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.translit.TestUtility" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.localespi.TestUtil" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.stringprep.TestData" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.calendar.ChineseTestCase" # Invalid test class 1. Test class should have exactly one public zero-argument constructor
+ "com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
+ "com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
+ # following kills 98 tests and and avoids 9 test failures
+ # coverage tests fail because test handlers for the parametrized tests are not defined so the tests are broken and cannot succeed
+ "com.ibm.icu.dev.test.serializable.CoverageTest"
+)
+
+src_prepare() {
+ default
+
+ # create the resources directories
+ mkdir resources || die
+ cp -r classes/* resources || die
+
+ # remove .java files from resources
+ find resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
+
+ # this should not go in the jar files
+ mv shared/licenses/license.html .. || die
+
+ # icudata and icutzdata for "icu4j.jar"
+ pushd resources/core/src || die
+ jar -xf "${S}"/shared/data/icudata.jar || die
+ jar -xf "${S}"/shared/data/icutzdata.jar || die
+ # move these resources to "icu4j-charset.jar"
+ mkdir -p "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
+ mv com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/{*.cnv,cnvalias.icu} \
+ "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
+
+ # create 9 files com/ibm/icu/impl/data/icudt69b/*/fullLocaleNames.lst
+ for dir in $(find com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/ -type d ! -name 'unit' -exec echo {} +); do
+ ls -1 $dir/*.res | sed -e 's%.*\/%%' -e 's%\..*$%%' -e '/pool/d' -e '/res_index/d' -e '/tzdbNames/d'\
+ > $dir/'fullLocaleNames.lst';
+ done || die "fullLocaleNames.lst failed"
+ popd
+
+ # this test class was failing with "No runnable methods"
+ # but test_excluding it would kill tousands of other tests.
+ mkdir -p tests/framework/src/com/ibm/icu/dev/data/resources || die
+ mv tests/{core,framework}/src/com/ibm/icu/dev/data/resources/TestDataElements.java || die
+
+ # testdata.jar needs to be on classpath
+ cp shared/data/testdata.jar . || die
+
+ # clone tests src
+ for i in charset collate core framework localespi packaging translit; do
+ cp -r tests/$i/{src,resources};
+ done || die "copying tests from src to resources failed"
+ cp -r ../tools/misc/{src,resources} || die
+
+ # separate tests resources from tests src
+ find tests/*/resources -type f -name '*.java' -exec rm -rf {} + || die
+ find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
+}
+
+src_compile() {
+ einfo "Compiling icu4j.jar"
+ JAVA_SRC_DIR=(
+ classes/collate/src
+ classes/core/src
+ classes/currdata/src
+ classes/langdata/src
+ classes/regiondata/src
+ classes/translit/src
+ )
+ JAVA_RESOURCE_DIRS=(
+ resources/collate/src
+ resources/core/src
+ resources/currdata/src
+ resources/langdata/src
+ resources/regiondata/src
+ resources/translit/src
+ shared/licenses
+ )
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu"
+ JAVA_JAR_FILENAME="icu4j.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-charset.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.charset"
+ JAVA_JAR_FILENAME="icu4j-charset.jar"
+ JAVA_MAIN_CLASS=""
+ JAVA_RESOURCE_DIRS=( resources/charset/src shared/licenses )
+ JAVA_SRC_DIR=( classes/charset/src )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ einfo "Compiling icu4j-localespi.jar"
+ JAVA_AUTOMATIC_MODULE_NAME="com.ibm.icu.localespi"
+ JAVA_JAR_FILENAME="icu4j-localespi.jar"
+ JAVA_RESOURCE_DIRS=( resources/localespi/src shared/licenses )
+ JAVA_SRC_DIR=( classes/localespi/src )
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ # main/test/framework
+ # needed for compilicg the tests
+ # but "No runnable methods" ("Invalid test class")
+ if use test; then
+ JAVA_JAR_FILENAME="framework.jar"
+ JAVA_RESOURCE_DIRS=( tests/framework/resources ../tools/misc/resources )
+ JAVA_SRC_DIR=( tests/framework/src ../tools/misc/src )
+ java-pkg-simple_src_compile
+ rm -fr target || die
+ fi
+
+ # javadocs
+ if use doc; then
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ JAVA_SRC_DIR=( classes )
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_test () {
+ # https://bugs.gentoo.org/827212
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
+src_install() {
+ default
+ java-pkg_dojar "icu4j.jar"
+ java-pkg_dojar "icu4j-charset.jar"
+ java-pkg_dojar "icu4j-localespi.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+ if use source; then
+ java-pkg_dosrc "classes"
+ fi
+}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-10-04 4:31 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2022-10-04 4:31 UTC (permalink / raw
To: gentoo-commits
commit: a1d6603c417dc92c57ce5e50832d10cf6af22eb8
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Oct 3 18:45:08 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Oct 4 04:31:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d6603c
dev-java/icu4j: fix MANIFEST.MF trouble
Closes: https://bugs.gentoo.org/874576
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27595
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/icu4j-71.1.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-java/icu4j/icu4j-71.1.ebuild b/dev-java/icu4j/icu4j-71.1.ebuild
index a14ec6534942..1b928fc77942 100644
--- a/dev-java/icu4j/icu4j-71.1.ebuild
+++ b/dev-java/icu4j/icu4j-71.1.ebuild
@@ -117,6 +117,9 @@ src_prepare() {
# separate tests resources from tests src
find tests/*/resources -type f -name '*.java' -exec rm -rf {} + || die
find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
+
+ # 874576
+ rm resources/core/src/META-INF/MANIFEST.MF || die
}
src_compile() {
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-05-09 8:17 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2022-05-09 8:17 UTC (permalink / raw
To: gentoo-commits
commit: 57488f5b880b21211af9cb68fe50447769515a66
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 08:17:26 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon May 9 08:17:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57488f5b
dev-java/icu4j: dropped obsolete 70.1
Bug: https://bugs.gentoo.org/843392
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-70.1.ebuild | 199 ---------------------------------------
2 files changed, 200 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 296c5717e80b..14622dceb93a 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1 @@
-DIST icu4j-70.1.tar.gz 65661187 BLAKE2B 9d2d38fa91092d8f2fa39c773b722019f1d0c9b06ba6e8abaf05c3d3b50977232d6f1a37fd5ab6be6461d133dd361dae9b8633e22c9f165ef4e6e4b8029f6b8a SHA512 f1a653452f42605f799de7ec1d5bf27aa4b715f2ec18534cd3b52bd9be7ddbe7a6d18b47e3a5b36c7a63442bc38304ddc80f519ac65b9a91978ab15b462d9456
DIST icu4j-71.1.tar.gz 66177851 BLAKE2B 39c5f6e1a8adc6ee913a7a41dcbf733c1f50e6de3047c0c548bf39426102fccef1a03dd7cb4020bd56b32d0c565848f11cc5ce3f738519dd7d2820a670c40443 SHA512 cc9ccb3208d8079c4f8169713aa0ebb930e86cf6c72510a3b7de5824e6482f26166a2e530abaaecfb8338764b23ac215b2921a821167b41d6a3f23952e2718e6
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
deleted file mode 100644
index 784b9ff223b4..000000000000
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/unicode-org/icu/archive/refs/tags/release-70-1.tar.gz --slot 70 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild icu4j-70.1.ebuild
-
-EAPI=7
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="com.ibm.icu:icu4j:70.1"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="https://icu.unicode.org"
-SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="icu"
-SLOT="70"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-DEPEND=">=virtual/jdk-1.8:*
- test? ( dev-java/junitparams:0 )"
-
-RDEPEND=">=virtual/jre-1.8:*"
-
-S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
-
-HTML_DOCS=( ../{APIChangeReport,license,readme}.html )
-
-JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar:testdata.jar:framework.jar"
-JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
-JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
-
-JAVA_TEST_SRC_DIR=(
- tests/charset/src
- tests/collate/src
- tests/core/src
-# tests/framework/src # we compile it in src_compile
- tests/localespi/src
- tests/packaging/src
- tests/translit/src
-)
-
-JAVA_TEST_RESOURCE_DIRS=(
- tests/charset/resources
- tests/collate/resources
- tests/core/resources
-# tests/framework/resources
- tests/localespi/resources
- tests/packaging/resources
- tests/translit/resources
-)
-
-JAVA_TEST_EXCLUDES=(
- "com.ibm.icu.dev.data.TestDataElements_testtypes" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_en_Latn_US" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_en_US" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_fr_Latn_FR" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestDataElements_te" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.data.resources.TestMessages" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.translit.TestUtility" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.localespi.TestUtil" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.stringprep.TestData" # Invalid test class 1. No runnable methods
- "com.ibm.icu.dev.test.calendar.ChineseTestCase" # Invalid test class 1. Test class should have exactly one public zero-argument constructor
- "com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
- "com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
- # following kills 98 tests and and avoids 9 test failures
- # coverage tests fail because test handlers for the parametrized tests are not defined so the tests are broken and cannot succeed
- "com.ibm.icu.dev.test.serializable.CoverageTest"
-)
-
-src_prepare() {
- default
-
- # create the resources directories
- mkdir resources || die
- cp -r classes/* resources || die
-
- # remove .java files from resources
- find resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
-
- # this should not go in the jar files
- mv shared/licenses/license.html .. || die
-
- # icudata and icutzdata for "icu4j.jar"
- pushd resources/core/src || die
- jar -xf "${S}"/shared/data/icudata.jar || die
- jar -xf "${S}"/shared/data/icutzdata.jar || die
- # move these resources to "icu4j-charset.jar"
- mkdir -p "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
- mv com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/{*.cnv,cnvalias.icu} \
- "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
-
- # create 9 files com/ibm/icu/impl/data/icudt69b/*/fullLocaleNames.lst
- for dir in $(find com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/ -type d ! -name 'unit' -exec echo {} +); do
- ls -1 $dir/*.res | sed -e 's%.*\/%%' -e 's%\..*$%%' -e '/pool/d' -e '/res_index/d' -e '/tzdbNames/d'\
- > $dir/'fullLocaleNames.lst';
- done || die "fullLocaleNames.lst failed"
- popd
-
- # this test class was failing with "No runnable methods"
- # but text_excluding it would kill tousands of other tests.
- mkdir -p tests/framework/src/com/ibm/icu/dev/data/resources || die
- mv tests/{core,framework}/src/com/ibm/icu/dev/data/resources/TestDataElements.java || die
-
- # testdata.jar needs to be on classpath
- cp shared/data/testdata.jar . || die
-
- # clone tests src
- for i in charset collate core framework localespi packaging translit; do \
- cp -r tests/$i/{src,resources} ; \
- done || die "copying tests from src to resources failed"
- cp -r ../tools/misc/{src,resources} || die
-
- # separate tests resources from tests src
- find tests/*/resources -type f -name '*.java' -exec rm -rf {} + || die
- find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
-}
-
-src_compile() {
- # "icu4j.jar"
- JAVA_SRC_DIR=(
- classes/collate/src
- classes/core/src
- classes/currdata/src
- classes/langdata/src
- classes/regiondata/src
- classes/translit/src
- )
- JAVA_RESOURCE_DIRS=(
- resources/collate/src
- resources/core/src
- resources/currdata/src
- resources/langdata/src
- resources/regiondata/src
- resources/translit/src
- shared/licenses
- )
- JAVA_JAR_FILENAME="icu4j.jar"
-# JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
- java-pkg-simple_src_compile
- rm -fr target || die
-
- # "icu4j-charset.jar"
- JAVA_SRC_DIR=( classes/charset/src )
- JAVA_RESOURCE_DIRS=( resources/charset/src shared/licenses )
- JAVA_JAR_FILENAME="icu4j-charset.jar"
- java-pkg-simple_src_compile
- rm -fr target || die
-
- # "icu4j-localespi.jar"
- JAVA_SRC_DIR=( classes/localespi/src )
- JAVA_RESOURCE_DIRS=( resources/localespi/src shared/licenses )
- JAVA_JAR_FILENAME="icu4j-localespi.jar"
- java-pkg-simple_src_compile
- rm -fr target || die
-
- # main/test/framework
- # needed for compilicg the tests
- # but "No runnable methods" ("Invalid test class")
- if use test; then
- JAVA_SRC_DIR=( tests/framework/src ../tools/misc/src )
- JAVA_RESOURCE_DIRS=( tests/framework/resources ../tools/misc/resources )
- JAVA_JAR_FILENAME="framework.jar"
- java-pkg-simple_src_compile
- rm -fr target || die
- fi
-
- # javadocs
- if use doc; then
- JAVA_SRC_DIR=( classes )
- JAVA_JAR_FILENAME="ignoreme.jar"
- java-pkg-simple_src_compile
- fi
-}
-
-src_test () {
- # https://bugs.gentoo.org/827212
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if [[ "${vm_version}" != "1.8" ]] ; then
- java-pkg-simple_src_test
- fi
-}
-
-src_install() {
- default
- java-pkg_dojar "icu4j.jar"
- java-pkg_dojar "icu4j-charset.jar"
- java-pkg_dojar "icu4j-localespi.jar"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
- if use source; then
- java-pkg_dosrc "classes"
- fi
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-05-09 8:01 Jakov Smolić
0 siblings, 0 replies; 60+ messages in thread
From: Jakov Smolić @ 2022-05-09 8:01 UTC (permalink / raw
To: gentoo-commits
commit: a58af3fae25fbd7d8a3033101ae6894a7eaa3824
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 08:00:57 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon May 9 08:00:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58af3fa
dev-java/icu4j: Stabilize 71.1 arm64, #843392
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-java/icu4j/icu4j-71.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-71.1.ebuild b/dev-java/icu4j/icu4j-71.1.ebuild
index c550f83630ed..a14ec6534942 100644
--- a/dev-java/icu4j/icu4j-71.1.ebuild
+++ b/dev-java/icu4j/icu4j-71.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-05-09 8:01 Jakov Smolić
0 siblings, 0 replies; 60+ messages in thread
From: Jakov Smolić @ 2022-05-09 8:01 UTC (permalink / raw
To: gentoo-commits
commit: 48f46777f84dc235428c93efead88e48ae2cde94
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 08:00:55 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon May 9 08:00:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f46777
dev-java/icu4j: Stabilize 71.1 ppc64, #843392
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-java/icu4j/icu4j-71.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-71.1.ebuild b/dev-java/icu4j/icu4j-71.1.ebuild
index 02142ebf6d3f..c550f83630ed 100644
--- a/dev-java/icu4j/icu4j-71.1.ebuild
+++ b/dev-java/icu4j/icu4j-71.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-05-09 7:33 Jakov Smolić
0 siblings, 0 replies; 60+ messages in thread
From: Jakov Smolić @ 2022-05-09 7:33 UTC (permalink / raw
To: gentoo-commits
commit: cd062115bc5d19839c7760a3140a437652550c45
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 07:32:50 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon May 9 07:32:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd062115
dev-java/icu4j: Stabilize 71.1 x86, #843392
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-java/icu4j/icu4j-71.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-71.1.ebuild b/dev-java/icu4j/icu4j-71.1.ebuild
index 493e9b92cbb1..02142ebf6d3f 100644
--- a/dev-java/icu4j/icu4j-71.1.ebuild
+++ b/dev-java/icu4j/icu4j-71.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-05-09 7:33 Jakov Smolić
0 siblings, 0 replies; 60+ messages in thread
From: Jakov Smolić @ 2022-05-09 7:33 UTC (permalink / raw
To: gentoo-commits
commit: 36c6644b2087e3a2e2afef950bc31841aa2e0a92
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 07:32:34 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon May 9 07:32:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c6644b
dev-java/icu4j: Stabilize 71.1 amd64, #843392
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
dev-java/icu4j/icu4j-71.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-71.1.ebuild b/dev-java/icu4j/icu4j-71.1.ebuild
index 33022e52d6d9..493e9b92cbb1 100644
--- a/dev-java/icu4j/icu4j-71.1.ebuild
+++ b/dev-java/icu4j/icu4j-71.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-04-09 5:11 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2022-04-09 5:11 UTC (permalink / raw
To: gentoo-commits
commit: 69277444f66a92a578bde400f956c6cf4c9b01be
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Apr 8 08:57:58 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Apr 9 05:00:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69277444
dev-java/icu4j: add 71.1
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/24955
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 +
dev-java/icu4j/icu4j-71.1.ebuild | 200 +++++++++++++++++++++++++++++++++++++++
2 files changed, 201 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 406331bdf46f..296c5717e80b 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1 +1,2 @@
DIST icu4j-70.1.tar.gz 65661187 BLAKE2B 9d2d38fa91092d8f2fa39c773b722019f1d0c9b06ba6e8abaf05c3d3b50977232d6f1a37fd5ab6be6461d133dd361dae9b8633e22c9f165ef4e6e4b8029f6b8a SHA512 f1a653452f42605f799de7ec1d5bf27aa4b715f2ec18534cd3b52bd9be7ddbe7a6d18b47e3a5b36c7a63442bc38304ddc80f519ac65b9a91978ab15b462d9456
+DIST icu4j-71.1.tar.gz 66177851 BLAKE2B 39c5f6e1a8adc6ee913a7a41dcbf733c1f50e6de3047c0c548bf39426102fccef1a03dd7cb4020bd56b32d0c565848f11cc5ce3f738519dd7d2820a670c40443 SHA512 cc9ccb3208d8079c4f8169713aa0ebb930e86cf6c72510a3b7de5824e6482f26166a2e530abaaecfb8338764b23ac215b2921a821167b41d6a3f23952e2718e6
diff --git a/dev-java/icu4j/icu4j-71.1.ebuild b/dev-java/icu4j/icu4j-71.1.ebuild
new file mode 100644
index 000000000000..33022e52d6d9
--- /dev/null
+++ b/dev-java/icu4j/icu4j-71.1.ebuild
@@ -0,0 +1,200 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/unicode-org/icu/archive/refs/tags/release-70-1.tar.gz --slot 70 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild icu4j-70.1.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.ibm.icu:icu4j:71.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="https://icu.unicode.org"
+SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="icu"
+SLOT="70"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*
+ test? ( dev-java/junitparams:0 )"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
+
+HTML_DOCS=( ../{APIChangeReport,license,readme}.html )
+
+JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar:testdata.jar:framework.jar"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
+JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
+
+JAVA_TEST_SRC_DIR=(
+ tests/charset/src
+ tests/collate/src
+ tests/core/src
+# tests/framework/src # we compile it in src_compile
+ tests/localespi/src
+ tests/packaging/src
+ tests/translit/src
+)
+
+JAVA_TEST_RESOURCE_DIRS=(
+ tests/charset/resources
+ tests/collate/resources
+ tests/core/resources
+# tests/framework/resources
+ tests/localespi/resources
+ tests/packaging/resources
+ tests/translit/resources
+)
+
+JAVA_TEST_EXCLUDES=(
+ "com.ibm.icu.dev.data.TestDataElements_testtypes" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_en_Latn_US" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_en_US" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_fr_Latn_FR" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_te" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestMessages" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.translit.TestUtility" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.localespi.TestUtil" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.stringprep.TestData" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.calendar.ChineseTestCase" # Invalid test class 1. Test class should have exactly one public zero-argument constructor
+ "com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
+ "com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
+ # following kills 98 tests and and avoids 9 test failures
+ # coverage tests fail because test handlers for the parametrized tests are not defined so the tests are broken and cannot succeed
+ "com.ibm.icu.dev.test.serializable.CoverageTest"
+)
+
+src_prepare() {
+ default
+
+ # create the resources directories
+ mkdir resources || die
+ cp -r classes/* resources || die
+
+ # remove .java files from resources
+ find resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
+
+ # this should not go in the jar files
+ mv shared/licenses/license.html .. || die
+
+ # icudata and icutzdata for "icu4j.jar"
+ pushd resources/core/src || die
+ jar -xf "${S}"/shared/data/icudata.jar || die
+ jar -xf "${S}"/shared/data/icutzdata.jar || die
+ # move these resources to "icu4j-charset.jar"
+ mkdir -p "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
+ mv com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/{*.cnv,cnvalias.icu} \
+ "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
+
+ # create 9 files com/ibm/icu/impl/data/icudt69b/*/fullLocaleNames.lst
+ for dir in $(find com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/ -type d ! -name 'unit' -exec echo {} +); do
+ ls -1 $dir/*.res | sed -e 's%.*\/%%' -e 's%\..*$%%' -e '/pool/d' -e '/res_index/d' -e '/tzdbNames/d'\
+ > $dir/'fullLocaleNames.lst';
+ done || die "fullLocaleNames.lst failed"
+ popd
+
+ # this test class was failing with "No runnable methods"
+ # but test_excluding it would kill tousands of other tests.
+ mkdir -p tests/framework/src/com/ibm/icu/dev/data/resources || die
+ mv tests/{core,framework}/src/com/ibm/icu/dev/data/resources/TestDataElements.java || die
+
+ # testdata.jar needs to be on classpath
+ cp shared/data/testdata.jar . || die
+
+ # clone tests src
+ for i in charset collate core framework localespi packaging translit; do \
+ cp -r tests/$i/{src,resources} ; \
+ done || die "copying tests from src to resources failed"
+ cp -r ../tools/misc/{src,resources} || die
+
+ # separate tests resources from tests src
+ find tests/*/resources -type f -name '*.java' -exec rm -rf {} + || die
+ find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
+}
+
+src_compile() {
+ # "icu4j.jar"
+ JAVA_SRC_DIR=(
+ classes/collate/src
+ classes/core/src
+ classes/currdata/src
+ classes/langdata/src
+ classes/regiondata/src
+ classes/translit/src
+ )
+ JAVA_RESOURCE_DIRS=(
+ resources/collate/src
+ resources/core/src
+ resources/currdata/src
+ resources/langdata/src
+ resources/regiondata/src
+ resources/translit/src
+ shared/licenses
+ )
+ JAVA_JAR_FILENAME="icu4j.jar"
+ JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ # "icu4j-charset.jar"
+ JAVA_SRC_DIR=( classes/charset/src )
+ JAVA_RESOURCE_DIRS=( resources/charset/src shared/licenses )
+ JAVA_JAR_FILENAME="icu4j-charset.jar"
+ JAVA_MAIN_CLASS=""
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ # "icu4j-localespi.jar"
+ JAVA_SRC_DIR=( classes/localespi/src )
+ JAVA_RESOURCE_DIRS=( resources/localespi/src shared/licenses )
+ JAVA_JAR_FILENAME="icu4j-localespi.jar"
+ java-pkg-simple_src_compile
+ rm -r target || die
+
+ # main/test/framework
+ # needed for compilicg the tests
+ # but "No runnable methods" ("Invalid test class")
+ if use test; then
+ JAVA_SRC_DIR=( tests/framework/src ../tools/misc/src )
+ JAVA_RESOURCE_DIRS=( tests/framework/resources ../tools/misc/resources )
+ JAVA_JAR_FILENAME="framework.jar"
+ java-pkg-simple_src_compile
+ rm -fr target || die
+ fi
+
+ # javadocs
+ if use doc; then
+ JAVA_SRC_DIR=( classes )
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_test () {
+ # https://bugs.gentoo.org/827212
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
+src_install() {
+ default
+ java-pkg_dojar "icu4j.jar"
+ java-pkg_dojar "icu4j-charset.jar"
+ java-pkg_dojar "icu4j-localespi.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+ if use source; then
+ java-pkg_dosrc "classes"
+ fi
+}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2022-01-02 10:57 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2022-01-02 10:57 UTC (permalink / raw
To: gentoo-commits
commit: 489fc4ad1debc6b35a221fd5c7a8abb80f0cbb5d
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 2 10:57:47 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Jan 2 10:57:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489fc4ad
dev-java/icu4j: removed obsolete 54.1.1-r1
Closes: https://bugs.gentoo.org/827926
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-54.1.1-r1.ebuild | 50 -----------------------------------
2 files changed, 51 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 4a96af84eb3d..406331bdf46f 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1 @@
-DIST icu4j-54_1_1.tgz 23457651 BLAKE2B f200d170c32065d2f678247d595085283446e401da2c2433b426466fc5c6f93f5ce629bce23d1114cad7d360aa4d127060750d380da8cc3e7fa1e529b454bae9 SHA512 c41f7f9fb0819767da48ac21c4883a628da8397e0ad5b0d75e51d9185b5511608c9a635933c4ae2e0c8911b2cdecf47bc661050935bbae2ba58abfb5ad04dadf
DIST icu4j-70.1.tar.gz 65661187 BLAKE2B 9d2d38fa91092d8f2fa39c773b722019f1d0c9b06ba6e8abaf05c3d3b50977232d6f1a37fd5ab6be6461d133dd361dae9b8633e22c9f165ef4e6e4b8029f6b8a SHA512 f1a653452f42605f799de7ec1d5bf27aa4b715f2ec18534cd3b52bd9be7ddbe7a6d18b47e3a5b36c7a63442bc38304ddc80f519ac65b9a91978ab15b462d9456
diff --git a/dev-java/icu4j/icu4j-54.1.1-r1.ebuild b/dev-java/icu4j/icu4j-54.1.1-r1.ebuild
deleted file mode 100644
index 640cdc0756f7..000000000000
--- a/dev-java/icu4j/icu4j-54.1.1-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# testdata.jar, icudata.jar and icutzdata.jar do not contain *.class files
-# but *.res files. These *.res data files are needed to build the final jar.
-
-JAVA_PKG_IUSE="doc examples source test"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="http://www.icu-project.org/"
-SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
-
-LICENSE="icu"
-SLOT="52"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-# the build system does not support java > 1.8
-# also the package does not compile with newer jdks because of missing classes
-DEPEND="virtual/jdk:1.8"
-RDEPEND=">=virtual/jre-1.8:*"
-
-S="${WORKDIR}"
-
-HTML_DOCS="readme.html"
-
-JAVA_PKG_BSFIX_NAME+=" common-targets.xml"
-
-EANT_DOC_TARGET="docs"
-EANT_TEST_TARGET="check"
-
-src_test() {
- java-pkg-2_src_test
-}
-
-src_install() {
- java-pkg_dojar ${PN}.jar
- java-pkg_dojar ${PN}-charset.jar
- java-pkg_dojar ${PN}-localespi.jar
-
- einstalldocs
-
- use doc && java-pkg_dojavadoc doc
- use examples && java-pkg_doexamples demos samples
- use source && java-pkg_dosrc main/classes/*/src/com
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-12-22 18:47 Arthur Zamarin
0 siblings, 0 replies; 60+ messages in thread
From: Arthur Zamarin @ 2021-12-22 18:47 UTC (permalink / raw
To: gentoo-commits
commit: 9005f0042671a741fd916fbbab3a3161ec7becc7
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 18:35:48 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 18:44:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9005f004
dev-java/icu4j: Keyword 70.1 arm, #828049
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-java/icu4j/icu4j-70.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 410aa0e75594..784b9ff223b4 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="amd64 arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-12-01 19:00 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2021-12-01 19:00 UTC (permalink / raw
To: gentoo-commits
commit: ccc1dd0c0cb6ddb51fe30e366e1a9de4a5679c99
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Nov 25 11:04:07 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 1 19:00:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccc1dd0c
dev-java/icu4j: restrict tests for jdk-1.8
Bug: https://bugs.gentoo.org/827212
There were test failures which seem to be specific
for jdk-1.8 and seem not to happen on jdk-11 or jdk-17
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/23075
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-70.1.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 271ad96ce370..410aa0e75594 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -176,6 +176,14 @@ src_compile() {
fi
}
+src_test () {
+ # https://bugs.gentoo.org/827212
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" != "1.8" ]] ; then
+ java-pkg-simple_src_test
+ fi
+}
+
src_install() {
default
java-pkg_dojar "icu4j.jar"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-26 7:53 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2021-11-26 7:53 UTC (permalink / raw
To: gentoo-commits
commit: 94a99a045117771d40206ccde6680627355afd80
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Nov 24 06:58:52 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 07:53:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94a99a04
dev-java/icu4j: remove 55.1 (unused slot)
Closes: https://bugs.gentoo.org/744265
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-55.1.ebuild | 48 ----------------------------------------
2 files changed, 49 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 1725ab021b0d..4a96af84eb3d 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,3 +1,2 @@
DIST icu4j-54_1_1.tgz 23457651 BLAKE2B f200d170c32065d2f678247d595085283446e401da2c2433b426466fc5c6f93f5ce629bce23d1114cad7d360aa4d127060750d380da8cc3e7fa1e529b454bae9 SHA512 c41f7f9fb0819767da48ac21c4883a628da8397e0ad5b0d75e51d9185b5511608c9a635933c4ae2e0c8911b2cdecf47bc661050935bbae2ba58abfb5ad04dadf
-DIST icu4j-55_1.tgz 23617640 BLAKE2B fe22524761e0c6be4ea440f90ffe5fba8a2f34484207248762ab127c3bb7e4328ced3502a336edd7d3a1026804381cd2b8738b15cd1745af0cee813dc60d7893 SHA512 706daed61d9d3722a0813d175fa66b24570abba492c32704d4df924861e5d2592a4a5ff40fdec2bd3fb662c3679dbc9addd580966c3cc69470d14e3fce27a054
DIST icu4j-70.1.tar.gz 65661187 BLAKE2B 9d2d38fa91092d8f2fa39c773b722019f1d0c9b06ba6e8abaf05c3d3b50977232d6f1a37fd5ab6be6461d133dd361dae9b8633e22c9f165ef4e6e4b8029f6b8a SHA512 f1a653452f42605f799de7ec1d5bf27aa4b715f2ec18534cd3b52bd9be7ddbe7a6d18b47e3a5b36c7a63442bc38304ddc80f519ac65b9a91978ab15b462d9456
diff --git a/dev-java/icu4j/icu4j-55.1.ebuild b/dev-java/icu4j/icu4j-55.1.ebuild
deleted file mode 100644
index 025701c00218..000000000000
--- a/dev-java/icu4j/icu4j-55.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc examples source test"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="http://www.icu-project.org/"
-SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
-
-LICENSE="icu"
-SLOT="55"
-KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-# Beware of jdk version dependant code #361593
-DEPEND=">=virtual/jdk-1.6"
-RDEPEND=">=virtual/jre-1.6"
-
-S="${WORKDIR}"
-
-JAVA_PKG_BSFIX_NAME+=" common-targets.xml"
-
-EANT_DOC_TARGET="docs"
-EANT_TEST_TARGET="check"
-
-JAVA_RM_FILES=(
- tools/build/src/com/ibm/icu/dev/tool/docs/ICUTaglet.java
-)
-
-src_test() {
- java-pkg-2_src_test
-}
-
-src_install() {
- java-pkg_dojar ${PN}.jar
- java-pkg_dojar ${PN}-charset.jar
- java-pkg_dojar ${PN}-localespi.jar
-
- dohtml readme.html
-
- use doc && java-pkg_dojavadoc doc
- use examples && java-pkg_doexamples demos samples
- use source && java-pkg_dosrc main/classes/*/src/com
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-25 4:14 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2021-11-25 4:14 UTC (permalink / raw
To: gentoo-commits
commit: 178baa7202798d2d8dc43190cd45ea91ad5b1cbb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 04:13:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 04:13:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178baa72
dev-java/icu4j: Stabilize 70.1 arm64, #825746
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-70.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 31d2b6ab4328..509114a3d2fb 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-25 4:14 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2021-11-25 4:14 UTC (permalink / raw
To: gentoo-commits
commit: 962dc7d6651c38a3092f44bcd9211b6a413c4914
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 04:13:51 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 04:13:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962dc7d6
dev-java/icu4j: Stabilize 70.1 ppc64, #825746
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-70.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 509114a3d2fb..3a871134d389 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 arm64 ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-25 4:14 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2021-11-25 4:14 UTC (permalink / raw
To: gentoo-commits
commit: e6100885190d2fccd0cdc1abb48b1255b08010b8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 04:14:17 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 04:14:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6100885
dev-java/icu4j: Stabilize 70.1 x86, #825746
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-70.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 1aad773632a6..271ad96ce370 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="amd64 arm64 ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-25 4:14 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2021-11-25 4:14 UTC (permalink / raw
To: gentoo-commits
commit: d3c573a95d51c7a31f0a75368b5f4e773f5f6cd2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 04:14:13 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 04:14:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c573a9
dev-java/icu4j: Stabilize 70.1 amd64, #825746
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-70.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 3a871134d389..1aad773632a6 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.
LICENSE="icu"
SLOT="70"
-KEYWORDS="~amd64 arm64 ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 ~x86"
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/junitparams:0 )"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-23 7:50 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2021-11-23 7:50 UTC (permalink / raw
To: gentoo-commits
commit: 3e3cc6e81cbf69082406118167dbd9ad0b979d5e
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 23 07:49:06 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Nov 23 07:50:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3cc6e8
dev-java/icu4j: updated test exclusions in 70.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/icu4j-70.1.ebuild | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
index 569a02f01c08..31d2b6ab4328 100644
--- a/dev-java/icu4j/icu4j-70.1.ebuild
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -67,16 +67,8 @@ JAVA_TEST_EXCLUDES=(
"com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
"com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
# following kills 98 tests and and avoids 9 test failures
+ # coverage tests fail because test handlers for the parametrized tests are not defined so the tests are broken and cannot succeed
"com.ibm.icu.dev.test.serializable.CoverageTest"
- "com.ibm.icu.impl.icuadapter.NumberFormatJDK"
- "com.ibm.icu.impl.icuadapter.TimeZoneJDK"
- "com.ibm.icu.impl.jdkadapter.CalendarICU"
- "com.ibm.icu.impl.jdkadapter.DateFormatSymbolsICU"
- "com.ibm.icu.impl.jdkadapter.DecimalFormatICU"
- "com.ibm.icu.impl.jdkadapter.DecimalFormatSymbolsICU"
- "com.ibm.icu.impl.jdkadapter.NumberFormatICU"
- "com.ibm.icu.impl.jdkadapter.SimpleDateFormatICU"
- "com.ibm.icu.impl.jdkadapter.TimeZoneICU"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-21 16:31 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2021-11-21 16:31 UTC (permalink / raw
To: gentoo-commits
commit: baadcfcce7360e96caf76ca76a013c310bbc274c
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Nov 15 18:11:32 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Nov 21 16:31:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baadcfcc
dev-java/icu4j: bump to 70.1
Closes: https://bugs.gentoo.org/666818
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 +
dev-java/icu4j/icu4j-70.1.ebuild | 199 +++++++++++++++++++++++++++++++++++++++
dev-java/icu4j/metadata.xml | 4 +
3 files changed, 204 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 4359c454577a..1725ab021b0d 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1,3 @@
DIST icu4j-54_1_1.tgz 23457651 BLAKE2B f200d170c32065d2f678247d595085283446e401da2c2433b426466fc5c6f93f5ce629bce23d1114cad7d360aa4d127060750d380da8cc3e7fa1e529b454bae9 SHA512 c41f7f9fb0819767da48ac21c4883a628da8397e0ad5b0d75e51d9185b5511608c9a635933c4ae2e0c8911b2cdecf47bc661050935bbae2ba58abfb5ad04dadf
DIST icu4j-55_1.tgz 23617640 BLAKE2B fe22524761e0c6be4ea440f90ffe5fba8a2f34484207248762ab127c3bb7e4328ced3502a336edd7d3a1026804381cd2b8738b15cd1745af0cee813dc60d7893 SHA512 706daed61d9d3722a0813d175fa66b24570abba492c32704d4df924861e5d2592a4a5ff40fdec2bd3fb662c3679dbc9addd580966c3cc69470d14e3fce27a054
+DIST icu4j-70.1.tar.gz 65661187 BLAKE2B 9d2d38fa91092d8f2fa39c773b722019f1d0c9b06ba6e8abaf05c3d3b50977232d6f1a37fd5ab6be6461d133dd361dae9b8633e22c9f165ef4e6e4b8029f6b8a SHA512 f1a653452f42605f799de7ec1d5bf27aa4b715f2ec18534cd3b52bd9be7ddbe7a6d18b47e3a5b36c7a63442bc38304ddc80f519ac65b9a91978ab15b462d9456
diff --git a/dev-java/icu4j/icu4j-70.1.ebuild b/dev-java/icu4j/icu4j-70.1.ebuild
new file mode 100644
index 000000000000..569a02f01c08
--- /dev/null
+++ b/dev-java/icu4j/icu4j-70.1.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/unicode-org/icu/archive/refs/tags/release-70-1.tar.gz --slot 70 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild icu4j-70.1.ebuild
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.ibm.icu:icu4j:70.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="https://icu.unicode.org"
+SRC_URI="https://github.com/unicode-org/icu/archive/refs/tags/release-${PV/./-}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="icu"
+SLOT="70"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*
+ test? ( dev-java/junitparams:0 )"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+S="${WORKDIR}/icu-release-${PV/./-}/icu4j/main"
+
+HTML_DOCS=( ../{APIChangeReport,license,readme}.html )
+
+JAVA_GENTOO_CLASSPATH_EXTRA="icu4j.jar:icu4j-charset.jar:icu4j-localespi.jar:testdata.jar:framework.jar"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,junitparams"
+JAVA_TEST_EXTRA_ARGS="-Djava.locale.providers=CLDR,COMPAT,SPI"
+
+JAVA_TEST_SRC_DIR=(
+ tests/charset/src
+ tests/collate/src
+ tests/core/src
+# tests/framework/src # we compile it in src_compile
+ tests/localespi/src
+ tests/packaging/src
+ tests/translit/src
+)
+
+JAVA_TEST_RESOURCE_DIRS=(
+ tests/charset/resources
+ tests/collate/resources
+ tests/core/resources
+# tests/framework/resources
+ tests/localespi/resources
+ tests/packaging/resources
+ tests/translit/resources
+)
+
+JAVA_TEST_EXCLUDES=(
+ "com.ibm.icu.dev.data.TestDataElements_testtypes" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_en_Latn_US" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_en_US" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_fr_Latn_FR" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestDataElements_te" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.data.resources.TestMessages" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.translit.TestUtility" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.localespi.TestUtil" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.stringprep.TestData" # Invalid test class 1. No runnable methods
+ "com.ibm.icu.dev.test.calendar.ChineseTestCase" # Invalid test class 1. Test class should have exactly one public zero-argument constructor
+ "com.ibm.icu.dev.test.calendar.TestCase" # java.lang.IllegalArgumentException: Test class can only have one constructor
+ "com.ibm.icu.dev.test.bidi.TestData" # Invalid test class 1. Test class should have exactly one public constructor
+ # following kills 98 tests and and avoids 9 test failures
+ "com.ibm.icu.dev.test.serializable.CoverageTest"
+ "com.ibm.icu.impl.icuadapter.NumberFormatJDK"
+ "com.ibm.icu.impl.icuadapter.TimeZoneJDK"
+ "com.ibm.icu.impl.jdkadapter.CalendarICU"
+ "com.ibm.icu.impl.jdkadapter.DateFormatSymbolsICU"
+ "com.ibm.icu.impl.jdkadapter.DecimalFormatICU"
+ "com.ibm.icu.impl.jdkadapter.DecimalFormatSymbolsICU"
+ "com.ibm.icu.impl.jdkadapter.NumberFormatICU"
+ "com.ibm.icu.impl.jdkadapter.SimpleDateFormatICU"
+ "com.ibm.icu.impl.jdkadapter.TimeZoneICU"
+)
+
+src_prepare() {
+ default
+
+ # create the resources directories
+ mkdir resources || die
+ cp -r classes/* resources || die
+
+ # remove .java files from resources
+ find resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
+
+ # this should not go in the jar files
+ mv shared/licenses/license.html .. || die
+
+ # icudata and icutzdata for "icu4j.jar"
+ pushd resources/core/src || die
+ jar -xf "${S}"/shared/data/icudata.jar || die
+ jar -xf "${S}"/shared/data/icutzdata.jar || die
+ # move these resources to "icu4j-charset.jar"
+ mkdir -p "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
+ mv com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/{*.cnv,cnvalias.icu} \
+ "${S}"/resources/charset/src/com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b || die
+
+ # create 9 files com/ibm/icu/impl/data/icudt69b/*/fullLocaleNames.lst
+ for dir in $(find com/ibm/icu/impl/data/icudt"$(ver_cut 1)"b/ -type d ! -name 'unit' -exec echo {} +); do
+ ls -1 $dir/*.res | sed -e 's%.*\/%%' -e 's%\..*$%%' -e '/pool/d' -e '/res_index/d' -e '/tzdbNames/d'\
+ > $dir/'fullLocaleNames.lst';
+ done || die "fullLocaleNames.lst failed"
+ popd
+
+ # this test class was failing with "No runnable methods"
+ # but text_excluding it would kill tousands of other tests.
+ mkdir -p tests/framework/src/com/ibm/icu/dev/data/resources || die
+ mv tests/{core,framework}/src/com/ibm/icu/dev/data/resources/TestDataElements.java || die
+
+ # testdata.jar needs to be on classpath
+ cp shared/data/testdata.jar . || die
+
+ # clone tests src
+ for i in charset collate core framework localespi packaging translit; do \
+ cp -r tests/$i/{src,resources} ; \
+ done || die "copying tests from src to resources failed"
+ cp -r ../tools/misc/{src,resources} || die
+
+ # separate tests resources from tests src
+ find tests/*/resources -type f -name '*.java' -exec rm -rf {} + || die
+ find ../tools/misc/resources -type f -name '*.java' -exec rm -rf {} + || die
+}
+
+src_compile() {
+ # "icu4j.jar"
+ JAVA_SRC_DIR=(
+ classes/collate/src
+ classes/core/src
+ classes/currdata/src
+ classes/langdata/src
+ classes/regiondata/src
+ classes/translit/src
+ )
+ JAVA_RESOURCE_DIRS=(
+ resources/collate/src
+ resources/core/src
+ resources/currdata/src
+ resources/langdata/src
+ resources/regiondata/src
+ resources/translit/src
+ shared/licenses
+ )
+ JAVA_JAR_FILENAME="icu4j.jar"
+# JAVA_MAIN_CLASS="com.ibm.icu.util.VersionInfo"
+ java-pkg-simple_src_compile
+ rm -fr target || die
+
+ # "icu4j-charset.jar"
+ JAVA_SRC_DIR=( classes/charset/src )
+ JAVA_RESOURCE_DIRS=( resources/charset/src shared/licenses )
+ JAVA_JAR_FILENAME="icu4j-charset.jar"
+ java-pkg-simple_src_compile
+ rm -fr target || die
+
+ # "icu4j-localespi.jar"
+ JAVA_SRC_DIR=( classes/localespi/src )
+ JAVA_RESOURCE_DIRS=( resources/localespi/src shared/licenses )
+ JAVA_JAR_FILENAME="icu4j-localespi.jar"
+ java-pkg-simple_src_compile
+ rm -fr target || die
+
+ # main/test/framework
+ # needed for compilicg the tests
+ # but "No runnable methods" ("Invalid test class")
+ if use test; then
+ JAVA_SRC_DIR=( tests/framework/src ../tools/misc/src )
+ JAVA_RESOURCE_DIRS=( tests/framework/resources ../tools/misc/resources )
+ JAVA_JAR_FILENAME="framework.jar"
+ java-pkg-simple_src_compile
+ rm -fr target || die
+ fi
+
+ # javadocs
+ if use doc; then
+ JAVA_SRC_DIR=( classes )
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_install() {
+ default
+ java-pkg_dojar "icu4j.jar"
+ java-pkg_dojar "icu4j-charset.jar"
+ java-pkg_dojar "icu4j-localespi.jar"
+
+ if use doc; then
+ java-pkg_dojavadoc target/api
+ fi
+ if use source; then
+ java-pkg_dosrc "classes"
+ fi
+}
diff --git a/dev-java/icu4j/metadata.xml b/dev-java/icu4j/metadata.xml
index 4221e170cbc0..22e776e183a1 100644
--- a/dev-java/icu4j/metadata.xml
+++ b/dev-java/icu4j/metadata.xml
@@ -5,4 +5,8 @@
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">unicode-org/icu</remote-id>
+ <bugs-to>https://unicode-org.atlassian.net/jira/software/c/projects/ICU/issues</bugs-to>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-11 9:07 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2021-11-11 9:07 UTC (permalink / raw
To: gentoo-commits
commit: e90cc42c61203aba198ba50917516dac4fd4f505
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Nov 10 18:59:06 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 09:07:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90cc42c
dev-java/icu4j: remove unused slot 56
Closes: https://bugs.gentoo.org/787803
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/22891
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/icu4j/Manifest | 1 -
dev-java/icu4j/icu4j-56.1.ebuild | 47 ----------------------------------------
2 files changed, 48 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index b5d94599384..4359c454577 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,3 +1,2 @@
DIST icu4j-54_1_1.tgz 23457651 BLAKE2B f200d170c32065d2f678247d595085283446e401da2c2433b426466fc5c6f93f5ce629bce23d1114cad7d360aa4d127060750d380da8cc3e7fa1e529b454bae9 SHA512 c41f7f9fb0819767da48ac21c4883a628da8397e0ad5b0d75e51d9185b5511608c9a635933c4ae2e0c8911b2cdecf47bc661050935bbae2ba58abfb5ad04dadf
DIST icu4j-55_1.tgz 23617640 BLAKE2B fe22524761e0c6be4ea440f90ffe5fba8a2f34484207248762ab127c3bb7e4328ced3502a336edd7d3a1026804381cd2b8738b15cd1745af0cee813dc60d7893 SHA512 706daed61d9d3722a0813d175fa66b24570abba492c32704d4df924861e5d2592a4a5ff40fdec2bd3fb662c3679dbc9addd580966c3cc69470d14e3fce27a054
-DIST icu4j-56_1.tgz 23189284 BLAKE2B d53aa869d6cde8cc9c83e66b55986b61736fbaf7a890e3c7bacab5abb23623ec64b5a23fd740dca8e51fd2336ced5e79546b4c08edca25beced22e6560f7814d SHA512 9ecc36c03a6713dbfb909e109b5e982525958b6137bd7006c93ff3b8578d816c59fa331555b43c94248f392ba9b456b1adb37be74e02e9ea818c8a9a7c669f4a
diff --git a/dev-java/icu4j/icu4j-56.1.ebuild b/dev-java/icu4j/icu4j-56.1.ebuild
deleted file mode 100644
index 870e9f7a2de..00000000000
--- a/dev-java/icu4j/icu4j-56.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-JAVA_PKG_IUSE="doc examples source test"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-HOMEPAGE="http://www.icu-project.org/"
-SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
-
-LICENSE="icu"
-SLOT="56"
-KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-DEPEND=">=virtual/jdk-1.6"
-RDEPEND=">=virtual/jre-1.6"
-
-S="${WORKDIR}"
-
-JAVA_PKG_BSFIX_NAME+=" common-targets.xml"
-
-EANT_DOC_TARGET="docs"
-EANT_TEST_TARGET="check"
-
-JAVA_RM_FILES=(
- tools/build/src/com/ibm/icu/dev/tool/docs/ICUTaglet.java
-)
-
-src_test() {
- java-pkg-2_src_test
-}
-
-src_install() {
- java-pkg_dojar ${PN}.jar
- java-pkg_dojar ${PN}-charset.jar
- java-pkg_dojar ${PN}-localespi.jar
-
- dodoc readme.html
-
- use doc && java-pkg_dojavadoc doc
- use examples && java-pkg_doexamples demos samples
- use source && java-pkg_dosrc main/classes/*/src/com
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2021-11-10 17:10 Miroslav Šulc
0 siblings, 0 replies; 60+ messages in thread
From: Miroslav Šulc @ 2021-11-10 17:10 UTC (permalink / raw
To: gentoo-commits
commit: 373fd4e015e14c3c3a0a5c67bc34be86a234d540
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 10 17:08:51 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 17:10:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=373fd4e0
dev-java/icu4j: eapi7 and restricted compile java to 1.8 in 54.1.1-r1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
.../icu4j/{icu4j-54.1.1.ebuild => icu4j-54.1.1-r1.ebuild} | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/dev-java/icu4j/icu4j-54.1.1.ebuild b/dev-java/icu4j/icu4j-54.1.1-r1.ebuild
similarity index 82%
rename from dev-java/icu4j/icu4j-54.1.1.ebuild
rename to dev-java/icu4j/icu4j-54.1.1-r1.ebuild
index e58375be105..640cdc0756f 100644
--- a/dev-java/icu4j/icu4j-54.1.1.ebuild
+++ b/dev-java/icu4j/icu4j-54.1.1-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
# testdata.jar, icudata.jar and icutzdata.jar do not contain *.class files
# but *.res files. These *.res data files are needed to build the final jar.
@@ -19,12 +19,15 @@ SLOT="52"
KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE=""
-# Beware of jdk version dependant code #361593
-DEPEND=">=virtual/jdk-1.6"
-RDEPEND=">=virtual/jre-1.6"
+# the build system does not support java > 1.8
+# also the package does not compile with newer jdks because of missing classes
+DEPEND="virtual/jdk:1.8"
+RDEPEND=">=virtual/jre-1.8:*"
S="${WORKDIR}"
+HTML_DOCS="readme.html"
+
JAVA_PKG_BSFIX_NAME+=" common-targets.xml"
EANT_DOC_TARGET="docs"
@@ -39,7 +42,7 @@ src_install() {
java-pkg_dojar ${PN}-charset.jar
java-pkg_dojar ${PN}-localespi.jar
- dohtml readme.html
+ einstalldocs
use doc && java-pkg_dojavadoc doc
use examples && java-pkg_doexamples demos samples
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2020-07-20 1:10 Sam James
0 siblings, 0 replies; 60+ messages in thread
From: Sam James @ 2020-07-20 1:10 UTC (permalink / raw
To: gentoo-commits
commit: a2c1c92c71ff3ceb1c77ba8ee1e83feeb468eaca
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 20 01:08:00 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 20 01:08:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c1c92c
dev-java/icu4j: arm64 keyworded (bug #720116)
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-java/icu4j/icu4j-56.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-java/icu4j/icu4j-56.1.ebuild b/dev-java/icu4j/icu4j-56.1.ebuild
index 3e0a98276d1..f4ff61c4113 100644
--- a/dev-java/icu4j/icu4j-56.1.ebuild
+++ b/dev-java/icu4j/icu4j-56.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -13,7 +13,7 @@ SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
LICENSE="icu"
SLOT="56"
-KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.6"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2017-07-13 18:32 Alexis Ballier
0 siblings, 0 replies; 60+ messages in thread
From: Alexis Ballier @ 2017-07-13 18:32 UTC (permalink / raw
To: gentoo-commits
commit: 0ca155c8af063f71e992abe37c57f156e0b1b8ad
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 13 18:29:34 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jul 13 18:32:22 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca155c8
dev-java/icu4j: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-java/icu4j/icu4j-54.1.1.ebuild | 2 +-
dev-java/icu4j/icu4j-55.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-java/icu4j/icu4j-54.1.1.ebuild b/dev-java/icu4j/icu4j-54.1.1.ebuild
index 46c3a98bc1d..82a976fcd4a 100644
--- a/dev-java/icu4j/icu4j-54.1.1.ebuild
+++ b/dev-java/icu4j/icu4j-54.1.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
LICENSE="icu"
SLOT="52"
-KEYWORDS="amd64 ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
# Beware of jdk version dependant code #361593
diff --git a/dev-java/icu4j/icu4j-55.1.ebuild b/dev-java/icu4j/icu4j-55.1.ebuild
index 33f0af7002e..ab03d68edaa 100644
--- a/dev-java/icu4j/icu4j-55.1.ebuild
+++ b/dev-java/icu4j/icu4j-55.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
LICENSE="icu"
SLOT="55"
-KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
# Beware of jdk version dependant code #361593
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2016-11-13 15:52 Sebastian Pipping
0 siblings, 0 replies; 60+ messages in thread
From: Sebastian Pipping @ 2016-11-13 15:52 UTC (permalink / raw
To: gentoo-commits
commit: d02159ba214126ef1657cb059f0742c8fd7bf614
Author: Stefan Langenmaier <stefan.langenmaier <AT> gmail <DOT> com>
AuthorDate: Sun Nov 13 15:50:58 2016 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 15:52:14 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d02159ba
dev-java/icu4j: 56.1 (bug #599242)
dev-java/icu4j/Manifest | 1 +
dev-java/icu4j/icu4j-56.1.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 53fba0b..b199d26 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,2 +1,3 @@
DIST icu4j-54_1_1.tgz 23457651 SHA256 1919a355742172dbd18021dfb2fd008f5c73168d2d5a39d705721614029d6704 SHA512 c41f7f9fb0819767da48ac21c4883a628da8397e0ad5b0d75e51d9185b5511608c9a635933c4ae2e0c8911b2cdecf47bc661050935bbae2ba58abfb5ad04dadf WHIRLPOOL d7c35283547c598694ead10620df1511cbe4602415ca8ee2d32ee3b291d28015db4fcd5fb3f426bf524e449099562545c3bdab81209af244890b53ea091f9f1f
DIST icu4j-55_1.tgz 23617640 SHA256 da4c91e6b89bef3da22be475e63916c4f4f304b9689d5fdc5b40a52106efc4c3 SHA512 706daed61d9d3722a0813d175fa66b24570abba492c32704d4df924861e5d2592a4a5ff40fdec2bd3fb662c3679dbc9addd580966c3cc69470d14e3fce27a054 WHIRLPOOL b6cace3616d6d0b1c185a744cc1f0a3728682557d51f4b6658f174195c1eb369a2a005e2fd9eb4b421de761e47c2424368359a1948594da7b2f8cd6e1b0d2f33
+DIST icu4j-56_1.tgz 23189284 SHA256 0b227aae833af37daf6b8dfbd265b4a3bae92ecb0d5f79d34ccb6dd445135369 SHA512 9ecc36c03a6713dbfb909e109b5e982525958b6137bd7006c93ff3b8578d816c59fa331555b43c94248f392ba9b456b1adb37be74e02e9ea818c8a9a7c669f4a WHIRLPOOL acf1bcece9cf1aaa31b05618bd1b79fc5f308a93c9f1b64c69ed2171dcda3031b0d76ebf196af27c0d1712e8be8f7cdf0263ad9432b592afbd5098f05039828c
diff --git a/dev-java/icu4j/icu4j-56.1.ebuild b/dev-java/icu4j/icu4j-56.1.ebuild
new file mode 100644
index 00000000..3419cfe
--- /dev/null
+++ b/dev-java/icu4j/icu4j-56.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
+HOMEPAGE="http://www.icu-project.org/"
+SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
+
+LICENSE="icu"
+SLOT="56"
+KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}"
+
+JAVA_PKG_BSFIX_NAME+=" common-targets.xml"
+
+EANT_DOC_TARGET="docs"
+EANT_TEST_TARGET="check"
+
+JAVA_RM_FILES=(
+ tools/build/src/com/ibm/icu/dev/tool/docs/ICUTaglet.java
+)
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ java-pkg_dojar ${PN}-charset.jar
+ java-pkg_dojar ${PN}-localespi.jar
+
+ dodoc readme.html
+
+ use doc && java-pkg_dojavadoc doc
+ use examples && java-pkg_doexamples demos samples
+ use source && java-pkg_dosrc main/classes/*/src/com
+}
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2016-02-26 13:28 James Le Cuirot
0 siblings, 0 replies; 60+ messages in thread
From: James Le Cuirot @ 2016-02-26 13:28 UTC (permalink / raw
To: gentoo-commits
commit: 6935ec01afb23f04de7e853aed165c638a282114
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 26 13:27:33 2016 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 13:28:32 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6935ec01
dev-java/icu4j: Stable on amd64, ppc64, x86 using ALLARCHES policy
Package-Manager: portage-2.2.27
dev-java/icu4j/icu4j-55.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-55.1.ebuild b/dev-java/icu4j/icu4j-55.1.ebuild
index d3da6dc..ea3cf7e 100644
--- a/dev-java/icu4j/icu4j-55.1.ebuild
+++ b/dev-java/icu4j/icu4j-55.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${PV//./_}.tgz"
LICENSE="icu"
SLOT="55"
-KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
# Beware of jdk version dependant code #361593
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2015-10-02 10:34 Patrice Clement
0 siblings, 0 replies; 60+ messages in thread
From: Patrice Clement @ 2015-10-02 10:34 UTC (permalink / raw
To: gentoo-commits
commit: bd4540cc301100c52cc5b605e2d164221147db0d
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 2 09:44:08 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Oct 2 10:32:36 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4540cc
dev-java/icu4j: Stable for ppc+ppc64.
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/icu4j/icu4j-4.0.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-java/icu4j/icu4j-4.0.1.1.ebuild b/dev-java/icu4j/icu4j-4.0.1.1.ebuild
index 402bc69..8b0f07c 100644
--- a/dev-java/icu4j/icu4j-4.0.1.1.ebuild
+++ b/dev-java/icu4j/icu4j-4.0.1.1.ebuild
@@ -23,7 +23,7 @@ SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.ja
HOMEPAGE="http://www.icu-project.org/"
LICENSE="icu"
SLOT="4"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
^ permalink raw reply related [flat|nested] 60+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
@ 2015-08-28 21:34 Manuel Rüger
0 siblings, 0 replies; 60+ messages in thread
From: Manuel Rüger @ 2015-08-28 21:34 UTC (permalink / raw
To: gentoo-commits
commit: 00dc938101e43a3f9e1837bb24945b7cb4e4cc05
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 28 21:34:22 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Aug 28 21:34:22 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00dc9381
dev-java/icu4j: Remove old
Package-Manager: portage-2.2.20.1
dev-java/icu4j/Manifest | 2 -
dev-java/icu4j/icu4j-4.4.1.1.ebuild | 74 -------------------------------------
2 files changed, 76 deletions(-)
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 6d8d571..7a507b9 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -5,8 +5,6 @@ DIST icu4j-4_0_1_1-docs.jar 1553089 SHA256 44319c329b628c5e14e74eeb285ddb876c34e
DIST icu4j-4_0_1_1-src.jar 15138020 SHA256 9d5484ccb3ad6849b6d3986ee2cf146984cbbb8adb2349dc79f6a4e006bc417e SHA512 4eb02b50df0c7a008f6291c636cfc887b61ce503e0bd994d8cd5f3ec955b287e16ea640de98398414e000af8a859a4b087aa711cdaa53c8c17c7fdb760a4ca4e WHIRLPOOL 032412b7a7cb533e1f037c32cfa74db65272ca9c735d412c0f5f4abd1c41d5c4a1db26d0d8339693ff7229a052fd3cf1b8504cc250c17a3a45e7f4d58bb7f279
DIST icu4j-4_2_1_1-docs.jar 1633918 SHA256 3749ec254d38b6ca2e13ed5cf493ac371ff3c548bf95302af41bb408e0bcbfa8 SHA512 87eeb92f168b28aa4cce3b3547311020e0b052034ef160cb5ba3b8f7fc77829b231680f061686ea87dc388f961c4d1feffcb3fc24fe5df66e51c2983c4a5be30 WHIRLPOOL 2d1a2ad3c54624721c2e7e56bef927486ca82d6f8c7e00ad6b97707ca8b6c42186b5b45babdc73961e8e6b30ed9fc29f923cf580f17bcf974593f090ac3a767b
DIST icu4j-4_2_1_1-src.jar 16057200 SHA256 61e8d1f7879c580e7304222b80a1bf395455d50fa425a9d7e1b72164776a43fa SHA512 3d61a219a67ff5682a4c1484f7239b60982b8e6c25138ccb15a92cfae18c67592acea0200b2954f7a021b1d3765aabae98d5346f22e134af2ca18514a7925274 WHIRLPOOL cf87a51dd9f18c9f5af0549677fd971dfc9e527ee09c0e39d82fc0fa128eea6222c65d10df722b7d7f451bacaf5d80ce31122112fdcb720a2dcaaae05a61b163
-DIST icu4j-4_4_1_1-docs.jar 1783697 SHA256 2063db589ce2d7b1b3aa9f4aeff2562be2993aa5a0755b65832304a963d29491 SHA512 2b3a665c2e748445f4acd8ae25641ff28b7d26e92a9e5427ca97ef5b63e051e635380e00f1f3a099dd4faf7eac0c038ce5e8a45380337b161daf3497d16ec56a WHIRLPOOL f5c4ac56b1eab843c8223b004d91f7bcbbaadda41bd3ff3702070941486aba27183659d78195eb3298e5dd85685562ffeb644454e41c27319272fc4c64dab808
-DIST icu4j-4_4_1_1-src.jar 14821020 SHA256 a42c7db617c04f031a41bb66fa5d211f2fa2e535e2767297897e85d2ef525bff SHA512 bc02f42ea62ee1859db7be852d64c8113e8de82a21c689c2f97606fd04a773603a43ac9faee2705653bfd5c1e431a4db798751758c38dd8d0ab02142c455b243 WHIRLPOOL 2fb230aa7ff19483e177ef93f3ccfbbe7936d5cc3fbee05fac03c15e5ea7777ab2423722bebd37f428e22669b907ed3e07565b8dfc300c5b7bea01960fbd74b6
DIST icu4j-4_4_2-docs.jar 1783887 SHA256 aa364c9e353e05e428112b05f9a9fda8e1c7d2b3404862e6df08a73f7f8b187a SHA512 212d042ca27e442525a1dcd4f69a6668535d57e49a1302b97e32bfc7ed216146eedff52633770bb01f32f560fb6d7c00774b34385a7d87cab9f0b68188a37203 WHIRLPOOL 804ac774e6e9e4b06f1d06795ea70ecb68ee23ed7689d4b603682ca1271c2d18d258faf3c23e99ff8269275774b4ba0e1b605b2b7288b51e9ae5445d25c32d7c
DIST icu4j-4_4_2-src.jar 14844670 SHA256 c29fbf1464ad7fb88e8651953144884eea37adf36914e38a518774a99cf33b0d SHA512 90949f007e073c0e78510c66c2a1644985367921550f61976af61089ffc8a08e34a51c36c21f241f3073c7b3c5329d1ba7234043790db8dd8eef7eaf3edff79d WHIRLPOOL 82727e4e95ef662f9c6689bf5cd1d5c16f4238b682d2d88689ee561aae9c8ecc846f2bbb0adcfd125c7353b9ba160abc0c76d0d11af78047a59fd4504a39a720
DIST icu4j-52_1.tgz 22584166 SHA256 0d720ee63ec3976a0280bc5f42ef347a5823c0debe15bd42369316433f32ae05 SHA512 4546daa126410c21ec65acc75581831c139873e2465b9fd898215cc52ebfbd6441c0a260bd449aa3d0753fe0584c02d1bd033de46904aef9e27aaa3266b78738 WHIRLPOOL 9bd5b5085289c776c221a0a85edca11185fed77874e5520627ba60b9f2772c63aa078a765ba5b228570062d063fc3077b2cbe2417d4c241b4f6940f59206bd57
diff --git a/dev-java/icu4j/icu4j-4.4.1.1.ebuild b/dev-java/icu4j/icu4j-4.4.1.1.ebuild
deleted file mode 100644
index 3b59302..0000000
--- a/dev-java/icu4j/icu4j-4.4.1.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=2
-
-# We currently download the Javadoc documentation.
-# It could optionally be built using the Ant build file.
-# testdata.jar and icudata.jar do not contain *.class files but *.res files
-# These *.res data files are needed to built the final jar
-# They do not need to be installed however as they will already be present in icu4j.jar
-
-JAVA_PKG_IUSE="doc test source"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
-MY_PV=${PV//./_}
-
-SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar
- doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )"
-
-HOMEPAGE="http://www.icu-project.org/"
-LICENSE="icu"
-SLOT="4.4"
-KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-# Tests only work with JDK-1.6, severe out of memory problems appear with 1.5
-DEPEND="test? ( =virtual/jdk-1.6* )
- !test? ( >=virtual/jdk-1.5 )"
-RDEPEND=">=virtual/jre-1.5"
-
-RESTRICT="ia64? ( test )"
-
-JAVA_PKG_WANT_SOURCE="1.5"
-JAVA_PKG_WANT_TARGET="1.5"
-JAVA_PKG_BSFIX_NAME="build.xml common-targets.xml"
-
-S="${WORKDIR}"
-
-src_unpack() {
- jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack"
-
- if use doc; then
- mkdir docs; cd docs
- jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs"
- fi
-}
-
-src_compile() {
- # Classes extending CharsetICU not implementing Comparable
- # Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack?
- # Restricting to javac (didn't even care to try jikes) is better
- # than forcing 1.4
- java-pkg_force-compiler javac
- eant jar || die "Compile failed"
-}
-
-src_install() {
- java-pkg_dojar "${PN}.jar"
- java-pkg_dojar "${PN}-charsets.jar"
- java-pkg_dojar "${PN}-localespi.jar"
-
- dohtml readme.html || die
- use doc && java-pkg_dojavadoc docs
- use source && java-pkg_dosrc main/classes/*/src/com
-}
-
-src_test() {
- # bug #299082 - these tests fail with icedtea, assume too much about double<>string conversions
- sed -i '/DiagBigDecimal/d' main/tests/core/src/com/ibm/icu/dev/test/TestAllCore.java || die
- eant check
-}
^ permalink raw reply related [flat|nested] 60+ messages in thread
end of thread, other threads:[~2024-11-26 8:22 UTC | newest]
Thread overview: 60+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 4:17 [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-11-26 8:22 Miroslav Šulc
2024-11-26 0:36 Sam James
2024-11-25 19:01 Sam James
2024-11-25 12:31 Arthur Zamarin
2024-10-26 7:23 Miroslav Šulc
2024-10-25 8:10 Miroslav Šulc
2024-05-26 8:47 Miroslav Šulc
2024-05-26 8:45 Miroslav Šulc
2024-05-17 6:56 Arthur Zamarin
2024-05-16 4:17 Arthur Zamarin
2024-04-16 8:02 Miroslav Šulc
2024-01-19 12:44 Miroslav Šulc
2024-01-19 10:47 Sam James
2024-01-19 10:47 Sam James
2024-01-19 10:07 Sam James
2024-01-19 10:07 Sam James
2024-01-06 21:52 Miroslav Šulc
2024-01-06 8:16 Sam James
2024-01-06 8:11 Sam James
2024-01-06 8:11 Sam James
2023-12-20 9:12 Miroslav Šulc
2023-12-07 12:42 Miroslav Šulc
2023-10-28 8:23 Miroslav Šulc
2023-10-27 12:30 Sam James
2023-10-27 12:22 Sam James
2023-10-22 18:56 Miroslav Šulc
2023-09-27 6:58 Miroslav Šulc
2022-11-24 7:19 Miroslav Šulc
2022-11-23 14:12 Jakov Smolić
2022-11-21 6:24 Miroslav Šulc
2022-11-20 7:23 Sam James
2022-11-20 7:23 Sam James
2022-11-20 7:23 Sam James
2022-10-21 3:59 Miroslav Šulc
2022-10-04 4:31 Miroslav Šulc
2022-05-09 8:17 Miroslav Šulc
2022-05-09 8:01 Jakov Smolić
2022-05-09 8:01 Jakov Smolić
2022-05-09 7:33 Jakov Smolić
2022-05-09 7:33 Jakov Smolić
2022-04-09 5:11 Miroslav Šulc
2022-01-02 10:57 Miroslav Šulc
2021-12-22 18:47 Arthur Zamarin
2021-12-01 19:00 Sam James
2021-11-26 7:53 Miroslav Šulc
2021-11-25 4:14 Sam James
2021-11-25 4:14 Sam James
2021-11-25 4:14 Sam James
2021-11-25 4:14 Sam James
2021-11-23 7:50 Miroslav Šulc
2021-11-21 16:31 Miroslav Šulc
2021-11-11 9:07 Miroslav Šulc
2021-11-10 17:10 Miroslav Šulc
2020-07-20 1:10 Sam James
2017-07-13 18:32 Alexis Ballier
2016-11-13 15:52 Sebastian Pipping
2016-02-26 13:28 James Le Cuirot
2015-10-02 10:34 Patrice Clement
2015-08-28 21:34 Manuel Rüger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox