From 403387a1bc2a2d98e75bf1474b21ae379b88aab2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Oct 2022 07:54:11 +0100 Subject: gentoo auto-resync : 17:10:2022 - 07:54:11 --- dev-java/byte-buddy/Manifest | 2 - dev-java/byte-buddy/byte-buddy-1.12.13.ebuild | 153 -------------------------- 2 files changed, 155 deletions(-) delete mode 100644 dev-java/byte-buddy/byte-buddy-1.12.13.ebuild (limited to 'dev-java/byte-buddy') diff --git a/dev-java/byte-buddy/Manifest b/dev-java/byte-buddy/Manifest index 75504d070221..891a2787e2da 100644 --- a/dev-java/byte-buddy/Manifest +++ b/dev-java/byte-buddy/Manifest @@ -1,5 +1,3 @@ -DIST byte-buddy-1.12.13.tar.gz 1721038 BLAKE2B 60aadbbb3b56e5ac2ecc2bb162653b769f4d4b913bd675457ce2fbf12a5777addc4beb2bb2e347d5956dbf1fbe6a6dfce078a29c53b1f1e2a60585670897d4ee SHA512 88c221d0dccb248683069070e498c5d4320f4fce059c45f460e04fbd86c2c596c18a4c7f4e9b3a0480eaf96d93593d1f1af87d894a7c4b3d73511e88a95f4e92 DIST byte-buddy-1.12.14.tar.gz 1857258 BLAKE2B 6957246f6689d1bdfdc6277ad752e03df0ae47c62b0afded77c94cdd41e00cc736517d0e4e5d5f8c59be519262a03864cde9bffa4ae53e5a7daeed84a519967f SHA512 5035be16fbdf2f7e8e2c93b87ee5f9adc927a19fd3b7d9fcd262906d8d21532cef8111084c3d6d0b75e101df0bfee19bf9177bc6a7d4b18cf0f26146fba4f147 -EBUILD byte-buddy-1.12.13.ebuild 4574 BLAKE2B d86d952b193566329ffde2d167bb3daa5dfc4d9bc2b355841faf7dacd993df3c3c1b338a2fbbd4634957b33e6275da849a88926643f7d2edca63cde7ea31b447 SHA512 cbeef5b365041c0e76e4c2b06ba137e0f60b9b2e87a1e8a14a9e427646587fad51d5e2ee7cee398c8e89b50e3612cd12e57d55cb4334be91ae1c9f1ef000712f EBUILD byte-buddy-1.12.14.ebuild 6733 BLAKE2B ce062dbe393a761d43e64cc4cf41edea638a3eaf31ff6151cc2c6a9ac2737e878f0718b41486d5766286b824ba7d8092aa112bd5f373e5b87f8a0cec2baf2b19 SHA512 5568d986f73bf6ff41b538a7816cca17f3bdc7128656f0601655dfb259ff88255a3961880cf2a005050e4d831238e657e9c8a6fd934e59ee9dd7fc0ab0cfcc1a MISC metadata.xml 440 BLAKE2B ef73e69de33dc6bbea38c81b8744fad5ce4764644d9cc6168d7c0f175856e30c3a577ffc597f25f8caf26bacfd80663b55eddde047a346fcb582d883269233b9 SHA512 b27c92e768c2783c90c8b4693c3265a9533a09abe76b2b3bd54e3865d270eed91414fcd89513bc30feb0243ea21f63d354b907b74eb18e98f899811101a6c956 diff --git a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild b/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild deleted file mode 100644 index 7e2916ecb2f8..000000000000 --- a/dev-java/byte-buddy/byte-buddy-1.12.13.ebuild +++ /dev/null @@ -1,153 +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/raphw/byte-buddy/archive/byte-buddy-1.12.13.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild byte-buddy-1.12.13.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="net.bytebuddy:byte-buddy-agent:1.12.13" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Offers convenience for attaching an agent to the local or a remote VM" -HOMEPAGE="https://bytebuddy.net" -SRC_URI="https://github.com/raphw/${PN}/archive/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -DEPEND=" - >=virtual/jdk-11:* - dev-java/asm:9 - dev-java/findbugs-annotations:0 - dev-java/jna:4 - dev-java/jsr305:0 - test? ( - dev-java/mockito:4 - ) -" - -RDEPEND=" - >=virtual/jre-1.8:* -" - -S="${WORKDIR}/${PN}-${P}" - -JAVA_CLASSPATH_EXTRA=" - asm-9 - findbugs-annotations - jsr305 - jna-4 -" - -src_prepare() { - default - # https://github.com/raphw/byte-buddy/blob/byte-buddy-1.12.12/byte-buddy-agent/pom.xml#L132-L165 - cat > byte-buddy-agent/src/main/java/module-info.java <<-EOF - module net.bytebuddy.agent { - requires java.instrument; - requires static jdk.attach; - requires static com.sun.jna; - requires static com.sun.jna.platform; - requires java.base; - exports net.bytebuddy.agent; - exports net.bytebuddy.agent.utility.nullability; - } - EOF - - sed \ - -e 's:verifyZeroInteractions:verifyNoInteractions:g' \ - -i byte-buddy-dep/src/test/java/net/bytebuddy/*.java \ - -i byte-buddy-dep/src/test/java/net/bytebuddy/*/*Test.java \ - -i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*Test.java \ - -i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*Test.java \ - -i byte-buddy-dep/src/test/java/net/bytebuddy/*/*/*/*/*Test.java \ - || die -} - -src_compile() { - einfo "Compiling byte-buddy-agent.jar" - JAVA_SRC_DIR="byte-buddy-agent/src/main/java" - JAVA_RESOURCE_DIRS="byte-buddy-agent/src/main/resources" - JAVA_JAR_FILENAME="byte-buddy-agent.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-agent.jar" - rm -r target || die - -# For pkgdiff to compare the content of module-info.class -# mkdir -p META-INF/versions/9 || die -# cp target/classes/module-info.class META-INF/versions/9/ || die -# jar -uf byte-buddy.jar -C . META-INF/versions/9/module-info.class || die - - einfo "Compiling byte-buddy-dep.jar" - JAVA_SRC_DIR="byte-buddy-dep/src/main/java" - JAVA_RESOURCE_DIRS=() - JAVA_JAR_FILENAME="byte-buddy-dep.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":byte-buddy-dep.jar" - rm -r target || die - - if use doc; then - einfo "Compiling javadocs" - JAVA_SRC_DIR=( - "byte-buddy-agent/src/main/java" - "byte-buddy-dep/src/main/java" - ) - JAVA_JAR_FILENAME="ignoreme.jar" - java-pkg-simple_src_compile - fi -} - -src_test() { - JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4" - - # einfo "Setting -Djava.library.path" - # This would work only after manually adding libjnidispatch.so to /usr/share/jna-4/lib/jna.jar, - # done with ( jar -uf /usr/share/jna-4/lib/jna.jar -C . com/sun/jna/linux-x86-64/libjnidispatch ) -# JAVA_TEST_EXTRA_ARGS=( -Djava.library.path+="$(java-config -i jna-4)" com.sun.jna.Native ) - # Otherwise fails with: - # Exception in thread "main" java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path - - einfo "Testing byte-buddy-agent" - JAVA_TEST_SRC_DIR="byte-buddy-agent/src/test/java" - # Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path - JAVA_TEST_EXCLUDES=( - net.bytebuddy.agent.VirtualMachineAttachmentTest - ) - java-pkg-simple_src_test - - einfo "Testing byte-buddy-dep" - JAVA_TEST_SRC_DIR="byte-buddy-dep/src/test/java" - JAVA_TEST_RESOURCE_DIRS=( - byte-buddy-dep/src/test/resources - byte-buddy-dep/src/test/precompiled* - ) - - # what "mvn test" does with java 17 is: - # Tests run: 9855, Failures: 0, Errors: 0, Skipped: 0 - JAVA_TEST_EXCLUDES+=( - net.bytebuddy.pool.TypePoolDefaultMethodDescriptionTest # 39 tests - # v1.12.13 - net.bytebuddy.build.CachedReturnPluginTest # 44 tests - net.bytebuddy.build.CachedReturnPluginOtherTest # 4 tests - ) - java-pkg-simple_src_test -} - -src_install() { - java-pkg_dojar "byte-buddy-agent.jar" - java-pkg_dojar "byte-buddy-dep.jar" - - if use doc; then - java-pkg_dojavadoc target/api - fi - - if use source; then - java-pkg_dosrc "byte-buddy-agent/src/main/java/*" - java-pkg_dosrc "byte-buddy-dep/src/main/java/*" - fi -} -- cgit v1.2.3