From 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Apr 2024 12:04:03 +0100 Subject: gentoo auto-resync : 15:04:2024 - 12:04:02 --- dev-java/cglib/Manifest | 2 +- dev-java/cglib/cglib-3.3.0-r1.ebuild | 71 ------------------------------------ dev-java/cglib/cglib-3.3.0-r2.ebuild | 71 ++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 72 deletions(-) delete mode 100644 dev-java/cglib/cglib-3.3.0-r1.ebuild create mode 100644 dev-java/cglib/cglib-3.3.0-r2.ebuild (limited to 'dev-java/cglib') diff --git a/dev-java/cglib/Manifest b/dev-java/cglib/Manifest index 0e89cb99a2e6..f13b635bc7ed 100644 --- a/dev-java/cglib/Manifest +++ b/dev-java/cglib/Manifest @@ -1,3 +1,3 @@ DIST cglib-RELEASE_3_3_0.tar.gz 151490 BLAKE2B d7ca4cc9ea6dad9f7a827c784ad13f93e8f31c817c5a0182a86b2ba759ccd3dfbec88d5178507599cd08a97a1ef13ba4880cab016b68b92dda3358bfb0a751c0 SHA512 635dcdb10a8fe83887a1dc8cf12844fe61b73a12fb530bf84d6ac53f75b0103820d76518cbc0d93d63dba86d13929f0df4dbae3b4943a402cf9f2af76f44161a -EBUILD cglib-3.3.0-r1.ebuild 2076 BLAKE2B c422f04f799d55ffc657dd28d05ab0b5fe598c352ded8ebcbc941f1e317c68fcde850f25b5daca101c3ad611380702cd264c3e05d00411c0cc9a8d207421dd10 SHA512 25820a58538d0b281fdbe6579ba1f7ffff7a28cf4f6a77227eefc4fe1873c83f6cd0dc271985520c3119fcac8f102a0f1eca3f65400b93524313bd284371b9d7 +EBUILD cglib-3.3.0-r2.ebuild 2057 BLAKE2B d85c553f6a9a2b110f7fd15683422000f262b40113df5197d303962cd8ddb3c82483aadf11a9d004a30237f3a7200b051f0b824176bae4ad9f49c54f8a6151e1 SHA512 c8507f10d9540fd69641fe00d1f7a0ccda7d8a77645452a0c1f0a28b11b088214db01d848dcf3134a6fa7c9054fb2bc575e6f26d3d7f42d86258d033db32ccaf MISC metadata.xml 663 BLAKE2B b64f3da3e4d1dd5ac67867d982f124244f81c03e91b5d7140ee1b16a0fd0250751d41debf9a228150569b7e750929942d011afb0872e3e5098e6106639e0ee3b SHA512 d05d3d71c2511c289c2d1cd4ba638cdc488ee5ea5a8a0da8145929befb41c3efa64f672f12584974239039536c68051f7665730221364ffd20fb8f301672db42 diff --git a/dev-java/cglib/cglib-3.3.0-r1.ebuild b/dev-java/cglib/cglib-3.3.0-r1.ebuild deleted file mode 100644 index 64fd2b7900fc..000000000000 --- a/dev-java/cglib/cglib-3.3.0-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# doc USE flag is not in IUSE as the docs does not compile because of errors -JAVA_PKG_IUSE="examples source test" -MAVEN_ID="cglib:cglib:3.3.0" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -MY_PV=RELEASE_${PV//./_} -MY_P=cglib-${MY_PV} - -DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library" -HOMEPAGE="https://github.com/cglib/cglib" -SRC_URI="https://github.com/cglib/cglib/archive//${MY_PV}.tar.gz -> ${MY_P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="3" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CDEPEND="dev-java/ant-core:0 - dev-java/asm:9 -" -DEPEND=" - >=virtual/jdk-1.8:* - ${CDEPEND} -" -RDEPEND=" - >=virtual/jre-1.8:* - ${CDEPEND} -" - -S="${WORKDIR}" - -JAVA_GENTOO_CLASSPATH="asm-9 ant-core" -JAVA_SRC_DIR="${MY_P}/${PN}/src/main/java" -JAVA_RESOURCE_DIRS="${MY_P}/${PN}/src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="${MY_P}/${PN}/src/test/java" -JAVA_TEST_EXCLUDES=( - "net.sf.cglib.CodeGenTestCase" # not a test class - "net.sf.cglib.TestAll" - "net.sf.cglib.TestGenerator" # not a test class - "net.sf.cglib.proxy.TestEnhancer" # broken tests - "net.sf.cglib.proxy.TestInterceptor" # not a test class - "net.sf.cglib.reflect.TestFastClass" # broken tests -) - -src_test() { - # Caused by: net.sf.cglib.core.CodeGenerationException: - # java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class - # java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) - # throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" 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.lang=ALL-UNNAMED ) - fi - - java-pkg-simple_src_test -} - -src_install() { - java-pkg-simple_src_install - - use examples && java-pkg_doexamples --subdir samples ${MY_P}/cglib-sample/src/main/java -} diff --git a/dev-java/cglib/cglib-3.3.0-r2.ebuild b/dev-java/cglib/cglib-3.3.0-r2.ebuild new file mode 100644 index 000000000000..fc4bba040586 --- /dev/null +++ b/dev-java/cglib/cglib-3.3.0-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# doc USE flag is not in IUSE as the docs does not compile because of errors +JAVA_PKG_IUSE="examples source test" +MAVEN_ID="cglib:cglib:3.3.0" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +MY_PV=RELEASE_${PV//./_} +MY_P=cglib-${MY_PV} + +DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library" +HOMEPAGE="https://github.com/cglib/cglib" +SRC_URI="https://github.com/cglib/cglib/archive//${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +CP_DEPEND=" + >=dev-java/ant-1.10.14-r3:0 + dev-java/asm:9 +" +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} +" +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +JAVA_SRC_DIR="${MY_P}/${PN}/src/main/java" +JAVA_RESOURCE_DIRS="${MY_P}/${PN}/src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="${MY_P}/${PN}/src/test/java" +JAVA_TEST_EXCLUDES=( + "net.sf.cglib.CodeGenTestCase" # not a test class + "net.sf.cglib.TestAll" + "net.sf.cglib.TestGenerator" # not a test class + "net.sf.cglib.proxy.TestEnhancer" # broken tests + "net.sf.cglib.proxy.TestInterceptor" # not a test class + "net.sf.cglib.reflect.TestFastClass" # broken tests +) + +src_test() { + # Caused by: net.sf.cglib.core.CodeGenerationException: + # java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class + # java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) + # throws java.lang.ClassFormatError accessible: \ + # module java.base does not "opens java.lang" 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.lang=ALL-UNNAMED ) + fi + + java-pkg-simple_src_test +} + +src_install() { + java-pkg-simple_src_install + + use examples && java-pkg_doexamples --subdir samples ${MY_P}/cglib-sample/src/main/java +} -- cgit v1.2.3