public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/asm/
Date: Wed,  4 May 2022 19:51:23 +0000 (UTC)	[thread overview]
Message-ID: <1651693607.259b2ba08576699efe7e9af86ccc1de9ea36f5eb.flow@gentoo> (raw)

commit:     259b2ba08576699efe7e9af86ccc1de9ea36f5eb
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon May  2 17:50:42 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed May  4 19:46:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259b2ba0

dev-java/asm: add 9.3

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25289
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/asm/Manifest       |  1 +
 dev-java/asm/asm-9.3.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest
index d11595f87be4..23ef00249b2f 100644
--- a/dev-java/asm/Manifest
+++ b/dev-java/asm/Manifest
@@ -1,3 +1,4 @@
 DIST asm-ASM_4_0.tar.gz 14789505 BLAKE2B 62b49d904f1ef2d32379f4f5d644cdc274b30f292ee4f64ad02be7d2226a90965f7b12421700e79dcd1e67a46e6a8543d5e353486a1577313616688ddc57f3b3 SHA512 e654623a882d9fe414e71861183f64840f7b6629231864872497d4bf9274e8ac05e05496593fa54a90d8c6a2e6d701b9a6f3876df611637f7d2079c5519def1e
 DIST asm-ASM_5_1.tar.gz 16258842 BLAKE2B bd7d717cdfa6ff652c96b88d7b7d33fae614acba390c256ea72ecfbb3edc48382621a076dedf9b8728fdb1d0961cda943f165f99de840824b766c9af45a49339 SHA512 4bb32ce6eba267928261238f8f13cd2365ab374780039ad1df31698cd791645a370aca58c44270ec05f8377d6aa0a0d00f9f3890961cbd32a10cbd2e79e2d518
 DIST asm-ASM_9_2.tar.gz 1614845 BLAKE2B 3fc0fb45d0583b06371452d2df166ce53f81a114a386eda96fe3b0c748beffdd42791d59ddfb4c9ad368f73728f3382855a7336324b013e937c20a4f31cea44b SHA512 a0077e3c1ebbd8a841d3556be4363383951244ba87670af45a8565e14ad3ac94ab89a23b934b3609190e1b16dd9663798c01d1c859eddb2e825c41908c2e2afd
+DIST asm-ASM_9_3.tar.gz 1666740 BLAKE2B 6905233f666159f861dda68a855e8f5632817b0627c2006d3a8e61340cd4afca9310860dd1eff46173ca7356583e6c44027e674f7e17eacaaf0dbcc24b92198e SHA512 401a4dd7c2638bbad940ca92c42b7ec6f44e1d19c407bba3cd6a081e0b51969cf62a0fbcc407ef4889d3c7d6c7b9893e77642c058f812e9d10b9d67c5215be42

diff --git a/dev-java/asm/asm-9.3.ebuild b/dev-java/asm/asm-9.3.ebuild
new file mode 100644
index 000000000000..1f60fa7df080
--- /dev/null
+++ b/dev-java/asm/asm-9.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.ow2.asm:asm-bom:9.3"
+
+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.gz"
+
+LICENSE="BSD"
+SLOT="9"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
+
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+ASM_MODULES=( "asm" "asm-tree" "asm-analysis" "asm-commons" "asm-util" )
+
+S="${WORKDIR}/asm-${MY_P}"
+
+src_compile() {
+	local module
+	for module in "${ASM_MODULES[@]}"; do
+		einfo "Compiling ${module}"
+		JAVA_RESOURCE_DIRS=()
+		JAVA_MAIN_CLASS=""
+		JAVA_SRC_DIR="$module/src/main/java"
+		JAVA_JAR_FILENAME="$module.jar"
+		# Not all of the modules have resources.
+		if [[ -d $module/src/main/resources ]]; then \
+			JAVA_RESOURCE_DIRS="$module/src/main/resources"
+		fi
+		java-pkg-simple_src_compile
+		JAVA_GENTOO_CLASSPATH_EXTRA+=":$module.jar"
+		rm -r target || die
+	done
+
+	if use doc; then
+		JAVA_SRC_DIR=()
+		JAVA_JAR_FILENAME="ignoreme.jar"
+		for module in "${ASM_MODULES[@]}"; do
+			JAVA_SRC_DIR+=( "$module/src/main/java" )
+		done
+		java-pkg-simple_src_compile
+	fi
+}
+
+src_install() {
+	einstalldocs # https://bugs.gentoo.org/789582
+	local module
+	for module in "${ASM_MODULES[@]}"; do
+		java-pkg_dojar $module.jar
+		if use source; then
+			java-pkg_dosrc "$module/src/main/java/*"
+		fi
+	done
+	if use doc; then
+		java-pkg_dojavadoc target/api
+	fi
+}


             reply	other threads:[~2022-05-04 19:51 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 19:51 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-10  9:57 [gentoo-commits] repo/gentoo:master commit in: dev-java/asm/ 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ć
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=1651693607.259b2ba08576699efe7e9af86ccc1de9ea36f5eb.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