From f1269e587f3d88b85f72a6fbaf727da5d6c9af90 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 21 Oct 2022 08:02:07 +0100 Subject: gentoo auto-resync : 21:10:2022 - 08:02:07 --- dev-java/Manifest.gz | Bin 55519 -> 55524 bytes dev-java/icu4j/Manifest | 3 + dev-java/icu4j/icu4j-72.1.ebuild | 205 +++++++++++++++++++++ dev-java/logback-classic/Manifest | 2 +- .../logback-classic-1.2.11-r1.ebuild | 96 ++++++++++ .../logback-classic/logback-classic-1.2.11.ebuild | 96 ---------- dev-java/slf4j-api/Manifest | 1 + dev-java/slf4j-api/slf4j-api-1.7.36-r1.ebuild | 62 +++++++ dev-java/xsdlib/Manifest | 2 - dev-java/xsdlib/xsdlib-2013.6.1.ebuild | 35 ---- 10 files changed, 368 insertions(+), 134 deletions(-) create mode 100644 dev-java/icu4j/icu4j-72.1.ebuild create mode 100644 dev-java/logback-classic/logback-classic-1.2.11-r1.ebuild delete mode 100644 dev-java/logback-classic/logback-classic-1.2.11.ebuild create mode 100644 dev-java/slf4j-api/slf4j-api-1.7.36-r1.ebuild delete mode 100644 dev-java/xsdlib/xsdlib-2013.6.1.ebuild (limited to 'dev-java') diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz index 41dad6dc81aa..e41753f2c63a 100644 Binary files a/dev-java/Manifest.gz and b/dev-java/Manifest.gz differ diff --git a/dev-java/icu4j/Manifest b/dev-java/icu4j/Manifest index d5d7637e7546..ec366f871d69 100644 --- a/dev-java/icu4j/Manifest +++ b/dev-java/icu4j/Manifest @@ -1,3 +1,6 @@ +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 EBUILD icu4j-71.1.ebuild 6976 BLAKE2B edad2f317878150fb1ca1b2dc6a4efa02d7c0108909286397f4375ba59a9bb6fe6052036f2a6ac3963b9e7aec2e8bc42195235de48fd3369a61549669ebadc3a SHA512 a95dd47fc6eb4203a9774cc16af55326ebfc593c796bfc9ddd074e6cea257bdc6a4ac8cec59aaba01cb9d6fb7966bceddfce63952a9a2a78b91138a1e4d8f3c9 +EBUILD icu4j-72.1.ebuild 7270 BLAKE2B a0f9c1b8fcaa78bc540857dd51facc7caf77b3b47a07e8ff0bba0041f11551b047b61fe852dd33697d93466eebad197fdfde829e8e94a160c683c25fe2d9484e SHA512 bd10b670a46f3ce5985b95215da871ae5250fdfb986a4aa9740f1040102465be12b65397da69d8b638b5465dd26b6cf9d406700a33e140bd00f323d49320ee94 MISC metadata.xml 408 BLAKE2B 8d73c37540d7adce52f3f5b316d7c322bdbbacc3fd2dea5e361352bff8efb3ec2a5b49ca4e7b97d15e8c668e52fe32f90ec1972bae78b9b3b3354973d8fc992a SHA512 eb7df20108b1ebcbf5dd9edd72c2089df2c675028824b4c04976e35b4c306dd459a40aa45b0ac7da5392552657cd1dbaf2fb17b269f9d58110a6ac40dc377b0c 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 +} diff --git a/dev-java/logback-classic/Manifest b/dev-java/logback-classic/Manifest index da7a2b09a7e9..42b706fdab49 100644 --- a/dev-java/logback-classic/Manifest +++ b/dev-java/logback-classic/Manifest @@ -1,3 +1,3 @@ DIST logback-1.2.11.tar.gz 4133000 BLAKE2B 09ef74fb92c5a3f10a9ed401b0cc687f9dbc05daf17646f96fa216aefef1a150434b7ba4ca25b6ed751c01dab906c56be5c65908ca9baf6e29cc1a9f55e14773 SHA512 2482f7af5696034e9b412fb3d37be7f0bc7c8a2549808f88b0ae693c0be4f95c41acd82649f76a4572ea5c0bb9f8d7a78b9a64d7af6dd76a0b1b926d7419c084 -EBUILD logback-classic-1.2.11.ebuild 3249 BLAKE2B e1e2f1a125b97138cd71b6ef1f90447108f6b2ef92f9285d1aaa3d7bbad79684890c22f927fbf5d0a33c195c8420fe40ba60c35b8f3cf6340f1cf161bd38e996 SHA512 b702fd612f7e2a7275aa2578a3d59ced338ad31b6af91cb63bf12912c49e9bbc118d3e25e25a446c4b8ac2a0ec1b8c5f0ad70c1a0b53bc9a661dd2834c964c72 +EBUILD logback-classic-1.2.11-r1.ebuild 3257 BLAKE2B d3b412b78a91e56ccc5b91746d6a604fa1450fa6edd04535b75e558e1d25681f4d774485c50ace1848c3cdfab66dd954fb826ccdcf367b2ebf6a87cc789e7ec4 SHA512 0c0f1066c28106101e806eb2564b00f93f7ab15228ec2eb8499e7306347908d63a38cbd76ef804174b29dfd16777c762fd5da5286cd26dd9c3b659918223b3f5 MISC metadata.xml 413 BLAKE2B 3ae8c9f27dadfe978d070866e0c0368b89b8532f2aa6fbd3e3fab9e057320e1c6b5c2bc7367cc191e189acaa88384a0b86741d674d1cd711d4dd5ee8a29c9662 SHA512 7c2739ff8e878766487804fabcb39cda969c81e47af7fd51ffebfcb85dbdec10b7eef85b1d9c873561456e1592f6cdb8f82fbb4233abee1f43f323a1c10f9ba2 diff --git a/dev-java/logback-classic/logback-classic-1.2.11-r1.ebuild b/dev-java/logback-classic/logback-classic-1.2.11-r1.ebuild new file mode 100644 index 000000000000..10c52f8637b1 --- /dev/null +++ b/dev-java/logback-classic/logback-classic-1.2.11-r1.ebuild @@ -0,0 +1,96 @@ +# 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/qos-ch/logback/archive/v_1.2.11.tar.gz --slot 0 --keywords "~amd64" --ebuild logback-classic-1.2.11.ebuild + +EAPI=8 + +# No tests, too many dependencies missing +JAVA_PKG_IUSE="doc source" +MAVEN_ID="ch.qos.logback:logback-classic:1.2.11" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="logback-classic module" +HOMEPAGE="https://logback.qos.ch" +SRC_URI="https://github.com/qos-ch/logback/archive/v_${PV}.tar.gz -> logback-${PV}.tar.gz" + +LICENSE="EPL-1.0 LGPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +# Common dependencies +# POM: pom.xml +# ch.qos.logback:logback-core:1.2.11 -> >=dev-java/logback-core-1.2.11:0 +# javax.mail:mail:1.4 -> !!!groupId-not-found!!! +# javax.servlet:javax.servlet-api:3.1.0 -> !!!groupId-not-found!!! +# org.codehaus.janino:janino:3.0.6 -> >=dev-java/janino-3.1.6:0 +# org.slf4j:slf4j-api:1.7.32 -> >=dev-java/slf4j-api-1.7.32:0 + +CP_DEPEND=" + dev-java/janino:0 + dev-java/javax-mail:0 + ~dev-java/logback-core-${PV}:0 + dev-java/reflections:0 + dev-java/slf4j-api:1 + java-virtuals/servlet-api:3.1 +" + +# Compile dependencies +# POM: pom.xml +# test? ch.qos.cal10n.plugins:maven-cal10n-plugin:0.8.1 -> !!!groupId-not-found!!! +# test? ch.qos.logback:logback-core:1.2.11 -> >=dev-java/logback-core-1.2.11:0 +# test? com.icegreen:greenmail:1.3 -> !!!groupId-not-found!!! +# test? dom4j:dom4j:1.6.1 -> !!!groupId-not-found!!! +# test? junit:junit:4.10 -> >=dev-java/junit-4.13.2:4 +# test? log4j:log4j:1.2.17 -> >=dev-java/log4j-1.2.17:0 +# test? org.apache.felix:org.apache.felix.main:2.0.2 -> !!!groupId-not-found!!! +# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2 +# test? org.mockito:mockito-core:2.7.9 -> >=dev-java/mockito-4.4.0:4 +# test? org.slf4j:integration:1.7.32 -> !!!artifactId-not-found!!! +# test? org.slf4j:jul-to-slf4j:1.7.32 -> !!!artifactId-not-found!!! +# test? org.slf4j:log4j-over-slf4j:1.7.32 -> !!!artifactId-not-found!!! +# test? org.slf4j:slf4j-api:1.7.32 -> >=dev-java/slf4j-api-1.7.32:0 +# test? org.slf4j:slf4j-ext:1.7.32 -> >=dev-java/slf4j-ext-1.7.36:0 +# test? org.subethamail:subethasmtp:2.1.0 -> !!!groupId-not-found!!! + +# Restricting to jdk:1.8 +# src/main/java/ch/qos/logback/classic/spi/PackagingDataCalculator.java:20: error: cannot find symbol +# import sun.reflect.Reflection; +# ^ +# https://jira.qos.ch/browse/LOGBACK-1343 +DEPEND=" + virtual/jdk:1.8 + ${CP_DEPEND}" +# test? ( +# dev-java/dom4j:1 +# dev-java/assertj-core:2 +# dev-java/log4j-12-api:2 +# dev-java/logback-core:0 +# dev-java/mockito:4 +# dev-java/slf4j-api:0 +# dev-java/slf4j-ext:0 +# ) +# " + +RDEPEND=" + virtual/jre:1.8 + ${CP_DEPEND}" + +DOCS=( ../README.md ) + +S="${WORKDIR}/logback-v_${PV}/logback-classic" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="dom4j-1,logback-core,junit-4,log4j,assertj-core-2,mockito-4,slf4j-api,slf4j-ext" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/logback-classic/logback-classic-1.2.11.ebuild b/dev-java/logback-classic/logback-classic-1.2.11.ebuild deleted file mode 100644 index 2759bdc02256..000000000000 --- a/dev-java/logback-classic/logback-classic-1.2.11.ebuild +++ /dev/null @@ -1,96 +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/qos-ch/logback/archive/v_1.2.11.tar.gz --slot 0 --keywords "~amd64" --ebuild logback-classic-1.2.11.ebuild - -EAPI=8 - -# No tests, too many dependencies missing -JAVA_PKG_IUSE="doc source" -MAVEN_ID="ch.qos.logback:logback-classic:1.2.11" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="logback-classic module" -HOMEPAGE="http://logback.qos.ch" -SRC_URI="https://github.com/qos-ch/logback/archive/v_${PV}.tar.gz -> logback-${PV}.tar.gz" - -LICENSE="EPL-1.0 LGPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Common dependencies -# POM: pom.xml -# ch.qos.logback:logback-core:1.2.11 -> >=dev-java/logback-core-1.2.11:0 -# javax.mail:mail:1.4 -> !!!groupId-not-found!!! -# javax.servlet:javax.servlet-api:3.1.0 -> !!!groupId-not-found!!! -# org.codehaus.janino:janino:3.0.6 -> >=dev-java/janino-3.1.6:0 -# org.slf4j:slf4j-api:1.7.32 -> >=dev-java/slf4j-api-1.7.32:0 - -CP_DEPEND=" - dev-java/janino:0 - dev-java/javax-mail:0 - dev-java/logback-core:0 - dev-java/reflections:0 - dev-java/slf4j-api:0 - java-virtuals/servlet-api:3.1 -" - -# Compile dependencies -# POM: pom.xml -# test? ch.qos.cal10n.plugins:maven-cal10n-plugin:0.8.1 -> !!!groupId-not-found!!! -# test? ch.qos.logback:logback-core:1.2.11 -> >=dev-java/logback-core-1.2.11:0 -# test? com.icegreen:greenmail:1.3 -> !!!groupId-not-found!!! -# test? dom4j:dom4j:1.6.1 -> !!!groupId-not-found!!! -# test? junit:junit:4.10 -> >=dev-java/junit-4.13.2:4 -# test? log4j:log4j:1.2.17 -> >=dev-java/log4j-1.2.17:0 -# test? org.apache.felix:org.apache.felix.main:2.0.2 -> !!!groupId-not-found!!! -# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2 -# test? org.mockito:mockito-core:2.7.9 -> >=dev-java/mockito-4.4.0:4 -# test? org.slf4j:integration:1.7.32 -> !!!artifactId-not-found!!! -# test? org.slf4j:jul-to-slf4j:1.7.32 -> !!!artifactId-not-found!!! -# test? org.slf4j:log4j-over-slf4j:1.7.32 -> !!!artifactId-not-found!!! -# test? org.slf4j:slf4j-api:1.7.32 -> >=dev-java/slf4j-api-1.7.32:0 -# test? org.slf4j:slf4j-ext:1.7.32 -> >=dev-java/slf4j-ext-1.7.36:0 -# test? org.subethamail:subethasmtp:2.1.0 -> !!!groupId-not-found!!! - -# Restricting to jdk:1.8 -# src/main/java/ch/qos/logback/classic/spi/PackagingDataCalculator.java:20: error: cannot find symbol -# import sun.reflect.Reflection; -# ^ -# https://jira.qos.ch/browse/LOGBACK-1343 -DEPEND=" - virtual/jdk:1.8 - ${CP_DEPEND}" -# test? ( -# dev-java/dom4j:1 -# dev-java/assertj-core:2 -# dev-java/log4j-12-api:2 -# dev-java/logback-core:0 -# dev-java/mockito:4 -# dev-java/slf4j-api:0 -# dev-java/slf4j-ext:0 -# ) -# " - -RDEPEND=" - virtual/jre:1.8 - ${CP_DEPEND}" - -DOCS=( ../README.md ) - -S="${WORKDIR}/logback-v_${PV}/logback-classic" - -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="dom4j-1,logback-core,junit-4,log4j,assertj-core-2,mockito-4,slf4j-api,slf4j-ext" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -src_install() { - default # https://bugs.gentoo.org/789582 - java-pkg-simple_src_install -} diff --git a/dev-java/slf4j-api/Manifest b/dev-java/slf4j-api/Manifest index 6fe5c7634429..3205aff3c61f 100644 --- a/dev-java/slf4j-api/Manifest +++ b/dev-java/slf4j-api/Manifest @@ -1,5 +1,6 @@ DIST slf4j-1.7.36.tar.gz 2276203 BLAKE2B 930de76047c694b4e566ba743ee90a2efb062358b03209137f686c4bf4ead122aa84c18b79615e5a67f1a890abdc1b8f70f62b7803f7b8e45c766ff8254836d4 SHA512 1384c771aa04d9d351854cf8ddeef66ee9f43df53890a05413c48c14cf1cb78a457bb4b2a6e2f064f1c1ab68b2eaa1d326fc03bb6b7c145915660a2c873692d0 DIST slf4j-2.0.3.tar.gz 1435478 BLAKE2B fec1a47882d3bbf508f4faed9cbf9448a23e9749c6c41f241c7e80654e0ce55211cec9228fcf0e666c997a4f24c5b96ad57dc076910e7f05704b02d0cf7db709 SHA512 0fb295f7942c2af8aebe2ecf544ef8326b8cc88de397ee6b37a10249b38150a506f62dcec614eee13519a299b30c6d2481dec3ea235d4b3e6a5241d12639bca6 +EBUILD slf4j-api-1.7.36-r1.ebuild 1447 BLAKE2B c98a974f8b80dd9c1f202c3ccfc4be9186fdc67f62ff5410e28f4752e208875682ec25a5d9f7b81c3dcf0456b7833df2f17477173f0acb02ccdf817c4d305a73 SHA512 31546f48158c501ae3acb3a6fdad166d0e585ba2dfb493cb16a50e1060e062ab863570d1f9faab7b6dcfb3ff83f0789a70b79be378b4706e65eb31bba1468dd2 EBUILD slf4j-api-1.7.36.ebuild 1447 BLAKE2B 2c0aba11678aa3a33b53580825da11dc3d45e27771fce1c57342d40047fd264d3b23b66ac3b31c681e4800a385c1c7d51500be269057f00f39c5652987f6cd8a SHA512 2255a6b81d7359000ecae352d6c03e4b6bc178c9b865d42ed74946fc483312e7738d7851d951f6b3b4d5099a10dc9f4cff4dab42e1151ac5d2d5ab90bb0c1ad3 EBUILD slf4j-api-2.0.3.ebuild 1147 BLAKE2B 82d343699e847112e644297b4b395c5f4361d4a6b3cb2df0cfe3bf7a7db8691f19a722f878badd3fe804852cddd80df11feb3770eec98c125c27c0fd322ae60d SHA512 80cf4969233b69cdd3385c478182141d8faea393e2060a3c542c1f58984a15c80e9a211d639cdad43e947207fd625a817d8b069818059d885d8a0f4df689962a MISC metadata.xml 369 BLAKE2B 9192191ce858eb2aae3d3600cf8214bcff21f386895b1a554c688d2e0e5d2632daec9e853afee31383819df09915f29bd6a5458aa888672c77a2c683258d1b94 SHA512 80db3e0ebb417b64355f1d8c72de25dceda46fe80d5614e255b6e59c0d5751207e9ade961dbe1f065e3cf162ca402e67d2b8ce597e0a4253a7eedfc27d35ae00 diff --git a/dev-java/slf4j-api/slf4j-api-1.7.36-r1.ebuild b/dev-java/slf4j-api/slf4j-api-1.7.36-r1.ebuild new file mode 100644 index 000000000000..cf71aac2aaed --- /dev/null +++ b/dev-java/slf4j-api/slf4j-api-1.7.36-r1.ebuild @@ -0,0 +1,62 @@ +# 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/qos-ch/slf4j/archive/v_1.7.36.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild slf4j-api-1.7.36.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.slf4j:slf4j-api:1.7.36" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="The slf4j API" +HOMEPAGE="https://www.slf4j.org" +SRC_URI="https://github.com/qos-ch/slf4j/archive/v_${PV}.tar.gz -> slf4j-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +DEPEND=" + >=virtual/jdk-1.8:* +" + +RDEPEND=" + >=virtual/jre-1.8:* +" +BDEPEND="app-arch/zip" + +DOCS=( LICENSE.txt ../README.md ) + +S="${WORKDIR}/slf4j-v_${PV}/${PN}" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" + +JAVA_TEST_EXCLUDES=( + # java.lang.InstantiationException - not run by upstream anyway + "org.slf4j.helpers.MultithreadedInitializationTest" +) + +src_prepare() { + default + java-pkg_clean +} + +src_compile() { + java-pkg-simple_src_compile + + # remove org/slf4j/impl/ from the jar file + zip -d ${PN}.jar org/slf4j/impl/\* || die "Failed to remove impl files" +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +} diff --git a/dev-java/xsdlib/Manifest b/dev-java/xsdlib/Manifest index ebaa24229512..b1f4bcd87d3f 100644 --- a/dev-java/xsdlib/Manifest +++ b/dev-java/xsdlib/Manifest @@ -1,5 +1,3 @@ DIST msv-2022.7.tar.gz 2594951 BLAKE2B fce006f4b845efcd930b7999ac00eaab06c404888eb73a6eeab6cfad616b4922271d2d682abc82f3be4c4f6a791aa14681f6e6bfebd2118ac3aa2bcba41fd1f8 SHA512 315342628f79c561883be0d966211dd81daae66a414dcc9bb5a87d86f97121d38b5835e9a6d1ac7c21ccff46040e53d3cabd32e9ea677c9ca4335a86c5259949 -DIST xsdlib-2013.6.1-sources.jar 274740 BLAKE2B 356c3e6005c26a1b63ea016a523140d93bb8c6a4c1952d60f5a881c92dd013e1691451be96e31b7c96c48e1f182e0224bceb712e230bb008ad97732a8e9ffdb6 SHA512 a4e308fae6a1116158ddbebfad0570f6cf1f840acb72de8bdd9414b363da78edf6aea2349f4ac7511b774a494f9e4c17c309f86aefc39b30421a1c86945302b0 -EBUILD xsdlib-2013.6.1.ebuild 916 BLAKE2B 9ebcd72e2473378b10ff552c20cd81f45b247d0805bfb6b1699aa39ebce4cb719d765de563255f2357af459915a47f3fe0d629c6f9dca077fb1d4f881f4e8899 SHA512 3e74a7762cb9c45874406d255b119642e0ee0eb7e8e73ff3bb6e742aa3fd320374fd0a402e50762ece98642c5161df1e39d317bf8bd4bdb481f654f3d106b0c4 EBUILD xsdlib-2022.7.ebuild 1989 BLAKE2B 553d5ee48ce279e0e7b903915fb978e615f5a091ff1426bf5eee384d4164848c8a66ef286a6f0bd675cd09f73b4479efebc6ea8881e36ae396a2ebbc9cd883b2 SHA512 f45bc5659cb212fde41242a422448cfb9573d431975f431a625388d4040aacb5628b249d1661595fde8a0a832a250fff7d2a8ff4f77105cfbb97c1913ce66d5e MISC metadata.xml 312 BLAKE2B fdf01de30bc8afcb14e04b660bc640ebe9ac26c764dda429615f5648357a119eff9d04abaa67c7afb112a29b3d83e6734f39ed7431e5478428ef4fe5fbfb737f SHA512 5fff6a60300076895c0ada9117e863a6ae69ae0e03f53404b15154b42d9097d3773ca5ebf9c9435732190cb739f696fdc33fd6e45486ba20c5ea200d4472eab7 diff --git a/dev-java/xsdlib/xsdlib-2013.6.1.ebuild b/dev-java/xsdlib/xsdlib-2013.6.1.ebuild deleted file mode 100644 index 44b1fa499ffa..000000000000 --- a/dev-java/xsdlib/xsdlib-2013.6.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="net.java.dev.msv:xsdlib:2013.6.1" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Sun XML Datatypes Library" -HOMEPAGE="http://msv.java.net/" -SRC_URI="https://repo1.maven.org/maven2/net/java/dev/msv/xsdlib/${PV}/xsdlib-${PV}-sources.jar" - -LICENSE="BSD Apache-1.1" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" - -CP_DEPEND="dev-java/relaxng-datatype:0" -BDEPEND="app-arch/unzip" -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:*" - -S="${WORKDIR}" - -JAVA_RESOURCE_DIRS="resources" - -src_prepare() { - default - mkdir resources || die - cp -r com resources || die - find "${JAVA_RESOURCE_DIRS}" -type f ! -name '*.properties' -exec rm -rf {} + || die -} -- cgit v1.2.3