summaryrefslogtreecommitdiff
path: root/dev-java/icu4j
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-27 00:07:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-27 00:07:23 +0100
commit3c1648a0749c1d66b300d857e6b417c1162890da (patch)
tree2b13f04c2c10d472e5bb7cc40fe6048bf8bc549d /dev-java/icu4j
parent994fe442814c4d169bb0f1ee9745604928006b39 (diff)
gentoo auto-resync : 27:05:2024 - 00:07:23
Diffstat (limited to 'dev-java/icu4j')
-rw-r--r--dev-java/icu4j/Manifest4
-rw-r--r--dev-java/icu4j/icu4j-74.2-r1.ebuild193
-rw-r--r--dev-java/icu4j/icu4j-75.1.ebuild2
3 files changed, 2 insertions, 197 deletions
diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest
index 2338ff6d4f61..b74a89105e9b 100644
--- a/dev-java/icu4j/Manifest
+++ b/dev-java/icu4j/Manifest
@@ -1,5 +1,3 @@
-DIST icu-74.2.tar.gz 65888936 BLAKE2B 81d5acddbfc58a859906cb61660b6f230b88f4a1b1cfd56838843e9445b5858d3dd4888707026340581322143f6a4b7b81f53b6431fd5d4cc3fb90531c4d82fb SHA512 728ae0f09ffc802d675bcf5b849e3081472de8417736bf8b7df0f4db9d1fb8073779be76536764c9111f7cb0e5ab2d2af6c644cc24be432b9eeae9063802ad6c
DIST icu4j-75.1.tar.gz 65866291 BLAKE2B ae9a2a8f9bf6f38a08c46c4c3695fa4096c831beab1af5b654e86c9d681eb32be727930aeb1fd866fe9f93a96abe807fd353d108b5fe7a4d8203ee33cc16d971 SHA512 08f8fce8a4dd85706d9f7c57fd021ba15c403ab2da33d9a122d7cb441e0e148deebf245a661e4ef53a30bfa8b7622c63035946fd8966be3927af322275b87ca3
-EBUILD icu4j-74.2-r1.ebuild 5578 BLAKE2B e7182cde611fc7f916ee52c54e6e0dcd8caddcd5c64d19710ba13f55fad3aed9023fa465fe27ea7305361ac436a33ba711203c255ca9cf4091c0fd36e1834abc SHA512 76684f46c0cab2ced94491a35ca622a4e9022fc3777ba6dadb91de1651e80bed7a1db9c66eb1b51536dfbcd1e812ccafced81b02e1c8254e7d7042c29a365eef
-EBUILD icu4j-75.1.ebuild 5517 BLAKE2B 0e662a0fb8b66bb0e65624e7b59bd40c39eae1f9301e5dd00f719aa25e9dbbab7d0e7925594df368a21bc34d095dda51a931d3583809ea3ad3977ef0f76d94e3 SHA512 f1457ad2270f906c19d6d8e510971a0cb7f34df7b3129de7281cbd5fcc24f8c39c6c61d4c7d7341f44b893b8f7755442840078e985a2710389b5ec54ec325764
+EBUILD icu4j-75.1.ebuild 5516 BLAKE2B 5a48bb8ecdc5351c952d5b60556630532f05deb5902cd2de9c85acb097b40052740173f85633b6b2d27a25a5c9a6c5c51425a44834675a92dbe95da4642d5736 SHA512 be071de19293bb519f0fbf8a513ae8301bc07c86a934b840cbc12beca4f0f045f6b0044770dc84fd76e6db6f126b1b5e9d22fe805c4bccb58dc957864967704a
MISC metadata.xml 408 BLAKE2B 8d73c37540d7adce52f3f5b316d7c322bdbbacc3fd2dea5e361352bff8efb3ec2a5b49ca4e7b97d15e8c668e52fe32f90ec1972bae78b9b3b3354973d8fc992a SHA512 eb7df20108b1ebcbf5dd9edd72c2089df2c675028824b4c04976e35b4c306dd459a40aa45b0ac7da5392552657cd1dbaf2fb17b269f9d58110a6ac40dc377b0c
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
-}
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:*