From 1fd4e372381e1318aae1b7d3338c04156e5da974 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Jul 2022 19:46:11 +0100 Subject: gentoo auto-resync : 16:07:2022 - 19:46:10 --- dev-java/javassist/Manifest | 2 +- dev-java/javassist/javassist-3.29.0-r1.ebuild | 62 +++++++++++++++++++++++++++ dev-java/javassist/javassist-3.29.0.ebuild | 62 --------------------------- 3 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 dev-java/javassist/javassist-3.29.0-r1.ebuild delete mode 100644 dev-java/javassist/javassist-3.29.0.ebuild (limited to 'dev-java/javassist') diff --git a/dev-java/javassist/Manifest b/dev-java/javassist/Manifest index dad1474393bb..c023a1590213 100644 --- a/dev-java/javassist/Manifest +++ b/dev-java/javassist/Manifest @@ -1,5 +1,5 @@ DIST javassist-3.18.2.tar.gz 1179428 BLAKE2B cc7dfebca2e47576f902e6249c1efb65c18823e75ba3698c2d94541bdc910b9b7547e8619c1f19a84c158771230ddd112ddb0445ed97cd64810beacf3468a1ba SHA512 67f22a70584eba31088d63b7862f0f7872a6a7ec57f4397b95044695af75be005e86aa5a5f20fe8e650c2178a9b63b4b922accf940b46ceb1c8e7ce9c51798ca DIST javassist-3.29.0.tar.gz 1290728 BLAKE2B 21543fe4d81cc46fa8d6530e8b5b821df64af31404831d15255fe7d362fe40de39451f4e6a264986ce7b8fdb16116c3266a522caf24a2df6a91cc7203354e070 SHA512 9487d4b6e1d7981360f768f2ebe7e8313c103752cc458eb454fffcf6714f62952cc772e920ee663e89cd51cd6a2669993f5595e682ec74313799eff32144541c EBUILD javassist-3.18.2-r1.ebuild 1028 BLAKE2B 9bc9eccea4e5d896eddbbad826a95504d54cc4b352189b3dd0ad6a56dfc34641e3e800dc99aa2348c565e03fee46534b3ad19633283670380a0bdf44a635cce0 SHA512 75eb795cd8a27728e57fc168c78fb1b2aaa5d2666432690e1e20690b64a955a6471aacba04101dc2c80f1dd4afd68ebe00e9c176d1b6bce412032ff173cefbb3 -EBUILD javassist-3.29.0.ebuild 1914 BLAKE2B 3c9d3a57135b4ba86fd826c018794925f2f7a3b878753fa4c99294a5d73e31d24aa25aa0e92ebd842720ba6bf6b3d62404c81fce13dd803f956527302645026c SHA512 62e4ef27c082821b4bf0e44b930fab81f42ab70d80005d9a9f66b63569d3f7858ff839be6e6226bd713e00a504d0cdb30c629a8f3048902bb8a3974929f5f56b +EBUILD javassist-3.29.0-r1.ebuild 1917 BLAKE2B aaa5605c6172118bb8db7e507608bde93d3fc834061a2edb8cd2b08ea035a9777f6ab641e15d964fe6ca7a387e825edd0cc51eda526fbad39c155a2ad26249f6 SHA512 b23893ce864bf9cf466acbcc09ce147abd29e32ddf87d863cd1b5b6ee638a1b4cd9361bb05739a5e7173380d38c8ba3cc15d9e60e5fe44a0f190ded87da768e0 MISC metadata.xml 551 BLAKE2B c2f226813733db484e082189bb9420fa19eea8d5f95f751cf42305f110dc6b8a6e07370d9e3bca4be9dfac71333c86e95fb5e3f48543ca0041c2e2a4d96808b0 SHA512 b6b193720397459d3133bed6d0e93973084375684f1df77f93703f9cadf06e0a23e2798a13edf70c67642a656d5e5ef24aef2c032c71b65bc215622dbe42c1e2 diff --git a/dev-java/javassist/javassist-3.29.0-r1.ebuild b/dev-java/javassist/javassist-3.29.0-r1.ebuild new file mode 100644 index 000000000000..40cf2a69b850 --- /dev/null +++ b/dev-java/javassist/javassist-3.29.0-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/jboss-javassist/javassist/archive/rel_3_29_0_ga.tar.gz --slot 3 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild javassist-3.29.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.javassist:javassist:3.29.0-GA" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A class library for editing bytecodes in Java." +HOMEPAGE="https://www.javassist.org" +SRC_URI="https://github.com/jboss-javassist/javassist/archive/rel_${PV//./_}_ga.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 LGPL-2.1 MPL-1.1" +SLOT="3.29" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +# Tests run: 431, Failures: 6 +# Cannot solve those test failures. Using "mvn test" they all pass. +# https://bugs.gentoo.org/856364 +RESTRICT="test" + +# Compile dependencies +# POM: pom.xml +# test? junit:junit:[4.13.1,) -> >=dev-java/junit-4.13.2:4 +# test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!! + +DEPEND=">=virtual/jdk-11:*" + +# https://github.com/jboss-javassist/javassist/blob/rel_3_29_0_ga/pom.xml#L156-L157 +RDEPEND=">=virtual/jre-8:*" + +S="${WORKDIR}/${PN}-rel_${PV//./_}_ga" + +JAVA_NEEDS_TOOLS=1 +JAVA_SRC_DIR="src/main" +JAVA_MAIN_CLASS="javassist.CtClass" + +JAVA_TEST_GENTOO_CLASSPATH="hamcrest-library-1.3,junit-4" +JAVA_TEST_SRC_DIR="src/test" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +# https://github.com/jboss-javassist/javassist/blob/rel_3_29_0_ga/pom.xml#L166-L168 +# javassist/JvstTest.java +JAVA_TEST_RUN_ONLY="javassist.JvstTest" + +src_prepare() { + default + java-pkg_clean javassist.jar + sed -e 's:\.\./\.\./::' -i src/test/javassist/JvstTest{4,Root}.java || die +} + +src_test() { + default + einfo "Testing" + java-pkg-simple_src_test +} diff --git a/dev-java/javassist/javassist-3.29.0.ebuild b/dev-java/javassist/javassist-3.29.0.ebuild deleted file mode 100644 index 0f29828ce5cb..000000000000 --- a/dev-java/javassist/javassist-3.29.0.ebuild +++ /dev/null @@ -1,62 +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/jboss-javassist/javassist/archive/rel_3_29_0_ga.tar.gz --slot 3 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild javassist-3.29.0.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.javassist:javassist:3.29.0-GA" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A class library for editing bytecodes in Java." -HOMEPAGE="https://www.javassist.org" -SRC_URI="https://github.com/jboss-javassist/javassist/archive/rel_${PV//./_}_ga.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 LGPL-2.1 MPL-1.1" -SLOT="3" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" - -# Tests run: 431, Failures: 6 -# Cannot solve those test failures. Using "mvn test" they all pass. -# https://bugs.gentoo.org/856364 -RESTRICT="test" - -# Compile dependencies -# POM: pom.xml -# test? junit:junit:[4.13.1,) -> >=dev-java/junit-4.13.2:4 -# test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!! - -DEPEND=">=virtual/jdk-11:*" - -# https://github.com/jboss-javassist/javassist/blob/rel_3_29_0_ga/pom.xml#L156-L157 -RDEPEND=">=virtual/jre-8:*" - -S="${WORKDIR}/${PN}-rel_${PV//./_}_ga" - -JAVA_NEEDS_TOOLS=1 -JAVA_SRC_DIR="src/main" -JAVA_MAIN_CLASS="javassist.CtClass" - -JAVA_TEST_GENTOO_CLASSPATH="hamcrest-library-1.3,junit-4" -JAVA_TEST_SRC_DIR="src/test" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -# https://github.com/jboss-javassist/javassist/blob/rel_3_29_0_ga/pom.xml#L166-L168 -# javassist/JvstTest.java -JAVA_TEST_RUN_ONLY="javassist.JvstTest" - -src_prepare() { - default - java-pkg_clean javassist.jar - sed -e 's:\.\./\.\./::' -i src/test/javassist/JvstTest{4,Root}.java || die -} - -src_test() { - default - einfo "Testing" - java-pkg-simple_src_test -} -- cgit v1.2.3