diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 22:23:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-08 22:23:22 +0100 |
commit | 99b2c44c1425c7b2925846d4c44b2bf2f78dc786 (patch) | |
tree | 9bf7a2d385aace0ea5f3f8d3e3657168b758fdaa /dev-java | |
parent | 39bccce90513402ec93bb0fde30678f16b07a9cc (diff) |
gentoo auto-resync : 08:07:2023 - 22:23:22
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 58283 -> 57632 bytes | |||
-rw-r--r-- | dev-java/janino/Manifest | 5 | ||||
-rw-r--r-- | dev-java/janino/janino-3.1.7.ebuild | 103 | ||||
-rw-r--r-- | dev-java/janino/janino-3.1.8.ebuild | 101 | ||||
-rw-r--r-- | dev-java/janino/metadata.xml | 14 | ||||
-rw-r--r-- | dev-java/logback-classic/Manifest | 3 | ||||
-rw-r--r-- | dev-java/logback-classic/logback-classic-1.4.1.ebuild | 136 | ||||
-rw-r--r-- | dev-java/logback-classic/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/logback-core/Manifest | 3 | ||||
-rw-r--r-- | dev-java/logback-core/logback-core-1.4.1.ebuild | 96 | ||||
-rw-r--r-- | dev-java/logback-core/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/netty/Manifest | 3 | ||||
-rw-r--r-- | dev-java/netty/metadata.xml | 14 | ||||
-rw-r--r-- | dev-java/netty/netty-4.1.35-r1.ebuild | 201 |
14 files changed, 0 insertions, 703 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 516d56d47f28..12f24595d966 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/janino/Manifest b/dev-java/janino/Manifest deleted file mode 100644 index 98671f439e8d..000000000000 --- a/dev-java/janino/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST janino-3.1.7.tar.gz 1747439 BLAKE2B 6e42a9d5cc079c2cf17b76c1d76420ff3fa0027b54736f23e0aa2c5062f4dad19c1ac7efa678fa06cee369a01125a64a4ee32e4120e60ecd8a56d47aa4f69503 SHA512 541925fc10f5fbefde45e60cec1925e3d6f5b7244a6b9de251b5483224bee05c16182e2bf137a00349cbdb6c209ce18b2203ca066e5a7a1f146efa255f5f7799 -DIST janino-3.1.8.tar.gz 1753540 BLAKE2B 4fe3031133d9f4e9f20ffb559b9785399de8c5908abc97894eb63d7b16c197fc27763c274da7163e2bb3c5552bb5bbc9ae69da88d87da5b1c061baa2358d1441 SHA512 d79e68351f42069eb32974b0ba68e70a5510950ec04bfab49d4000310e487f3d4a3f50f0cc06d158830530d3cdb2cf9d68b291acea2218ad21f34c280604dad7 -EBUILD janino-3.1.7.ebuild 2531 BLAKE2B caf33b93b566fae939db016e12aac84d89be6c7ca0d876a7fdf660584873637d0ec2557997195e641c10608b8cfe918c2506284ea7afa586fef31ead7efdbc48 SHA512 705a2509e4d16abab317edbae29dd688b99ff1eab1c832a8503d33b03d1d76dc9e90db0908c70d5e92faf2502b84ad64ea311d5abcab1cba9e05387bceda3a14 -EBUILD janino-3.1.8.ebuild 2537 BLAKE2B 1356bbe339ade9b55aba5a476f75486e67d27efbecd65776965b527eb804135a59ba261d4f4b77162171d701a39171a37d0a7f673e069c8d3c082ebd4921843f SHA512 3ad7a324806a0471e3df9d018a9a200a38888bb197d7a9c7ab9ed2784af4b68dca9c07fd33590f5e3c517a05faced8422d9de77de3b87f547fa82683fd621406 -MISC metadata.xml 489 BLAKE2B 19514db39f0fd387842dcd5277011377fff6990063292a38d0610e01bf2514f43adce9883dc6bb558661bb1c77301d39831b557d82c595efb06fc5429ca2d8cb SHA512 aeac8528c234551fc75850375d64a5d8fa280e0104d0a38b57938d4984f3b6cef6873aee4505145d2355abe3a7f83d048416776a7d34a3ba640d904447c2f20a diff --git a/dev-java/janino/janino-3.1.7.ebuild b/dev-java/janino/janino-3.1.7.ebuild deleted file mode 100644 index b0fbd7ad85b3..000000000000 --- a/dev-java/janino/janino-3.1.7.ebuild +++ /dev/null @@ -1,103 +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 janino/pom.xml --download-uri https://github.com/janino-compiler/janino/archive/refs/tags/v3.1.7.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild janino-3.1.7.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.codehaus.janino:janino:3.1.7" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="An embedded compiler for run-time compilation purposes" -HOMEPAGE="https://janino-compiler.github.io/janino/" -SRC_URI="https://github.com/janino-compiler/janino/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Common dependencies -# POM: ${PN}/pom.xml -# org.codehaus.janino:commons-compiler:3.1.7 -> !!!artifactId-not-found!!! - -CDEPEND=" - !!!artifactId-not-found!!! -" - -# Compile dependencies -# POM: ${PN}/pom.xml -# org.apache.ant:ant:1.10.11 -> !!!suitable-mavenVersion-not-found!!! -# POM: ${PN}/pom.xml -# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 - -DEPEND=" - >=virtual/jdk-1.8:* - dev-java/ant-core:0 -" - -RDEPEND=" - >=virtual/jre-1.8:*" - -S="${WORKDIR}/${P}/janino" - -src_prepare() { - default - java-pkg_clean -} - -src_compile() { - JAVA_SRC_DIR="../commons-compiler/src/main/java" - JAVA_JAR_FILENAME="commons-compiler.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":commons-compiler.jar" - rm -r target || die - - JAVA_CLASSPATH_EXTRA="ant-core" - JAVA_SRC_DIR="src/main/java" - JAVA_RESOURCE_DIRS="src/main/resources" - JAVA_JAR_FILENAME="janino.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":janino.jar" - rm -r target || die - - if use doc; then - JAVA_SRC_DIR=( - "../commons-compiler/src/main/java" - "src/main/java" - ) - JAVA_JAR_FILENAME="ignoreme.jar" - java-pkg-simple_src_compile - fi -} - -src_test() { - JAVA_TEST_GENTOO_CLASSPATH="junit-4" - JAVA_TEST_SRC_DIR="../commons-compiler/src/test/java" - JAVA_TEST_RESOURCE_DIRS="../commons-compiler/src/test/resources" - java-pkg-simple_src_test - - JAVA_TEST_GENTOO_CLASSPATH="junit-4" - JAVA_TEST_SRC_DIR="src/test/java" - JAVA_TEST_RESOURCE_DIRS="src/test/resources" - java-pkg-simple_src_test -} - -src_install() { - default - - java-pkg_dojar "commons-compiler.jar" - java-pkg_dojar "janino.jar" - - if use doc; then - java-pkg_dojavadoc target/api - fi - - if use source; then - java-pkg_dosrc "../commons-compiler/src/main/java/*" - java-pkg_dosrc "src/main/java/*" - fi -} diff --git a/dev-java/janino/janino-3.1.8.ebuild b/dev-java/janino/janino-3.1.8.ebuild deleted file mode 100644 index 02e053047e0f..000000000000 --- a/dev-java/janino/janino-3.1.8.ebuild +++ /dev/null @@ -1,101 +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 janino/pom.xml --download-uri https://github.com/janino-compiler/janino/archive/refs/tags/v3.1.8.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild janino-3.1.8.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.codehaus.janino:janino:3.1.8" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="An embedded compiler for run-time compilation purposes" -HOMEPAGE="https://janino-compiler.github.io/janino/" -SRC_URI="https://github.com/janino-compiler/janino/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -# Compile dependencies -# POM: ${PN}/pom.xml -# org.apache.ant:ant:1.10.11 -> !!!suitable-mavenVersion-not-found!!! -# POM: ${PN}/pom.xml -# test? de.unkrig.jdisasm:jdisasm:1.0.6 -> !!!groupId-not-found!!! -# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 - -DEPEND=" - >=virtual/jdk-1.8:* - dev-java/ant-core:0 - test? ( - dev-java/jdisasm:0 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:*" - -S="${WORKDIR}/${P}/janino" - -src_prepare() { - default - java-pkg_clean -} - -src_compile() { - JAVA_JAR_FILENAME="commons-compiler.jar" - JAVA_SRC_DIR="../commons-compiler/src/main/java" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":commons-compiler.jar" - rm -r target || die - - JAVA_CLASSPATH_EXTRA="ant-core" - JAVA_JAR_FILENAME="janino.jar" - JAVA_RESOURCE_DIRS="src/main/resources" - JAVA_SRC_DIR="src/main/java" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":janino.jar" - rm -r target || die - - if use doc; then - JAVA_SRC_DIR=( - "../commons-compiler/src/main/java" - "src/main/java" - ) - JAVA_JAR_FILENAME="ignoreme.jar" - java-pkg-simple_src_compile - fi -} - -src_test() { - einfo "Testing commons-compiler" - JAVA_TEST_GENTOO_CLASSPATH="junit-4" - JAVA_TEST_RESOURCE_DIRS="../commons-compiler/src/test/resources" - JAVA_TEST_SRC_DIR="../commons-compiler/src/test/java" - java-pkg-simple_src_test - - einfo "Testing janino" - JAVA_TEST_GENTOO_CLASSPATH="jdisasm,junit-4" - JAVA_TEST_RESOURCE_DIRS="src/test/resources" - JAVA_TEST_SRC_DIR="src/test/java" - java-pkg-simple_src_test -} - -src_install() { - default - - java-pkg_dojar "commons-compiler.jar" - java-pkg_dojar "janino.jar" - - if use doc; then - java-pkg_dojavadoc target/api - fi - - if use source; then - java-pkg_dosrc "../commons-compiler/src/main/java/*" - java-pkg_dosrc "src/main/java/*" - fi -} diff --git a/dev-java/janino/metadata.xml b/dev-java/janino/metadata.xml deleted file mode 100644 index 7ebc2576ac14..000000000000 --- a/dev-java/janino/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - <longdescription> - The "JANINO" implementation of the "commons-compiler" API: Super-small, super-fast, independent from the JDK's "tools.jar". - </longdescription> - <upstream> - <remote-id type="github">janino-compiler/janino</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/logback-classic/Manifest b/dev-java/logback-classic/Manifest deleted file mode 100644 index dc8ed417d6c7..000000000000 --- a/dev-java/logback-classic/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST logback-1.4.1.tar.gz 760510 BLAKE2B a01aab8b499059669e22a2ab51522b01765bb2802008058bf3ca1a9ddafa06d2827d4129e76dc6f91e960dea2e419087dbcbc6fbced6b560295cda7089ce4a12 SHA512 4e8b0cb7cd7f950d7b6a859bc40cc8a3ddc41e2c7ab1567dc29780f4f05a14fdf34dd569928e1425886226e45979d85587ddf5e1e61665929718336451a0802c -EBUILD logback-classic-1.4.1.ebuild 4495 BLAKE2B 23c85bdf5ad91857ba524590134c7cd82cc85808f544048100f446ee459b1fd8378842642b6d993e8b42a568943904cfcd2b715f2bfffdd18928f8faac2f0942 SHA512 721e9a3d1ee371f9623ae97bd00ae52547bcd582d5aa45aa49fa5df6ecdd0c756a46af0942d8223cda599bd5b8910e1a24a8a8bddb3e0b000c273a31131f26cd -MISC metadata.xml 413 BLAKE2B 3ae8c9f27dadfe978d070866e0c0368b89b8532f2aa6fbd3e3fab9e057320e1c6b5c2bc7367cc191e189acaa88384a0b86741d674d1cd711d4dd5ee8a29c9662 SHA512 7c2739ff8e878766487804fabcb39cda969c81e47af7fd51ffebfcb85dbdec10b7eef85b1d9c873561456e1592f6cdb8f82fbb4233abee1f43f323a1c10f9ba2 diff --git a/dev-java/logback-classic/logback-classic-1.4.1.ebuild b/dev-java/logback-classic/logback-classic-1.4.1.ebuild deleted file mode 100644 index 3c1d932f9dc1..000000000000 --- a/dev-java/logback-classic/logback-classic-1.4.1.ebuild +++ /dev/null @@ -1,136 +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 logback-classic/pom.xml --download-uri https://github.com/qos-ch/logback/archive/v_1.4.1.tar.gz --slot 0 --keywords "~amd64" --ebuild logback-classic-1.4.1.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="ch.qos.logback:logback-classic:1.4.1" -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: ${PN}/pom.xml -# ch.qos.logback:logback-core:1.4.1 -> >=dev-java/logback-core-1.4.1:0 -# jakarta.mail:jakarta.mail-api:2.0.1 -> >=dev-java/jakarta-mail-api-2.1.0:0 -# org.codehaus.janino:janino:3.1.7 -> >=dev-java/janino-3.1.7:0 -# org.slf4j:slf4j-api:2.0.1 -> >=dev-java/slf4j-api-2.0.3:0 - -CP_DEPEND=" - ~dev-java/janino-3.1.7:0 - dev-java/jakarta-mail-api:0 - ~dev-java/logback-core-${PV}:0 - >=dev-java/slf4j-api-2.0.0:0 -" - -# Compile dependencies -# POM: ${PN}/pom.xml -# jakarta.servlet:jakarta.servlet-api:5.0.0 -> >=dev-java/jakarta-servlet-api-6.0.0:6 -# POM: ${PN}/pom.xml -# test? ch.qos.logback:logback-core:1.4.1 -> >=dev-java/logback-core-1.4.1:0 -# test? ch.qos.reload4j:reload4j:1.2.18.4 -> >=dev-java/reload4j-1.2.22:0 -# test? com.icegreen:greenmail:2.0.0-alpha-1 -> >=dev-java/greenmail-2.0.0_alpha2:2 -# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 -# test? org.apache.felix:org.apache.felix.main:5.6.10 -> >=dev-java/felix-main-7.0.5:0 -# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2 -# test? org.dom4j:dom4j:2.0.3 -> >=dev-java/dom4j-2.1.3:1 -# test? org.mockito:mockito-core:4.3.0 -> >=dev-java/mockito-4.8.0:4 -# test? org.slf4j:jul-to-slf4j:2.0.1 -> >=dev-java/jul-to-slf4j-2.0.3:0 -# test? org.slf4j:log4j-over-slf4j:2.0.1 -> >=dev-java/log4j-over-slf4j-2.0.3:0 -# test? org.slf4j:slf4j-api:2.0.1 -> >=dev-java/slf4j-api-2.0.3:0 - -DEPEND=" - >=virtual/jdk-11:* - ${CP_DEPEND} - dev-java/jakarta-servlet-api:6 - test? ( - dev-java/assertj-core:3 - dev-java/dom4j:1 - dev-java/felix-main:0 - dev-java/greenmail:2 - dev-java/jul-to-slf4j:0 - dev-java/log4j-over-slf4j:0 - dev-java/logback-core:0 - dev-java/mockito:4 - dev-java/osgi-core:0 - dev-java/reload4j:0 - ) -" - -# Runtime dependencies -# POM: ${PN}/pom.xml -# com.sun.mail:jakarta.mail:2.0.1 -> >=dev-java/jakarta-mail-2.0.1:0 - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND} - dev-java/jakarta-mail:0 -" - -S="${WORKDIR}/logback-v_${PV}/logback-classic" - -JAVA_CLASSPATH_EXTRA="jakarta-servlet-api-6" -JAVA_GENTOO_CLASSPATH+="jakarta-mail" -JAVA_RESOURCE_DIRS="src/main/resources" -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH=" - assertj-core-3 - felix-main - greenmail-2 - jul-to-slf4j - junit-4 - log4j-over-slf4j - mockito-4 - reload4j -" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_SRC_DIR="src/test/java" - -JAVA_TEST_EXCLUDES=( - # Invalid test classes, "No runnable methods" - ch.qos.logback.core.testUtil.EnvUtilForTests - ch.qos.logback.core.rolling.testUtil.ScaffoldingForRollingTests - ch.qos.logback.classic.util.TestHelper - - # Test failures: - ch.qos.logback.classic.net.SMTPAppender_GreenTest # 14 tests - - # 1) versionTest(ch.qos.logback.classic.util.EnvUtilTest) - # java.lang.AssertionError - # at org.junit.Assert.fail(Assert.java:87) - # at org.junit.Assert.assertTrue(Assert.java:42) - # at org.junit.Assert.assertNotNull(Assert.java:713) - # at org.junit.Assert.assertNotNull(Assert.java:723) - # at ch.qos.logback.classic.util.EnvUtilTest.versionTest(EnvUtilTest.java:17) - ch.qos.logback.classic.util.EnvUtilTest - - # 2) testSmoke(org.slf4j.test_osgi.BundleTest) - # junit.framework.AssertionFailedError - # at junit.framework.Assert.fail(Assert.java:55) - # at junit.framework.Assert.assertTrue(Assert.java:22) - # at junit.framework.Assert.assertTrue(Assert.java:31) - # at junit.framework.TestCase.assertTrue(TestCase.java:200) - # at org.slf4j.test_osgi.BundleTest.testSmoke(BundleTest.java:41) - org.slf4j.test_osgi.BundleTest -) - -src_test() { - # Tests need dom4j:1 on classpath but without dependencies: - JAVA_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --build-only dom4j-1)" - - # package ch.qos.logback.core.contention does not exist - JAVA_GENTOO_CLASSPATH_EXTRA+=":../logback-core/src/test/java/" - java-pkg-simple_src_test -} diff --git a/dev-java/logback-classic/metadata.xml b/dev-java/logback-classic/metadata.xml deleted file mode 100644 index 36093b7d6d6d..000000000000 --- a/dev-java/logback-classic/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - </maintainer> - <upstream> - <bugs-to>https://logback.qos.ch/bugreport.html</bugs-to> - <changelog>https://logback.qos.ch/news.html</changelog> - <remote-id type="github">qos-ch/logback</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/logback-core/Manifest b/dev-java/logback-core/Manifest deleted file mode 100644 index 857efef90ece..000000000000 --- a/dev-java/logback-core/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST logback-1.4.1.tar.gz 760510 BLAKE2B a01aab8b499059669e22a2ab51522b01765bb2802008058bf3ca1a9ddafa06d2827d4129e76dc6f91e960dea2e419087dbcbc6fbced6b560295cda7089ce4a12 SHA512 4e8b0cb7cd7f950d7b6a859bc40cc8a3ddc41e2c7ab1567dc29780f4f05a14fdf34dd569928e1425886226e45979d85587ddf5e1e61665929718336451a0802c -EBUILD logback-core-1.4.1.ebuild 3017 BLAKE2B 789e32d9835ecfc57a299208a24e64d0a02c9af6e41b5ac59ce934eb0207a3eedaa9e9fe3ade07167b920143c52070aae5f14d99ca717de2c93af9d84583cea4 SHA512 244315ad5ebb4f1d854fe41212d875f628b0045a6ded5bd91d9657e2817e92310e67a66f74883f0831f717ba2513cd5280e4349dd033ddd3d2fa5366619b7209 -MISC metadata.xml 413 BLAKE2B 3ae8c9f27dadfe978d070866e0c0368b89b8532f2aa6fbd3e3fab9e057320e1c6b5c2bc7367cc191e189acaa88384a0b86741d674d1cd711d4dd5ee8a29c9662 SHA512 7c2739ff8e878766487804fabcb39cda969c81e47af7fd51ffebfcb85dbdec10b7eef85b1d9c873561456e1592f6cdb8f82fbb4233abee1f43f323a1c10f9ba2 diff --git a/dev-java/logback-core/logback-core-1.4.1.ebuild b/dev-java/logback-core/logback-core-1.4.1.ebuild deleted file mode 100644 index ab06f67e0f2f..000000000000 --- a/dev-java/logback-core/logback-core-1.4.1.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 logback-core/pom.xml --download-uri https://github.com/qos-ch/logback/archive/v_1.4.1.tar.gz --slot 0 --keywords "~amd64" --ebuild logback-core-1.4.1.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="ch.qos.logback:logback-core:1.4.1" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="logback-core 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: ${PN}/pom.xml -# com.sun.mail:jakarta.mail:2.0.1 -> >=dev-java/jakarta-mail-2.0.1:0 -# jakarta.mail:jakarta.mail-api:2.0.1 -> >=dev-java/jakarta-mail-api-2.1.0:0 -# jakarta.servlet:jakarta.servlet-api:5.0.0 -> >=dev-java/jakarta-servlet-api-6.0.0:6 -# org.codehaus.janino:janino:3.1.7 -> >=dev-java/janino-3.1.7:0 -# org.fusesource.jansi:jansi:1.18 -> >=dev-java/jansi-2.4.0:2 - -CP_DEPEND=" - dev-java/jakarta-mail:0 - dev-java/jakarta-mail-api:0 - dev-java/jakarta-servlet-api:6 - ~dev-java/janino-3.1.7:0 - dev-java/jansi:2 -" - -# Compile dependencies -# POM: ${PN}/pom.xml -# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 -# test? org.assertj:assertj-core:1.7.1 -> >=dev-java/assertj-core-2.3.0:2 -# test? org.mockito:mockito-core:4.3.0 -> >=dev-java/mockito-4.7.0:4 - -DEPEND=" - >=virtual/jdk-11:* - ${CP_DEPEND} - test? ( - dev-java/assertj-core:3 - dev-java/mockito:4 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND}" - -# DOCS=( ../README.md ) - -S="${WORKDIR}/logback-v_${PV}/logback-core" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4,assertj-core-3,mockito-4" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_SRC_DIR="src/test/java" - -src_test() { - # 83,88 logback-core/pom.xml - # <excludes> - # <exclude>**/All*Test.java</exclude> - # <exclude>**/PackageTest.java</exclude> - # <!-- ConsoleAppenderTest redirects System.out which is not well tolerated by Maven --> - # <exclude>**/ConsoleAppenderTest.java</exclude> - # </excludes> - rm src/test/java/ch/qos/logback/core/appender/ConsoleAppenderTest.java || die - pushd src/test/java || die - local JAVA_TEST_RUN_ONLY=$(find * \ - -name "*Test.java" \ - ! -wholename "**/All*Test.java" \ - ! -wholename "**/PackageTest.java" \ - ! -name "AbstractAppenderTest.java" \ - ! -name "AbstractPatternLayoutBaseTest.java" \ - ) - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - popd - - # accessible: module java.base does not "opens java.lang" to unnamed module @42bb2aee - local vm_version="$(java-config -g PROVIDES_VERSION)" - if [[ "${vm_version}" -ge 17 ]]; then - JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=ALL-UNNAMED ) - JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.io=ALL-UNNAMED ) - fi - java-pkg-simple_src_test -} diff --git a/dev-java/logback-core/metadata.xml b/dev-java/logback-core/metadata.xml deleted file mode 100644 index 36093b7d6d6d..000000000000 --- a/dev-java/logback-core/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - </maintainer> - <upstream> - <bugs-to>https://logback.qos.ch/bugreport.html</bugs-to> - <changelog>https://logback.qos.ch/news.html</changelog> - <remote-id type="github">qos-ch/logback</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-java/netty/Manifest b/dev-java/netty/Manifest deleted file mode 100644 index 42b41cac3ac3..000000000000 --- a/dev-java/netty/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -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 -MISC metadata.xml 507 BLAKE2B 821a563701bddd615a49743269e82ef5f906d5f30d957accbba10cda171b3a8943911733247e05efc9c28b40fd75396e78c2b28c3297a74b15ea8b716dc50ad1 SHA512 5c237af46f2d99e807ad5d442c83af2d1bbd85f3d3ed71e5dc3595c91d2e8104e5025216911e74901817cfd495eb6e96e22248bd1a05c90018c7d13b99d1d494 diff --git a/dev-java/netty/metadata.xml b/dev-java/netty/metadata.xml deleted file mode 100644 index aead41605905..000000000000 --- a/dev-java/netty/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - <upstream> - <remote-id type="github">netty/netty</remote-id> - </upstream> - <longdescription> - Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients. - </longdescription> -</pkgmetadata> diff --git a/dev-java/netty/netty-4.1.35-r1.ebuild b/dev-java/netty/netty-4.1.35-r1.ebuild deleted file mode 100644 index 693bf87c6b51..000000000000 --- a/dev-java/netty/netty-4.1.35-r1.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:3 - 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:.*<mainClass>\(.*\)</mainClass>:\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 -} |