From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/
Date: Sat, 28 Oct 2023 08:23:12 +0000 (UTC) [thread overview]
Message-ID: <1698481380.7764fd12a3d85aeab562dc1ba9afc97de7bb2641.fordfrog@gentoo> (raw)
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
-}
next reply other threads:[~2023-10-28 8:23 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-28 8:23 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-26 7:23 [gentoo-commits] repo/gentoo:master commit in: dev-java/icu4j/ 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-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-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1698481380.7764fd12a3d85aeab562dc1ba9afc97de7bb2641.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox