From 83d9fce566bb89f6976f36f5314bfc88b6d261fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 27 Oct 2024 03:04:35 +0000 Subject: gentoo auto-resync : 27:10:2024 - 03:04:35 --- dev-java/Manifest.gz | Bin 55500 -> 55501 bytes dev-java/cdi-api/Manifest | 2 +- dev-java/cdi-api/cdi-api-4.0.1-r3.ebuild | 2 +- dev-java/icu4j/Manifest | 2 +- dev-java/icu4j/icu4j-76.1-r1.ebuild | 206 +++++++++++++++++++++++++++++++ dev-java/icu4j/icu4j-76.1.ebuild | 205 ------------------------------ 6 files changed, 209 insertions(+), 208 deletions(-) create mode 100644 dev-java/icu4j/icu4j-76.1-r1.ebuild delete mode 100644 dev-java/icu4j/icu4j-76.1.ebuild (limited to 'dev-java') diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz index 5fc698983edd..e542b59687ea 100644 Binary files a/dev-java/Manifest.gz and b/dev-java/Manifest.gz differ diff --git a/dev-java/cdi-api/Manifest b/dev-java/cdi-api/Manifest index dd6ec83ed6ab..063b4a94d4b9 100644 --- a/dev-java/cdi-api/Manifest +++ b/dev-java/cdi-api/Manifest @@ -1,5 +1,5 @@ AUX cdi-api-4.0.1-skip-tests.patch 2530 BLAKE2B 6b4fac604f1b3692ce4150b2e6f29d60a32004dd61a7cd4f12e092bb43e8bed6a1ddc33ad711e0f3025ec95f37a8aba11c305e9df23b3f11e29021baa3808e17 SHA512 0d7d99baea9cbc21e9bc435118f793c6a11d802968b24aed20a65b337b3cebb7d50e37a493084deaa7961c64bfd4f2b96f0750897b0589586b3e89077edf364e DIST cdi-api-4.0.1.tar.gz 280719 BLAKE2B 9c4cf34f1b0c096a3097bed658ba4c13ab6fa655cd8233b82b13a788dd047e1be89bcde69b3c69665c0987c4f62cd5e4596e51f6235c95db5239daf403dea4e9 SHA512 7f3e9ca45e0708b3c998ff6f743975a9995309d1fb93fde64ca8a0fca73e16ea653085ca743c921d52385f0fbcbdab10b45fd8b6e8b27c2e058871febbbeeb1e EBUILD cdi-api-4.0.1-r2.ebuild 2670 BLAKE2B 869fbc84a4872c566d9ac6ab2312e2e22e5c494e752f9d6f0618070c05b28f6f99b5aff9379e85c7cd29ba785743d6510b6a695954065a5d3333b23ce12b43ef SHA512 d638585bf00ca8065a893a9fb76c42aec2b98cc00b830bb526e06869aca4f60e5811c5468ffd7800bb7d2c57cd136174f230a1c1c556efaaa1904ae2b9fd7a4f -EBUILD cdi-api-4.0.1-r3.ebuild 2956 BLAKE2B 08cbbe91c95759c06469bf89491cce3437982095f761e680a9b3212291eccdbd1dbf0ce7cbdaa3358ba3d4fdfc51919615b0faebcd896a16691cae3e78d2452f SHA512 63f03958bff5b81ebf96d6f265392263cc3c183dc736b6b5471acb3a6f23fa9d36094648445ddd86eef155f60e6e94b8b6d63d13e9dcd81577ce0d98ae206ab6 +EBUILD cdi-api-4.0.1-r3.ebuild 2954 BLAKE2B 7ffbb1d3b6302208cb22f90b9ff2f526ffaca2d3bce1b6a64696df7d109cc61c36251a068173fb62bff5cb248c4de50b0bab6ed1a69cc530b896d518d185dfe5 SHA512 2220c4b93abd347b875fa9a96591eb6ab7d1e9faf3c34dd75da676cab6eb5243186a829476f266875fcd1960fde3976df7e969ce71068dc546fbb4e5c3f8ffdd MISC metadata.xml 295 BLAKE2B 349f4209d0a1dac5a43b3cc197c78aadf3263cfb1e6ddfa39b4ea54bf5b4883a80e800b600720b745a86ee6defe57304736910fc4bb42ee1c1f57f35a3936ea0 SHA512 6f7bf9a1c0e9418a7a0d3cc2baa8f6cbbcf1b4a7abf7f4501d718355d778966b3a16f56bd30c5136d7fb96597d3377e61cbb9a9d840b53fa4da26e00cb3d72e1 diff --git a/dev-java/cdi-api/cdi-api-4.0.1-r3.ebuild b/dev-java/cdi-api/cdi-api-4.0.1-r3.ebuild index 78e44613fbeb..3c601b4e7d8e 100644 --- a/dev-java/cdi-api/cdi-api-4.0.1-r3.ebuild +++ b/dev-java/cdi-api/cdi-api-4.0.1-r3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/cdi-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64" +KEYWORDS="amd64 ~arm64 ppc64" EL_API_SLOT="5.0" diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest index 3b30e2210bfd..cef88e0bfaf0 100644 --- a/dev-java/icu4j/Manifest +++ b/dev-java/icu4j/Manifest @@ -1,5 +1,5 @@ DIST icu4j-75.1.tar.gz 65866291 BLAKE2B ae9a2a8f9bf6f38a08c46c4c3695fa4096c831beab1af5b654e86c9d681eb32be727930aeb1fd866fe9f93a96abe807fd353d108b5fe7a4d8203ee33cc16d971 SHA512 08f8fce8a4dd85706d9f7c57fd021ba15c403ab2da33d9a122d7cb441e0e148deebf245a661e4ef53a30bfa8b7622c63035946fd8966be3927af322275b87ca3 DIST icu4j-76.1.tar.gz 67524828 BLAKE2B 949b6b69e2201ba5b4538766d25e72a8d98daeb8b1bf376966a6f410febee8c75c031ce9e52a0e4908d5d01f4d0120526ac84178603ee3968c1a399fc0a7959c SHA512 b92e05f3b5022992dfc7881542ed957dc9a1bc0b86f28fa6123dd4ab295e2a91686672193017acc0e0b659c37c944a1d2222e4881d7c65046a1df9dfaa925f12 EBUILD icu4j-75.1.ebuild 5507 BLAKE2B 9a07d9854b1675f1a5d29575c87a064e1adb303a91962ef016fad3438e0219e602b2d1461d0cfe2df786fb81d2765d225576c13c4a98b1127394415f2be55ff9 SHA512 b8aa84ce20a437a2de1f106a19bdfa7bafc56e403c77e3cd0d4f3a3a389a846020bc2db849737e02d619b4a1eedfff2ff74cb93b4be0c690c5f6c33e6d3185cb -EBUILD icu4j-76.1.ebuild 6185 BLAKE2B f6ef6f0cfaa045dbf3b8aa227a3b097a79f4425b3a3a9786d6c4fec1c82976b657d782087f7b1d21c1755aa090f0d5206fae3e2b0e1645ca189a0e60d66bd0f2 SHA512 be969fa7181f6369cef25208a439e02694c262a475447e05ecd937a7cd1057374db791f3c5c82c642af5eed531df4fe83aee230cfbf06a43daf15663fdd97942 +EBUILD icu4j-76.1-r1.ebuild 6233 BLAKE2B d558aac183c6327d09d4a82f134a347d1e80c93c55539969bcb8ae5c3a344b89a8924f2f31578a375e673d10d7c83356dcc22efab045a7d89ef612f3a2ef1941 SHA512 cd041b6ecb39a52becf6b14bd7606783bb52864970f4b28fdeb03f8eb448a1b0fd803f935ca2feaf27289a33abb7ef40b7cf88ad4cbcb32c3aaad23029f005e3 MISC metadata.xml 408 BLAKE2B 8d73c37540d7adce52f3f5b316d7c322bdbbacc3fd2dea5e361352bff8efb3ec2a5b49ca4e7b97d15e8c668e52fe32f90ec1972bae78b9b3b3354973d8fc992a SHA512 eb7df20108b1ebcbf5dd9edd72c2089df2c675028824b4c04976e35b4c306dd459a40aa45b0ac7da5392552657cd1dbaf2fb17b269f9d58110a6ac40dc377b0c diff --git a/dev-java/icu4j/icu4j-76.1-r1.ebuild b/dev-java/icu4j/icu4j-76.1-r1.ebuild new file mode 100644 index 000000000000..0dc67c7d8a23 --- /dev/null +++ b/dev-java/icu4j/icu4j-76.1-r1.ebuild @@ -0,0 +1,206 @@ +# 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_MAIN_CLASS="com.ibm.icu.util.VersionInfo" + 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 +} diff --git a/dev-java/icu4j/icu4j-76.1.ebuild b/dev-java/icu4j/icu4j-76.1.ebuild deleted file mode 100644 index f643f2f3ef08..000000000000 --- a/dev-java/icu4j/icu4j-76.1.ebuild +++ /dev/null @@ -1,205 +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_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 -} -- cgit v1.2.3