From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/asm/
Date: Tue, 01 Apr 2025 13:58:41 +0000 (UTC) [thread overview]
Message-ID: <1743515881.4db94422e4714ed4301aebe7a29ba0ccd24f8ccf.flow@gentoo> (raw)
commit: 4db94422e4714ed4301aebe7a29ba0ccd24f8ccf
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Mar 31 16:57:05 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 1 13:58:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db94422
dev-java/asm: add 9.8
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-java/asm/Manifest | 1 +
dev-java/asm/asm-9.8.ebuild | 97 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest
index dcec05010889..749f510e495f 100644
--- a/dev-java/asm/Manifest
+++ b/dev-java/asm/Manifest
@@ -1,2 +1,3 @@
DIST asm-ASM_9_7_1.tar.bz2 1378103 BLAKE2B f7da3a9c1bcf76398c9e9b9b86d60f8854e5248632a8b2d76605851e29ee1807713fb28c9e76012ec8f9444c44e3a151ed409cd120c34ab8d3495fdc9c84edcb SHA512 77ae76464eec97dbc8129c4a746d13f0d286d2033f909b65e0e34858e1785616b7bee22faa92128b91eb39cbd849e262efe574b73ed2859920add457d6422dd0
+DIST asm-ASM_9_8.tar.bz2 1378904 BLAKE2B 8ace6a729e28569d21b3b2104d6256836ce552f9e571f62fbf994675ca5dcda846abbaa80ec5cede0ab06e519abfaa6745679733f6780be4d16f3e266651e850 SHA512 61142b14a3e1b9873a71057ef649dce3f40cf7553cf536213bee373ddc3320d4e183290adec5274f31562262845dab4505b16f64ba1be3c9893b6a11d1169370
DIST asm-cc341b5f0c24ea6688f615faff597612f0d596fb.tar.bz2 1380914 BLAKE2B f60f866ea14d63ae763212aebed715294eef3019f9878ebbbc80a63283e5176a446a90419c09e8a9210359e481a7aabb1977716d6467b77af0d3166c669c3676 SHA512 ce9adbf3e9c4d7f947e7ca63f51983c6d9bb4d4af73934c6779802caa242bc4d7f552069a8b835c16d8d32027fb4e634236adfd10f27a5563ed80fdc81b1a53d
diff --git a/dev-java/asm/asm-9.8.ebuild b/dev-java/asm/asm-9.8.ebuild
new file mode 100644
index 000000000000..28ed404f256f
--- /dev/null
+++ b/dev-java/asm/asm-9.8.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# tests not enabled because of missing eclass support of junit-jupiter
+JAVA_PKG_IUSE="doc source"
+MAVEN_PROVIDES="
+ org.ow2.asm:asm-bom:${PV}
+ org.ow2.asm:asm:${PV}
+ org.ow2.asm:asm-analysis:${PV}
+ org.ow2.asm:asm-commons:${PV}
+ org.ow2.asm:asm-tree:${PV}
+ org.ow2.asm:asm-util:${PV}
+"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Bytecode manipulation framework for Java"
+HOMEPAGE="https://asm.ow2.io"
+MY_P="ASM_${PV//./_}"
+SRC_URI="https://gitlab.ow2.org/asm/asm/-/archive/${MY_P}/asm-${MY_P}.tar.bz2"
+S="${WORKDIR}/asm-${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x64-macos"
+
+DEPEND=">=virtual/jdk-11:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+ASM_MODULES=( "asm" "asm-tree" "asm-analysis" "asm-commons" "asm-util" )
+JAVADOC_SRC_DIRS=(
+ asm/src/main/java
+ asm-tree/src/main/java
+ asm-analysis/src/main/java
+ asm-commons/src/main/java
+ asm-util/src/main/java
+)
+
+src_prepare() {
+ default
+ local module
+ touch asm.module || die
+ for module in "${ASM_MODULES[@]}"; do
+ module=${module/-/.}
+ cat > ${module/./-}/src/main/java/module-info.java <<-EOF || die
+ open module org.objectweb.${module/analysis/tree.analysis} {
+ $(cat asm.module)
+ requires java.base;
+ exports org.objectweb.${module/analysis/tree.analysis};
+ }
+ EOF
+ echo "requires transitive org.objectweb.${module/analysis/tree.analysis};" \
+ >> asm.module || die
+ done
+ sed -e '/^$/d' \
+ -e '/asm;/p;s:\(asm\)\(;\):\1.signature\2:' \
+ -i asm/src/main/java/module-info.java || die
+ sed -e '/analysis/d' \
+ -i asm-commons/src/main/java/module-info.java || die
+ sed -e '/commons/d' \
+ -i asm-util/src/main/java/module-info.java || die
+}
+
+src_compile() {
+ local module
+ for module in "${ASM_MODULES[@]}"; do
+ einfo "Compiling ${module}"
+ JAVA_JAR_FILENAME="${module}.jar"
+ JAVA_SRC_DIR="${module}/src/main/java"
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA+=":${module}.jar"
+ rm -r target || die
+ done
+
+ if use doc; then
+ einfo "Compiling javadocs"
+ for module in "${ASM_MODULES[@]}"; do
+ rm "${module}/src/main/java/module-info.java" || die
+ JAVA_SRC_DIR+=("${module}/src/main/java")
+ done
+ ejavadoc
+ fi
+}
+
+src_install() {
+ JAVA_JAR_FILENAME="asm.jar"
+ java-pkg-simple_src_install
+ local module
+ for module in asm-{analysis,commons,tree,util}; do
+ java-pkg_dojar ${module}.jar
+ if use source; then
+ java-pkg_dosrc "${module}/src/main/java/*"
+ fi
+ done
+}
next reply other threads:[~2025-04-01 13:58 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-01 13:58 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-16 13:22 [gentoo-commits] repo/gentoo:master commit in: dev-java/asm/ Miroslav Šulc
2025-10-16 13:22 Miroslav Šulc
2025-10-03 5:11 Sam James
2025-08-16 16:14 Miroslav Šulc
2025-07-10 7:51 Miroslav Šulc
2025-05-01 20:06 Arthur Zamarin
2025-04-30 14:04 Sam James
2025-04-30 14:04 Sam James
2025-04-30 12:45 Sam James
2025-02-05 12:15 Sam James
2025-02-04 16:54 Sam James
2025-02-04 15:47 Sam James
2025-01-06 10:30 Miroslav Šulc
2024-11-10 9:57 Miroslav Šulc
2024-11-10 6:40 Arthur Zamarin
2024-11-10 0:42 Jakov Smolić
2024-11-09 13:00 Sam James
2024-10-11 9:55 Miroslav Šulc
2024-10-10 16:20 Arthur Zamarin
2024-10-10 10:33 Miroslav Šulc
2024-09-29 10:59 Arthur Zamarin
2024-09-29 10:59 Arthur Zamarin
2024-09-29 10:59 Arthur Zamarin
2024-08-30 9:59 Miroslav Šulc
2023-11-18 8:34 Miroslav Šulc
2023-11-17 12:07 Sam James
2023-11-17 12:07 Sam James
2023-11-17 11:13 Sam James
2023-11-17 11:09 Sam James
2023-10-18 7:54 Miroslav Šulc
2023-08-01 7:19 Miroslav Šulc
2023-07-31 22:38 Sam James
2023-07-31 22:38 Sam James
2023-07-31 11:36 Sam James
2023-07-31 11:36 Sam James
2023-06-30 7:27 Miroslav Šulc
2023-02-28 12:47 Miroslav Šulc
2023-01-08 19:00 Arthur Zamarin
2023-01-08 18:28 Arthur Zamarin
2023-01-08 18:28 Arthur Zamarin
2023-01-08 18:06 Arthur Zamarin
2023-01-08 17:00 Arthur Zamarin
2022-12-10 3:43 Sam James
2022-12-09 10:59 Miroslav Šulc
2022-12-09 10:59 Miroslav Šulc
2022-12-09 8:18 Miroslav Šulc
2022-06-05 6:18 Miroslav Šulc
2022-06-04 11:15 Jakov Smolić
2022-06-04 10:44 Jakov Smolić
2022-06-03 21:32 Jakov Smolić
2022-06-03 21:32 Jakov Smolić
2022-05-04 19:51 Florian Schmaus
2021-11-21 10:25 Miroslav Šulc
2021-11-10 16:47 Sam James
2021-09-22 9:43 Miroslav Šulc
2021-08-27 20:04 Sam James
2021-08-27 20:00 Sam James
2021-08-27 20:00 Sam James
2021-07-28 5:14 Miroslav Šulc
2021-05-06 16:55 Miroslav Šulc
2021-05-02 17:55 Miroslav Šulc
2021-04-21 17:34 Miroslav Šulc
2021-04-07 6:21 Sam James
2021-04-05 16:45 Sam James
2021-04-05 16:43 Sam James
2021-04-04 21:21 Sergei Trofimovich
2021-03-30 8:56 Miroslav Šulc
2021-03-28 11:00 Sam James
2021-03-28 11:00 Sam James
2021-03-28 10:02 Agostino Sarubbo
2021-03-28 10:00 Agostino Sarubbo
2021-03-15 12:46 Miroslav Šulc
2021-03-15 8:17 Miroslav Šulc
2020-07-20 1:10 Sam James
2018-03-01 8:39 Michał Górny
2017-07-13 12:13 Alexis Ballier
2016-04-15 8:09 Patrice Clement
2016-02-19 20:26 Patrice Clement
2016-02-07 19:18 Patrice Clement
2016-02-07 19:18 Patrice Clement
2016-02-07 19:18 Patrice Clement
2016-02-07 19:18 Patrice Clement
2016-02-07 19:18 Patrice Clement
2015-11-09 9:27 Patrice Clement
2015-11-09 9:27 Patrice Clement
2015-11-09 9:27 Patrice Clement
2015-11-09 9:27 Patrice Clement
2015-11-09 9:27 Patrice Clement
2015-11-01 19:12 Patrice Clement
2015-10-13 10:38 Patrice Clement
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=1743515881.4db94422e4714ed4301aebe7a29ba0ccd24f8ccf.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