From c69eea8c84cee05e6ba332fd1f39cfb6554d5726 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 Aug 2022 21:16:25 +0100 Subject: gentoo auto-resync : 01:08:2022 - 21:16:25 --- dev-java/Manifest.gz | Bin 53266 -> 53255 bytes dev-java/conversant-disruptor/Manifest | 2 - .../conversant-disruptor-1.2.19-r1.ebuild | 45 ----- dev-java/gson/Manifest | 2 - dev-java/gson/gson-2.8.8-r1.ebuild | 65 ------- dev-java/jackson-dataformat-xml/Manifest | 1 - .../jackson-dataformat-xml-2.13.3.ebuild | 110 ----------- dev-java/jctools-core/Manifest | 2 - dev-java/jctools-core/jctools-core-2.0.2.ebuild | 57 ------ dev-java/log4j-core/Manifest | 1 - dev-java/log4j-core/log4j-core-2.17.2.ebuild | 174 ------------------ dev-java/netty/Manifest | 1 - dev-java/netty/netty-4.1.35.ebuild | 201 --------------------- 13 files changed, 661 deletions(-) delete mode 100644 dev-java/conversant-disruptor/conversant-disruptor-1.2.19-r1.ebuild delete mode 100644 dev-java/gson/gson-2.8.8-r1.ebuild delete mode 100644 dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.3.ebuild delete mode 100644 dev-java/jctools-core/jctools-core-2.0.2.ebuild delete mode 100644 dev-java/log4j-core/log4j-core-2.17.2.ebuild delete mode 100644 dev-java/netty/netty-4.1.35.ebuild (limited to 'dev-java') diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz index 4ea1bee37da1..3911492e3d43 100644 Binary files a/dev-java/Manifest.gz and b/dev-java/Manifest.gz differ diff --git a/dev-java/conversant-disruptor/Manifest b/dev-java/conversant-disruptor/Manifest index abf3f9bdeb17..ee9bc2d09f03 100644 --- a/dev-java/conversant-disruptor/Manifest +++ b/dev-java/conversant-disruptor/Manifest @@ -1,5 +1,3 @@ -DIST conversant-disruptor-1.2.19.tar.gz 171364 BLAKE2B 2ac7a42835f22ae7361f156b9cb9853cea39b757c9869847b9b4c526e3e04e46ae8b7ca90c1c38bd3fa57f6925bfc95767235fb4640e7ecf1e62044973b53932 SHA512 f475507e2ab2e4260ec04b699c42115fa917f3df9dc67bbf944c96441e58fff1ab8ba63beb97dbc77d3b76f65b6b116d84b17a1eb4b40d58dedbc029e81e39ee DIST conversant-disruptor-1.2.20.tar.gz 171469 BLAKE2B 5c43a5ffad0dacf07605cab6bba2ab1d44f7204d1e24405a4f8f8b09a3edbee79bc5ae4ba28a0a8cb1440db15b6ec0143e3348c0ff42b4256c1267e87d36fefc SHA512 1e483642213a3780d24cd7b801d6d5d274df9bac075f88bdfc8026173d87e4b332e7cb6c174dc804d27670b89dc9abab3a6f93b663dfbbb3ecc4631266351f0f -EBUILD conversant-disruptor-1.2.19-r1.ebuild 1291 BLAKE2B 2bc5ca4d984836415961f6060911a76e0bf3fb11347d4076726c5f55eab5abdb524b7116f7dca48a4f5d7333b76d9c76a635e769e7c548ba196aa1d2ad18e5e2 SHA512 089076214d1aace12c37068bb9e6ecea208a2642786fffb9ef05f0b26712af564a990d5b168eeaf371b18caeedf93f855c626ca61a172fc7bd9eafe86180ece7 EBUILD conversant-disruptor-1.2.20.ebuild 1724 BLAKE2B 96d8c1a6d52cf1fd35c130a5334fb75df79beb79ee74e0589b142ee1aaf8f34081b2ae3a62ae7f1828772c214aa953e505a22c8b72cc5aec4e00ad89fe8d423f SHA512 58fc58a73a1e033c600288c262eb1b221f002b35a2027f561cb8fd335db770ca7a935e275e5437e5748ec59925bd0b5c84c568eeb178ed6615d1e444bd167a99 MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/conversant-disruptor/conversant-disruptor-1.2.19-r1.ebuild b/dev-java/conversant-disruptor/conversant-disruptor-1.2.19-r1.ebuild deleted file mode 100644 index f16f11a1f119..000000000000 --- a/dev-java/conversant-disruptor/conversant-disruptor-1.2.19-r1.ebuild +++ /dev/null @@ -1,45 +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 disruptor-1.2.19/pom.xml --download-uri https://github.com/conversant/disruptor/archive/refs/tags/1.2.19.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild conversant-disruptor-1.2.19.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.conversantmedia:disruptor:1.2.19" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Conversant Disruptor - very high throughput Java BlockingQueue" -HOMEPAGE="https://github.com/conversant/disruptor" -SRC_URI="https://github.com/conversant/disruptor/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Compile dependencies -# POM: disruptor-${PV}/pom.xml -# test? junit:junit:4.13 -> >=dev-java/junit-4.13.2:4 -# test? org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0 - -DEPEND=" - >=virtual/jdk-11:* - test? ( - dev-java/slf4j-api:0 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:* -" - -S="${WORKDIR}/disruptor-${PV}" - -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4,slf4j-api" -JAVA_TEST_SRC_DIR="src/test/java" diff --git a/dev-java/gson/Manifest b/dev-java/gson/Manifest index 654c79c4262a..bc9ddc9d5f92 100644 --- a/dev-java/gson/Manifest +++ b/dev-java/gson/Manifest @@ -1,6 +1,4 @@ -DIST gson-2.8.8-sources.tar.gz 393941 BLAKE2B ebdd1088a069eea58e5ea4e2eddea0d42064c53f7284778b1b7217c8bc7abeb7e14350e19d838af1d94f78c5c38aca6de0f37674b022f0e528ed65eef803c3f1 SHA512 f90ad679c99c5e9a6ee9e397e59ab1d7d94a9c82366902b808addc40ebbab101fdba7fc83e4666c4f35e52d8b127e6f901e65072a7de210496466074dcd043c5 DIST gson-2.9.0.tar.gz 350309 BLAKE2B f17f7a7410744b14cb79c979b35c7f3c46a3d9e922722c41893b872013319a1bd06d81526e8380055aafa47524bfcc50e02629d1c5994e1f9f81df4391a9c651 SHA512 25e57f0e3cbff7e4d33070d250ba4ecf1c659380bce07863c52a3b30edd0ba88c923e55b0f38098b5ce3827a74a21c4d41f9de02f6a84da771ae39fd823667d3 -EBUILD gson-2.8.8-r1.ebuild 1745 BLAKE2B 6df1694112b6a71a33b7e96cb84d227cd96a69e6f55c3a964e3f4cbb585e96f9f457900e47260fb8204e7bdaf5e771f4dd9833090e9f22a63388e224e9fb4d7f SHA512 af2f7b14c43f914a91ab4285c1f702388fc45d9d78bcf9fdb65b918436bc4cfda135269168255df20813c24cfa32c38ec4eabf5a49fc6e22b2c6cd6e5bc3c063 EBUILD gson-2.9.0-r1.ebuild 2095 BLAKE2B 71415fd6ec715372eddec83dd7ee27e84ba2bbf06d9e0cd206d3ebbccbcd8c90ea310befb4730da41a495609903049aef94bbd0d24125a6c0cc3e7f37b31f34a SHA512 217c6663d07526a44e9c23ffee344c3fd87653da8c14b359f7bb927eb78e564071c7678e55bf28c6b6baf4f019c2046365fffa1041d022c67af1814b71b98436 EBUILD gson-2.9.0-r2.ebuild 2056 BLAKE2B 7e7f9c4f49c6a38f22aa071b0a79adc7e8b995833707d0aebe019f7e200ef9f2de245cb848307460bcf50ea391b044b75e0e53496ce058ac188aafd873c8e20b SHA512 b6bda86b5b96bcd96e9b9260916b01f01895cfd04e835ff96c8cb66c2b1e9740601e5eea5f62b7eb9b30b943eba5e626697de66f3ab2f6352f23f280ce5951ed MISC metadata.xml 630 BLAKE2B e4732be361d93273cb3c6084e4fa596def785aa6b0cd747f3cc65b9d9b693666e60188c6b30c0e7a234cca56239b9d22c14eaf21af7958f818de3a6b4b246729 SHA512 063d42b12383dde777dfdea7fb884423bdf3e377aa585b4b46d6d2581e81cd943e0a444792997c87d3443fa4516d211d9c3f78e5702b7376cda63718f14f6504 diff --git a/dev-java/gson/gson-2.8.8-r1.ebuild b/dev-java/gson/gson-2.8.8-r1.ebuild deleted file mode 100644 index a69ff0ad0aab..000000000000 --- a/dev-java/gson/gson-2.8.8-r1.ebuild +++ /dev/null @@ -1,65 +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 gson/pom.xml --download-uri https://github.com/google/gson/archive/gson-parent-2.8.8.tar.gz --slot 2.6 --keywords "~amd64 ~ppc64 ~x86" --ebuild gson-2.8.8.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.google.code.gson:gson:2.8.8" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Gson JSON library" -HOMEPAGE="https://github.com/google/gson" -SRC_URI="https://github.com/google/${PN}/archive/${PN}-parent-${PV}.tar.gz -> ${P}-sources.tar.gz" - -LICENSE="Apache-2.0" -SLOT="2.6" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Compile dependencies -# POM: ${PN}/pom.xml -# test? com.github.wvengen:proguard-maven-plugin:2.4.0 -> !!!groupId-not-found!!! -# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 - -DEPEND=" - virtual/jdk:11 -" - -RDEPEND=" - >=virtual/jre-1.8:* -" - -S="${WORKDIR}/${PN}-${PN}-parent-${PV}/${PN}" - -JAVA_SRC_DIR=( - "src/main/java" - "src/main/java-templates" -) - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS=( - "src/test/resources" -) - -JAVA_TEST_EXCLUDES=( - # requires the test class to be obfuscated using proguard which we do not have atm - "com.google.gson.functional.EnumWithObfuscatedTest" -) - -src_prepare() { - default - sed -i "s/\${project.version}/${PV}/g" src/main/java-templates/com/google/gson/internal/GsonBuildConfig.java || die "Failed to set version" -} - -src_test() { - local vm_version="$(java-config -g PROVIDES_VERSION)" - if [[ "${vm_version}" == "1.8" ]] ; then - JAVA_TEST_EXCLUDES+=( "com.google.gson.JsonArrayTest" ) - fi - java-pkg-simple_src_test -} diff --git a/dev-java/jackson-dataformat-xml/Manifest b/dev-java/jackson-dataformat-xml/Manifest index 2910b63b1178..598fac3c140d 100644 --- a/dev-java/jackson-dataformat-xml/Manifest +++ b/dev-java/jackson-dataformat-xml/Manifest @@ -1,4 +1,3 @@ DIST jackson-dataformat-xml-2.13.3.tar.gz 3201473 BLAKE2B 90f6b98325e3ae43e7ba560b077ee8fc8e5ad5004fd23b7c10a2c2a3ec7a674b700b80766690d2442820f87698fa5e33c440c2aa12cd521b7566e78eca50bbaa SHA512 52e26e1a398d90f75ef61d074ed1d149b9f13555f1878703b3148ed008f29f8802586a6020f3c1427a748a73b9a4ca56d86ffd769cf6cb7317a69e039345eefa EBUILD jackson-dataformat-xml-2.13.3-r1.ebuild 3892 BLAKE2B 8992fdea96019a8d1ddc92c7ca266835071f8e14f6f0fb73ea36d55c9137e4f58712ec66e9f9333faac7c0fa92b36becc504171eddaddeb44091abaac81570fc SHA512 4465715395e23a878b9a9b334ffc419e56edf7a1454cd58295f48cd7801cee60ef56f7869514c901c6bd290d123410a0410b333de661cdf2a23da530d32a26df -EBUILD jackson-dataformat-xml-2.13.3.ebuild 3892 BLAKE2B 46afcafa1c09722bd77b5c7bbc33c586deb219c9f35c561efe50067a6fac3e580c3c0c5f6678dd3052b2e3048055fd55e4e062b1b44beacc9a0a05e9cb33f060 SHA512 56f33b35d344dace59ceefbb25a14059f5dfe90723695066b300b0cb1b997a6d86258b3d869238a604a6f1d352aecdbdc9fec6b6b3c742b9e48070f55b44839d MISC metadata.xml 487 BLAKE2B 0e5e73be66b890aab37fce8ccd162c168c7cff415c418a30f5cdcc76624499633abfd366f86ece75de208b981a03364566659e37c2b3a34ad90a01f3577a707a SHA512 b920c1d3b8d8f6023df6c100ba4b36282c7cbfdad4a4690055d70cd3dac8d0da91f236a38565bee798342dd94c49cf2c9ce125282a7e5fd818321e28d288b3f1 diff --git a/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.3.ebuild b/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.3.ebuild deleted file mode 100644 index 4cf94ba87a41..000000000000 --- a/dev-java/jackson-dataformat-xml/jackson-dataformat-xml-2.13.3.ebuild +++ /dev/null @@ -1,110 +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/FasterXML/jackson-dataformat-xml/archive/jackson-dataformat-xml-2.13.3.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jackson-dataformat-xml-2.13.3.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.3" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Data format extension for Jackson" -HOMEPAGE="https://github.com/FasterXML/jackson-dataformat-xml" -SRC_URI="https://github.com/FasterXML/${PN}/archive/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Common dependencies -# POM: pom.xml -# com.fasterxml.jackson.core:jackson-annotations:2.13.3 -> >=dev-java/jackson-annotations-2.13.3:2 -# com.fasterxml.jackson.core:jackson-core:2.13.3 -> >=dev-java/jackson-core-2.13.3:0 -# com.fasterxml.jackson.core:jackson-databind:2.13.3 -> >=dev-java/jackson-databind-2.13.3:0 -# com.fasterxml.woodstox:woodstox-core:6.2.7 -> >=dev-java/woodstox-core-6.2.8:0 -# org.codehaus.woodstox:stax2-api:4.2.1 -> >=dev-java/stax2-api-4.2.1:0 - -CP_DEPEND=" - ~dev-java/jackson-annotations-${PV}:2 - ~dev-java/jackson-core-${PV}:0 - ~dev-java/jackson-databind-${PV}:0 - >=dev-java/stax2-api-4.2.1-r1:0 - dev-java/woodstox-core:0 -" - -# Compile dependencies -# POM: pom.xml -# test? com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:2.13.3 -> >=dev-java/jackson-module-jakarta-xmlbind-2.13.3:0 -# test? com.sun.xml.stream:sjsxp:1.0.2 -> >=dev-java/sjsxp-1.0.2:0 -# test? jakarta.xml.bind:jakarta.xml.bind-api:3.0.1 -> >=dev-java/jaxb-api-3.0.1:3 -# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 - -DEPEND=" - >=virtual/jdk-11:* - ${CP_DEPEND} - test? ( - ~dev-java/jackson-module-jakarta-xmlbind-${PV}:0 - dev-java/jaxb-api:3 - dev-java/sjsxp:0 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND}" - -DOCS=( README.md release-notes/{CREDITS,VERSION}-2.x ) - -S="${WORKDIR}/${PN}-${P}" - -JAVA_SRC_DIR=( "src/main/java" "src/moditect" ) -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="jackson-module-jakarta-xmlbind,sjsxp,jaxb-api-3,junit-4" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -src_prepare() { - java-pkg-2_src_prepare - - sed -e 's:@package@:com.fasterxml.jackson.dataformat.xml:g' \ - -e "s:@projectversion@:${PV}:g" \ - -e 's:@projectgroupid@:com.fasterxml.jackson.dataformat:g' \ - -e "s:@projectartifactid@:${PN}:g" \ - "${JAVA_SRC_DIR}/com/fasterxml/jackson/dataformat/xml/PackageVersion.java.in" \ - > "${JAVA_SRC_DIR}/com/fasterxml/jackson/dataformat/xml/PackageVersion.java" || die -} - -src_test() { - pushd src/test/java || die - local JAVA_TEST_RUN_ONLY=$(find * -name "*Test*.java" \ - ! -wholename "**/failing**/*.java" \ - ! -name "*TestBase.java" ) - popd - - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - - # The same failure under openjdk-17 occurs upstream (running 'mvn test') - - # 1) testCollection(com.fasterxml.jackson.dataformat.xml.lists.ListAsObjectTest) - # com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Failed to call `setAccess()` on Field 'first' due to - # `java.lang.reflect.InaccessibleObjectException`, problem: Unable to make field transient java.util.LinkedList$Node - # java.util.LinkedList.first accessible: module java.base does not "opens java.util" to unnamed module @42bb2aee - - local vm_version="$(java-config -g PROVIDES_VERSION)" - if ver_test "${vm_version}" -ge "17" ; then - JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.util=ALL-UNNAMED ) - fi - - java-pkg-simple_src_test -} - -src_install() { - default # https://bugs.gentoo.org/789582 - java-pkg-simple_src_install -} diff --git a/dev-java/jctools-core/Manifest b/dev-java/jctools-core/Manifest index b2328d8f88b3..831e1444e42b 100644 --- a/dev-java/jctools-core/Manifest +++ b/dev-java/jctools-core/Manifest @@ -1,7 +1,5 @@ DIST jctools-3.1.0.tar.gz 4204148 BLAKE2B 88f8f5395470072571de64ee3d696e90c1fbf22a6e9c1424463bfb8b497dd3d47f8d0fcc9a039acec8380ac52a3d445789257d5a1071e49e6963c59d156065e2 SHA512 bf69387732dea043e6e5fa44fe60a5f80ef5ae9d32ebb39ac16353e5bd82502b3b6e5564a8bd9f3b8ad073a95ff984ae55133884ebeea9d0b9a777c488af2a74 DIST jctools-3.3.0.tar.gz 4214717 BLAKE2B c9c5f5897ebf8bb7ac439b969f372c45b7652517cbc5369c07fe80d11f779eebe7fe5ffb5d93a18fe3df5d9ca9adf3cee7268c8c6ed962fccb4d84f5b0451c4b SHA512 ce212abacca6137a133f7a4e94370442d00bf73794fa7b9ce440631701a9a2fca31c4dda05e2a768fcf28f75e84f2a7f318a936e429c7f4ed20daa7b79d11a4a -DIST jctools-core-2.0.2.tar.gz 4136573 BLAKE2B 6ca4c276422b24b18256b35606b6e59e8be53b77fe0b757e4f46dc4e0bdab0ea8fbb8c58e84794c689aa1df29a80aa847b6baf7cda430f2657720ecb5d60e99f SHA512 734905d6847664a08557fa9807766bfe2cd57e9562f1dc0d908c9fffc627c1cb7576ac079715004da9a1f2ee958c8373caf60c110ef3de8f7da5bb04775f6f7f -EBUILD jctools-core-2.0.2.ebuild 2134 BLAKE2B 394965b73740c75bf5578c02fdc035efa3e719501fa7452ae6da7e0d51bb11994def69e379623900c315de47a4e8147d1dd5cc6acaccda5b2188c174fb115f9d SHA512 6e5f6f1514a9bdbdff75dba29ca34553dd2d781c134579670195edbc70d702d34411b069ef353d81390dba47f23b81bfc960ca973b9eb75de68ba2ddd8d56695 EBUILD jctools-core-3.1.0.ebuild 2186 BLAKE2B e9949b3184c3b7a70efadf81b3c2181b7aeeb445281cc733d83ba3f109c5cdda5137d97ee62fe5f73164832df221145b79bdb93f15ce13a17caf81144cf64571 SHA512 2c16f8b53b16f67b63ab7e3e7b9ec547e5acc17e19250379415457e6d3992953158c79a95158ad9a32ff98947c82b0addc566d880c6a08d731f881a110415984 EBUILD jctools-core-3.3.0.ebuild 1997 BLAKE2B 02c25bc251787f5b99e4ac4ed460e0875d187a388929ba42a522f491e6948110cb4788b969dd9af94e11679b8368188cc4c7fc3777554764ad0dcb3bead1630d SHA512 020fae13b989f623b512f42a51050279ef056a5d65defcddf7e80edfc47dec5e6e45a1ebfbbf4db6bbaef590b853678f14de6e3233cc42640e3ef928170ef2db MISC metadata.xml 305 BLAKE2B 4ac1a7216894d3a7be6d9b4bbc034c2cb571ce0e9ec4f401eb4921f9c56b00296494be04d33b052d7f89684ac9a8d9b80385f7b33d7cb0a92b2ddb4bcc323835 SHA512 3ce5145f2b40c8a5bc7cd89c14ce33d6d194809ab70bec23c0726636ed516693f3cfdfe231e79fc1e3f3591ad950ff27f2632545fd69213a878be1b27d6f1f9d diff --git a/dev-java/jctools-core/jctools-core-2.0.2.ebuild b/dev-java/jctools-core/jctools-core-2.0.2.ebuild deleted file mode 100644 index 825bc561d7d7..000000000000 --- a/dev-java/jctools-core/jctools-core-2.0.2.ebuild +++ /dev/null @@ -1,57 +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/JCTools/JCTools/archive/refs/tags/v2.0.2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jctools-core-2.0.2.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.jctools:jctools-core:2.0.2" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java Concurrency Tools Core Library" -HOMEPAGE="https://jctools.github.io/JCTools/" -SRC_URI="https://github.com/JCTools/JCTools/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Compile dependencies -# POM: pom.xml -# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 -# test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!! - -DEPEND=">=virtual/jdk-1.8:* - test? ( dev-java/hamcrest-library:1.3 )" - -RDEPEND=">=virtual/jre-1.8:*" - -DOCS=( - ../{LICENSE,{README,RELEASE-NOTES}.md} - ../resources/'1977 - Lamport - Concurrent Reading and Writing.pdf' - ../resources/'2010 - Pisa - SPSC Queues on Shared Cache Multi-Core Systems.pdf' - ../resources/'2011 - Dice - MultiLane - A Concurrent Blocking Multiset.pdf' - ../resources/'2011 - Technion - CAFE - Scalable Task Pools with Adjustable Fairness and Contention.pdf' - ../resources/'2012 - Junchang- BQueue- Efficient and Practical Queuing.pdf' - ../resources/'2012 - Salzburg - Fast and Scalable k-FIFO Queues.pdf' - ../resources/'2012 - Technion - SALSA - NUMA-aware Algorithm for Producer-Consumer Pools.pdf' - ../resources/'2013 - Afek - Fast Concurrent Queues for x86 Processors.pdf' - ../resources/'2013 - Salzburg - Distributed Queues in Shared Memory.pdf' - ../resources/'2014 - Afek - Fence-Free Work Stealing on Bounded TSO Processors.pdf' -) - -S="${WORKDIR}/JCTools-${PV}/jctools-core" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4,hamcrest-library-1.3" -JAVA_TEST_SRC_DIR="src/test/java" - -src_install() { - default # https://bugs.gentoo.org/789582 - java-pkg-simple_src_install -} diff --git a/dev-java/log4j-core/Manifest b/dev-java/log4j-core/Manifest index 9193f680e01a..dd2b08f7b364 100644 --- a/dev-java/log4j-core/Manifest +++ b/dev-java/log4j-core/Manifest @@ -1,6 +1,5 @@ DIST apache-log4j-2.17.2-src.tar.gz 11680029 BLAKE2B 19baf31f4e00f0572fad810177d52bf3376f73a47a70ea251ce60a198f4bb322e6e97691f23b1ebb78e29f4eb6f0a36093bd2c6cb558486841d569b601d11015 SHA512 ae09c3af8662fcf5fdc4e7c7dd298e91ec85e90272b8247ce4ee60c7d4ecd48a4cd294fc9e51c0b307fbb58c677e61e31527eab4085debcc9b40919af0920176 DIST apache-log4j-2.18.0-src.tar.gz 11748446 BLAKE2B c11a5c7cb5be77fd27504b93962c5493f92475e759a575c5536b674a7e8116d4f9840bd2eb3e95156c257ff046f0e3ec437960b0f5ca01f2ddceb509c49aac1f SHA512 104eb8dbd35d3166a0d49190b2e3fdf981b864d21ed47d84f16acd417b943a41fbafa445b2c38ae8cdc494da6af8746ecc3a0db4795f45ce427344659cffae7b EBUILD log4j-core-2.17.2-r1.ebuild 8550 BLAKE2B d60dca70b9c62de3320543df7313ae3f1c523107f60e0a99ffaa48872058fe79054b2486936a394b665915af52464c77c83226159d7acdc42f7f703473745938 SHA512 5edfa502777e147684afc7b804b77ab7ba3c602ced5b04f501e8ce0b86f7cdb873821cff64eebdddbf44485d6c7c1d112b73a16bd0f26829bab50c06844d20b2 -EBUILD log4j-core-2.17.2.ebuild 8550 BLAKE2B 429e7da14c9aef21fb613522f9a240ae9f731f776a5c1c0b894da7b8f3176f6d7c0ec0dd83ff63c66520e4ecf0c1511bbf94ce58a979fb71f4aa5b4bec262903 SHA512 a13d5761ceabf1c307f82f715e9c71ba2d68135859fdc5c3419e572d2ca293f0c2bf1efbc61b0a0d55dc054b60678d9f1c9b79cf29cb668b7eb187b137036dc6 EBUILD log4j-core-2.18.0.ebuild 8539 BLAKE2B 6675a0dfe0463d16058f52eb9715ff4f5535156f8c66df0b8c63c5c44b429a6e109779196759136a93c4d1dff0938e68b84251289cef9599314a4f49c2ecf479 SHA512 0ef6883a0b7a8526408537b57fad56d4bed7bcf21448979ea36572953fd4c72d17f5aa2b7ba335878f9fb8ee10caefdf75f22355757a032e95654fc15b32eacd MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/log4j-core/log4j-core-2.17.2.ebuild b/dev-java/log4j-core/log4j-core-2.17.2.ebuild deleted file mode 100644 index 019860e2e92a..000000000000 --- a/dev-java/log4j-core/log4j-core-2.17.2.ebuild +++ /dev/null @@ -1,174 +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 log4j-core/pom.xml --download-uri mirror://apache/logging/log4j/2.17.2/apache-log4j-2.17.2-src.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild log4j-core-2.17.2.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.logging.log4j:log4j-core:2.17.2" -# JAVA_TESTING_FRAMEWORKS="junit-vintage junit-jupiter" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="The Apache Log4j Implementation" -HOMEPAGE="https://logging.apache.org/log4j/2.x/" -SRC_URI="mirror://apache/logging/log4j/${PV}/apache-log4j-${PV}-src.tar.gz" - -LICENSE="Apache-2.0" -SLOT="2" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# We don't have junit-vintage and junit-jupiter -RESTRICT="test" - -# Common dependencies -# POM: ${PN}/pom.xml -# com.conversantmedia:disruptor:1.2.15 -> >=dev-java/conversant-disruptor-1.2.19:0 -# com.fasterxml.jackson.core:jackson-core:2.13.1 -> >=dev-java/jackson-core-2.13.2:0 -# com.fasterxml.jackson.core:jackson-databind:2.13.1 -> >=dev-java/jackson-databind-2.13.2:0 -# com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.1 -> >=dev-java/jackson-dataformat-xml-2.13.2:0 -# com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.1 -> >=dev-java/jackson-dataformat-yaml-2.13.2:0 -# com.fasterxml.woodstox:woodstox-core:6.2.8 -> >=dev-java/woodstox-core-6.2.8:0 -# com.lmax:disruptor:3.4.4 -> >=dev-java/lmax-disruptor-3.4.4:0 -# com.sun.mail:javax.mail:1.6.2 -> !!!suitable-mavenVersion-not-found!!! -# org.apache.commons:commons-compress:1.21 -> >=dev-java/commons-compress-1.21:0 -# org.apache.commons:commons-csv:1.9.0 -> >=dev-java/commons-csv-1.9.0:0 -# org.apache.kafka:kafka-clients:1.1.1 -> >=dev-java/kafka-clients-1.1.1:0 -# org.apache.logging.log4j:log4j-api:2.17.2 -> >=dev-java/log4j-api-2.17.2:2 -# org.fusesource.jansi:jansi:2.4.0 -> >=dev-java/jansi-2.4.0:2 -# org.jctools:jctools-core:1.2.1 -> >=dev-java/jctools-core-2.0.2:0 -# org.slf4j:slf4j-api:1.7.35 -> >=dev-java/slf4j-api-1.7.36:0 -# org.zeromq:jeromq:0.4.3 -> >=dev-java/jeromq-0.5.2:0 - -CP_DEPEND=" - dev-java/commons-compress:0 - dev-java/commons-csv:0 - dev-java/conversant-disruptor:0 - dev-java/jackson-core:0 - dev-java/jackson-databind:0 - dev-java/jackson-dataformat-xml:0 - dev-java/jackson-dataformat-yaml:0 - dev-java/jakarta-activation-api:1 - dev-java/jansi:2 - dev-java/javax-mail:0 - dev-java/jctools-core:0 - dev-java/jeromq:0 - dev-java/kafka-clients:0 - dev-java/lmax-disruptor:0 - ~dev-java/log4j-api-${PV}:2 - dev-java/slf4j-api:0 - dev-java/woodstox-core:0 -" - -# Compile dependencies -# POM: ${PN}/pom.xml -# org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:1.0.1.Final -> >=dev-java/jboss-jms-api-1.0.1:1.1 -# org.osgi:org.osgi.core:4.3.1 -> >=dev-java/osgi-core-api-5.0.0:0 -# POM: ${PN}/pom.xml -# test? ch.qos.logback:logback-classic:1.2.3 -> !!!groupId-not-found!!! -# test? ch.qos.logback:logback-core:1.2.3 -> !!!groupId-not-found!!! -# test? com.github.tomakehurst:wiremock:2.26.3 -> !!!groupId-not-found!!! -# test? com.google.code.java-allocation-instrumenter:java-allocation-instrumenter:3.3.0 -> !!!groupId-not-found!!! -# test? com.h2database:h2:1.4.200 -> !!!groupId-not-found!!! -# test? commons-codec:commons-codec:1.15 -> >=dev-java/commons-codec-1.15:0 -# test? commons-io:commons-io:2.11.0 -> >=dev-java/commons-io-2.11.0:1 -# test? commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 -# test? log4j:log4j:1.2.17 -> >=dev-java/log4j-1.2.17:0 -# test? net.javacrumbs.json-unit:json-unit:2.32.0 -> !!!groupId-not-found!!! -# test? org.apache-extras.beanshell:bsh:2.0b6 -> >=dev-java/bsh-2.0_beta6:0 -# test? org.apache.activemq:activemq-broker:5.16.4 -> !!!groupId-not-found!!! -# test? org.apache.commons:commons-lang3:3.12.0 -> >=dev-java/commons-lang-3.12.0:3.6 -# test? org.apache.felix:org.apache.felix.framework:5.6.12 -> !!!groupId-not-found!!! -# test? org.apache.logging.log4j:log4j-api:2.17.2 -> >=dev-java/log4j-api-2.17.2:2 -# test? org.apache.maven:maven-core:3.8.4 -> !!!groupId-not-found!!! -# test? org.awaitility:awaitility:4.1.1 -> !!!groupId-not-found!!! -# test? org.codehaus.groovy:groovy-dateutil:3.0.9 -> !!!groupId-not-found!!! -# test? org.codehaus.groovy:groovy-jsr223:3.0.9 -> !!!groupId-not-found!!! -# test? org.codehaus.plexus:plexus-utils:3.4.1 -> !!!groupId-not-found!!! -# test? org.eclipse.tycho:org.eclipse.osgi:3.13.0.v20180226-1711 -> !!!groupId-not-found!!! -# test? org.hamcrest:hamcrest:2.2 -> !!!artifactId-not-found!!! -# test? org.hdrhistogram:HdrHistogram:2.1.12 -> !!!groupId-not-found!!! -# test? org.hsqldb:hsqldb:2.5.2 -> !!!groupId-not-found!!! -# test? org.jmdns:jmdns:3.5.7 -> !!!groupId-not-found!!! -# test? org.junit-pioneer:junit-pioneer:1.6.1 -> !!!groupId-not-found!!! -# test? org.junit.jupiter:junit-jupiter-engine:5.8.2 -> !!!groupId-not-found!!! -# test? org.junit.jupiter:junit-jupiter-params:5.8.2 -> !!!groupId-not-found!!! -# test? org.junit.platform:junit-platform-commons:1.8.2 -> !!!groupId-not-found!!! -# test? org.junit.vintage:junit-vintage-engine:5.8.2 -> !!!groupId-not-found!!! -# test? org.mockito:mockito-core:4.3.1 -> !!!suitable-mavenVersion-not-found!!! -# test? org.mockito:mockito-junit-jupiter:4.3.1 -> !!!artifactId-not-found!!! -# test? org.slf4j:slf4j-ext:1.7.35 -> >=dev-java/slf4j-ext-1.7.36:0 -# test? org.springframework:spring-test:5.3.15 -> !!!groupId-not-found!!! -# test? org.tukaani:xz:1.9 -> >=dev-java/xz-java-1.9:0 -# test? org.xmlunit:xmlunit-core:2.9.0 -> !!!groupId-not-found!!! -# test? org.xmlunit:xmlunit-matchers:2.9.0 -> !!!groupId-not-found!!! -# test? org.zapodot:embedded-ldap-junit:0.8.1 -> !!!groupId-not-found!!! - -DEPEND="${CP_DEPEND} - dev-java/jboss-jms-api:1.1 - dev-java/osgi-core-api:0 - >=virtual/jdk-1.8:*" -# test? ( -# !!!artifactId-not-found!!! -# !!!groupId-not-found!!! -# !!!suitable-mavenVersion-not-found!!! -# >=dev-java/bsh-2.0_beta6:0 -# >=dev-java/commons-codec-1.15:0 -# >=dev-java/commons-io-2.11.0:1 -# >=dev-java/commons-lang-3.12.0:3.6 -# >=dev-java/commons-logging-1.2:0 -# >=dev-java/log4j-1.2.17:0 -# ~dev-java/log4j-api-${PV}:2 -# >=dev-java/slf4j-ext-1.7.36:0 -# >=dev-java/xz-java-1.9:0 -# ) -#" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND}" - -DOCS=( {CONTRIBUTING,README,RELEASE-NOTES,SECURITY}.md ) - -S="${WORKDIR}/apache-log4j-${PV}-src" - -JAVA_CLASSPATH_EXTRA="jboss-jms-api-1.1,osgi-core-api" -JAVA_SRC_DIR="${PN}/src/main/java" -JAVA_RESOURCE_DIRS="${PN}/src/main/resources" - -# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,commons-codec,commons-io-1,commons-logging,log4j,!!!groupId-not-found!!!,bsh,!!!groupId-not-found!!!,commons-lang-3.6,!!!groupId-not-found!!!,log4j-api-2,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!artifactId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!suitable-mavenVersion-not-found!!!,!!!artifactId-not-found!!!,!!!artifactId-not-found!!!,!!!groupId-not-found!!!,xz-java,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!" -# JAVA_TEST_SRC_DIR="${PN}/src/test/java" -# JAVA_TEST_RESOURCE_DIRS=( -# "${PN}/src/test/resources" -# ) - -src_compile() { - java-pkg-simple_src_compile - - # Process the @Plugin annotation used on Log4j 2 built-in plugins - # to generate a serialized plugin listing file - # https://logging.apache.org/log4j/2.x/manual/plugins.html - local processor="org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor" - local classes="target/classes" - local classpath="${JAVA_JAR_FILENAME}:$(\ - java-pkg_getjars --build-only --with-dependencies \ - "${JAVA_GENTOO_CLASSPATH},${JAVA_CLASSPATH_EXTRA}")" - # Just in case java-pkg-simple.eclass changes the path in the future - mkdir -p "${classes}" || die "Failed to create directory for classes" - local sources_list_file="${T}/sources.lst" - find "${JAVA_SRC_DIR}" -type f -name "*.java" > "${sources_list_file}" || die - ejavac -d "${classes}" -cp "${classpath}" \ - -proc:only -processor "${processor}" \ - @"${sources_list_file}" - # Update the JAR to include the serialized plugin listing file - local jar="$(java-config -j)" - "${jar}" -uf "${JAVA_JAR_FILENAME}" -C "${classes}" . || - die "Failed to update JAR" -} - -src_install() { - default # https://bugs.gentoo.org/789582 - java-pkg-simple_src_install -} diff --git a/dev-java/netty/Manifest b/dev-java/netty/Manifest index 644004949608..42b41cac3ac3 100644 --- a/dev-java/netty/Manifest +++ b/dev-java/netty/Manifest @@ -1,4 +1,3 @@ DIST netty-4.1.35.Final.tar.gz 2447958 BLAKE2B 133adc2b37d3e681d11ac2e0187c0f79bb7aeeb6c622a1bf6e66a35bb78cd5730eeeffccfb960948f2e1df5dfadaa44f62b6f354c03065493ae43e1399a5ba2e SHA512 c3ba4e34ae9d309118ff3517467ffc218136789b06287d747b57df08be84779dacf5e29b19157afecd759a3516bc346e434295291b3dd546f80c4ae7c3f0a3ca EBUILD netty-4.1.35-r1.ebuild 5853 BLAKE2B 2dd57424ff9b74cd19f6281b2f0ba6192633ce2462b68be4ac5ae84e95f080eedf2dc4afb7ffc7089ce504d2d4b50cdee1a41977dfd08f726652e2f45c1b0ac6 SHA512 318d2a77af94f0f9236a781c9438ebc1ef9b0a03349ec0799f8eaf785d4ee5c79757353c07b8ce7eafdd8819ba753e5725069753f22e91d76dbea55d20447195 -EBUILD netty-4.1.35.ebuild 5853 BLAKE2B a6f9664df891175234eb940606a8232a32ac7dbec4e6a2522bfabd0cc30cdfe7126e7c000f05460ba62791e9402c6bf2791b28180ce6844017fc9efa525db048 SHA512 2e5ddf7410b4f26b7559fd192dcc3242ccc4f84470a09abbc8a387a4c7a56fa2c62abf07619a83b82b8f10937d7589cde4e508ba61b18df9f9d1ca8dac0d74a3 MISC metadata.xml 507 BLAKE2B 821a563701bddd615a49743269e82ef5f906d5f30d957accbba10cda171b3a8943911733247e05efc9c28b40fd75396e78c2b28c3297a74b15ea8b716dc50ad1 SHA512 5c237af46f2d99e807ad5d442c83af2d1bbd85f3d3ed71e5dc3595c91d2e8104e5025216911e74901817cfd495eb6e96e22248bd1a05c90018c7d13b99d1d494 diff --git a/dev-java/netty/netty-4.1.35.ebuild b/dev-java/netty/netty-4.1.35.ebuild deleted file mode 100644 index a59641a77cb8..000000000000 --- a/dev-java/netty/netty-4.1.35.ebuild +++ /dev/null @@ -1,201 +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 common/pom.xml --download-uri https://codeload.github.com/netty/netty/tar.gz/netty-4.1.35.Final --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild netty-4.1.35.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="io.netty:netty:4.1.35.Final" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Async event-driven framework for high performance network applications" -HOMEPAGE="https://netty.io/" -SRC_URI="https://github.com/netty/netty/archive/refs/tags/netty-${PV}.Final.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# We do not build the full range of modules provided by netty but only what -# was available before in netty-common, netty-buffer and netty-transport. -# Further modules might be added to the array. -NETTY_MODULES=( - "common" - "resolver" - "buffer" - "transport" -) - -# Common dependencies -# POM: common/pom.xml -# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 -# log4j:log4j:1.2.17 -> >=dev-java/log4j-1.2.17:0 -# org.apache.logging.log4j:log4j-api:2.6.2 -> >=dev-java/log4j-api-2.17.1:2 -# org.jctools:jctools-core:2.1.1 -> !!!suitable-mavenVersion-not-found!!! -# org.slf4j:slf4j-api:1.7.21 -> >=dev-java/slf4j-api-1.7.32:0 - -# "Failed to load class org.slf4j.impl.StaticLoggerBinder" -# Using slf4j-simple instead of slf4j-api solves it. -# https://www.slf4j.org/codes.html -CP_DEPEND=" - dev-java/commons-logging:0 - dev-java/jctools-core:0 - dev-java/log4j-12-api:2 - dev-java/slf4j-simple:0 -" - -# Compile dependencies -# POM: common/pom.xml -# test? ch.qos.logback:logback-classic:1.1.7 -> !!!groupId-not-found!!! -# test? io.netty:netty-build:25 -> !!!artifactId-not-found!!! -# test? io.netty:netty-dev-tools:4.1.35.Final -> !!!artifactId-not-found!!! -# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 -# test? org.apache.logging.log4j:log4j-core:2.6.2 -> >=dev-java/log4j-core-2.17.1:2 -# test? org.hamcrest:hamcrest-library:1.3 -> >=dev-java/hamcrest-library-1.3:1.3 -# test? org.javassist:javassist:3.20.0-GA -> !!!groupId-not-found!!! -# test? org.mockito:mockito-core:2.18.3 -> >=dev-java/mockito-4.4.0:4 - -DEPEND=" - >=virtual/jdk-1.8:* - ${CP_DEPEND} - test? ( - dev-java/javassist:3 - dev-java/hamcrest-library:1.3 - dev-java/logback-classic:0 - dev-java/log4j-core:2 - dev-java/mockito:4 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND} -" - -S="${WORKDIR}/netty-netty-${PV}.Final" - -JAVA_TEST_GENTOO_CLASSPATH="hamcrest-library-1.3,javassist-3,junit-4,logback-classic,log4j-core-2,mockito-4" - -# There were 12 failures: -# 1) testCompositeDirectBuffer(io.netty.buffer.ByteBufAllocatorTest) -# java.lang.InstantiationException -# at java.base/jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48) -# -# FAILURES!!! -# Tests run: 10015, Failures: 12 - -# There was 1 failure: -# 1) initializationError(io.netty.channel.BaseChannelTest) -# org.junit.runners.model.InvalidTestClassError: Invalid test class 'io.netty.channel.BaseChannelTest': -# 1. The class io.netty.channel.BaseChannelTest is not public. -# 2. Test class should have exactly one public constructor -# 3. No runnable methods -# -# FAILURES!!! -# Tests run: 10277, Failures: 1 - -JAVA_TEST_EXCLUDES=( - "io.netty.buffer.ByteBufAllocatorTest" - "io.netty.channel.BaseChannelTest" -) - -src_prepare() { - default - - sed \ - -e 's:verifyZeroInteractions:verifyNoInteractions:' \ - -i buffer/src/test/java/io/netty/buffer/UnpooledTest.java \ - -i transport/src/test/java/io/netty/channel/CompleteChannelFutureTest.java || die - - # transport/src/test/java/io/netty/channel/PendingWriteQueueTest.java:262: error: reference to assertEquals is ambiguous - # assertEquals(1L, channel.readOutbound()); - # ^ - # both method assertEquals(long,long) in Assert and method assertEquals(Object,Object) in Assert match - rm transport/src/test/java/io/netty/channel/PendingWriteQueueTest.java || die -} - -src_compile() { - local module - # We loop over the modules list and compile the jar files. - for module in "${NETTY_MODULES[@]}"; do - JAVA_SRC_DIR=() - JAVA_RESOURCE_DIRS=() - JAVA_MAIN_CLASS="" - - JAVA_SRC_DIR=( - "$module/src/main/java" - "$module/src/module" - ) - - # Not all of the modules have resources. - if [[ -d $module/src/main/resources ]]; then \ - JAVA_RESOURCE_DIRS="$module/src/main/resources" - fi - - JAVA_JAR_FILENAME="$module.jar" - - einfo "Compiling netty-${module}" - java-pkg-simple_src_compile - - JAVA_GENTOO_CLASSPATH_EXTRA+=":$module.jar" - - rm -r target || die - - done - - if use doc; then - JAVA_SRC_DIR=() - JAVA_JAR_FILENAME="ignoreme.jar" - - for module in "${NETTY_MODULES[@]}" ; do - # Some modules don't have source code - if [[ -d $module/src/main/java/io ]]; then \ - JAVA_SRC_DIR+=( "$module/src/main/java" ) - fi - - done - - java-pkg-simple_src_compile - fi -} - -src_test() { - local module - for module in "${NETTY_MODULES[@]}"; do - JAVA_TEST_SRC_DIR="$module/src/test/java" - JAVA_TEST_RESOURCE_DIRS=() - - # Not all of the modules have test resources. - if [[ -d $module/src/test/resources ]]; then \ - JAVA_TEST_RESOURCE_DIRS="$module/src/test/resources" - fi - - einfo "Testing netty-${module}" - java-pkg-simple_src_test - done -} - -src_install() { - einstalldocs # https://bugs.gentoo.org/789582 - - local module - for module in "${NETTY_MODULES[@]}"; do - JAVA_MAIN_CLASS=$( sed -n 's:.*\(.*\):\1:p' $module/pom.xml ) - java-pkg_dojar $module.jar - - # Some modules don't have source code - if [[ -d $module/src/main/java/org ]]; then - if use source; then - java-pkg_dosrc "$module/src/main/java/*" - fi - fi - done - - if use doc; then - java-pkg_dojavadoc target/api - fi -} -- cgit v1.2.3