diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /dev-java/javassist | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'dev-java/javassist')
-rw-r--r-- | dev-java/javassist/Manifest | 4 | ||||
-rw-r--r-- | dev-java/javassist/javassist-3.29.0.ebuild | 70 | ||||
-rw-r--r-- | dev-java/javassist/metadata.xml | 3 |
3 files changed, 76 insertions, 1 deletions
diff --git a/dev-java/javassist/Manifest b/dev-java/javassist/Manifest index 880314dd575f..072b244da5aa 100644 --- a/dev-java/javassist/Manifest +++ b/dev-java/javassist/Manifest @@ -1,3 +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 -MISC metadata.xml 377 BLAKE2B 4503d9387a65e6f722a3694870c9a9b36a2a1ccc09a2635372d386484a4113c507ade595283ee1f77038517f87814e923bb2f342e226eabb900abb9fdea9b407 SHA512 159f9374d2b9ce20eb531961e35dff0cf90b93eac4a929d1c4cf85242b50bac082ee3bd6dab5cae10dd9cd50a19b7af650df379e27d3238f12794b75ddcbeeb8 +EBUILD javassist-3.29.0.ebuild 1995 BLAKE2B 3156102029db6e1a485bc3425f43549c026849f438d5e974a66c8a78ac73eca8c36b562b1edb6cc005f2e088f0ed6eb8385107523e2a701a67f38536f371f9eb SHA512 4659ed0839689127e20604aa70ad44d38200661eac574fe6373e9f6f9e7a7a5e87757a3a6d1a9b01a53b3115da72932ace439c4c24fde937684dbb71bcc519e8 +MISC metadata.xml 551 BLAKE2B c2f226813733db484e082189bb9420fa19eea8d5f95f751cf42305f110dc6b8a6e07370d9e3bca4be9dfac71333c86e95fb5e3f48543ca0041c2e2a4d96808b0 SHA512 b6b193720397459d3133bed6d0e93973084375684f1df77f93703f9cadf06e0a23e2798a13edf70c67642a656d5e5ef24aef2c032c71b65bc215622dbe42c1e2 diff --git a/dev-java/javassist/javassist-3.29.0.ebuild b/dev-java/javassist/javassist-3.29.0.ebuild new file mode 100644 index 000000000000..712141e86f6e --- /dev/null +++ b/dev-java/javassist/javassist-3.29.0.ebuild @@ -0,0 +1,70 @@ +# 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=" + !test? ( + >=virtual/jdk-8:* + ) + test? ( + >=virtual/jdk-11:* + dev-java/hamcrest-library:1.3 + ) +" + +# 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 +# <include>javassist/JvstTest.java</include> +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/metadata.xml b/dev-java/javassist/metadata.xml index 56e992840bfc..ff67a27c5ef0 100644 --- a/dev-java/javassist/metadata.xml +++ b/dev-java/javassist/metadata.xml @@ -9,4 +9,7 @@ <remote-id type="sourceforge">jboss</remote-id> <remote-id type="github">jboss-javassist/javassist</remote-id> </upstream> + <longdescription> + Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java. + </longdescription> </pkgmetadata> |