From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/javassist/
Date: Thu, 10 Nov 2022 09:26:37 +0000 (UTC) [thread overview]
Message-ID: <1668072390.28839f25077e6419d6a6db34e917fee5142c6f55.flow@gentoo> (raw)
commit: 28839f25077e6419d6a6db34e917fee5142c6f55
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Sep 15 09:30:51 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 09:26:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28839f25
dev-java/javassist: add 3.29.2
removes test restriction and specifically excludes failing tests
Bug: https://bugs.gentoo.org/856364
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27267
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-java/javassist/Manifest | 1 +
dev-java/javassist/javassist-3.29.2.ebuild | 79 ++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/dev-java/javassist/Manifest b/dev-java/javassist/Manifest
index d90bb379ee88..c9f70c72fe7c 100644
--- a/dev-java/javassist/Manifest
+++ b/dev-java/javassist/Manifest
@@ -1 +1,2 @@
DIST javassist-3.29.1.tar.gz 1291658 BLAKE2B 4064401ad01c1e1c9aa4a219a81f0fc2e67b1d4cb85cb98b4a996dd2bf789ee1feb790e5bb332205ef2fafe1c7ac0ea82e5e25afff4d9960c54dfe2cb895d0fd SHA512 5788a4a50b803b2a4520340ceae9fd47466d2004cce4138fd861b57fd760109c61c375a28bd907bb9dfeb56bd44734f003ddd1b550571f101a7d1bc04096b5f8
+DIST javassist-3.29.2.tar.gz 1293705 BLAKE2B 23101970a3fe9e4428b9e2e55ec2973663b537b2e205db55952bce116eb0cdd327e156f9bebf16a3c4322d8e5002d612067b14e8d234e87524361b5f08c9ecde SHA512 651f48d9138b54d4816611c077614bbb15f8189d755c2c2c7e5c2dfb35ad8f48cd9d2e0532edbd565456a923b3166eaecdde8702d65c70a32eb21c2d42f67bfc
diff --git a/dev-java/javassist/javassist-3.29.2.ebuild b/dev-java/javassist/javassist-3.29.2.ebuild
new file mode 100644
index 000000000000..5c7d808762a4
--- /dev/null
+++ b/dev-java/javassist/javassist-3.29.2.ebuild
@@ -0,0 +1,79 @@
+# 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_2_ga.tar.gz --slot 3 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild javassist-3.29.2.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.javassist:javassist:3.29.2-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"
+
+# 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:*
+ test? ( dev-java/hamcrest-library:1.3 )"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( Changes.md README.md )
+HTML_DOCS=( tutorial/{brown.css,tutorial.html,tutorial2.html,tutorial3.html} )
+
+S="${WORKDIR}/${PN}-rel_${PV//./_}_ga"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.javassist"
+JAVA_MAIN_CLASS="javassist.CtClass"
+JAVA_NEEDS_TOOLS=1
+JAVA_SRC_DIR="src/main"
+
+JAVA_TEST_GENTOO_CLASSPATH="hamcrest-library-1.3,junit-4"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_RUN_ONLY="javassist.JvstTest" # pom.xml, line 167
+JAVA_TEST_SRC_DIR="src/test"
+
+src_prepare() {
+ default
+ java-pkg_clean javassist.jar
+ sed -e 's:\.\./\.\./::' -i src/test/javassist/JvstTest{4,Root}.java || die
+
+ # Tests run: 432, Failures: 6
+ # https://bugs.gentoo.org/856364
+ # Cannot solve those test failures.
+ # replacing test... with notTest... for those tests
+ sed \
+ -e '/public void/s:testInsertAt:notTestInsertAt:' \
+ -e '/public void/s:testInsertLocal:notTestInsertLocal:' \
+ -e '/public void/s:testNewArray:notTestNewArray:' \
+ -e '/public void/s:testURL:notTestURL:' \
+ -i src/test/javassist/JvstTest2.java || die
+
+ sed \
+ -e '/public void/s:testMethodParameters:notTestMethodParameters:' \
+ -i src/test/javassist/JvstTest4.java || die
+
+ sed \
+ -e '/public void/s:testLocalVarAttribute:notTestLocalVarAttribute:' \
+ -i src/test/javassist/bytecode/BytecodeTest.java || die
+}
+
+src_test() {
+ default
+ einfo "Testing"
+ JAVA_PKG_WANT_SOURCE=11
+ JAVA_PKG_WANT_TARGET=11
+ java-pkg-simple_src_test
+}
next reply other threads:[~2022-11-10 9:26 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-10 9:26 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-15 6:12 [gentoo-commits] repo/gentoo:master commit in: dev-java/javassist/ Miroslav Šulc
2024-12-21 10:11 Miroslav Šulc
2024-12-20 15:43 Sam James
2024-12-08 7:32 Miroslav Šulc
2024-12-08 7:32 Miroslav Šulc
2024-12-08 7:32 Miroslav Šulc
2022-12-11 7:58 Miroslav Šulc
2022-12-10 17:38 Sam James
2022-12-10 14:59 Arthur Zamarin
2022-12-10 14:33 Arthur Zamarin
2022-12-10 14:33 Arthur Zamarin
2022-10-14 7:23 Arthur Zamarin
2022-10-13 23:39 Sam James
2022-10-12 19:22 Sam James
2022-10-12 19:22 Sam James
2022-10-12 18:56 Arthur Zamarin
2022-09-12 9:48 Florian Schmaus
2022-08-20 4:02 Miroslav Šulc
2022-08-19 16:54 Sam James
2022-08-19 16:54 Sam James
2022-08-19 6:16 Arthur Zamarin
2022-08-19 5:54 Arthur Zamarin
2022-07-19 19:26 Florian Schmaus
2022-07-19 19:26 Florian Schmaus
2022-07-16 14:46 Florian Schmaus
2022-07-16 14:46 Florian Schmaus
2022-07-09 17:42 Florian Schmaus
2022-07-05 11:41 Florian Schmaus
2022-07-05 11:41 Florian Schmaus
2022-01-13 16:36 Florian Schmaus
2021-12-01 18:56 Sam James
2021-12-01 7:16 Arthur Zamarin
2021-11-25 4:15 Sam James
2021-11-25 4:14 Sam James
2021-11-25 4:11 Sam James
2021-11-13 8:29 Sam James
2021-10-10 23:50 Sam James
2021-04-05 10:35 Miroslav Šulc
2017-07-13 20:42 Alexis Ballier
2015-08-29 22:01 Patrice Clement
2015-08-29 22:01 Patrice Clement
2015-08-29 22:01 Patrice Clement
2015-08-28 13:53 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1668072390.28839f25077e6419d6a6db34e917fee5142c6f55.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox