From 5fd9be605a6e319abf6d54e10b4e781dd3cd0f68 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Mon, 20 Mar 2023 08:26:16 +0100 Subject: dev-java/java-dep-check: fixed opcode version in the java file to be the same as the asm dep version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Šulc --- dev-java/java-dep-check/files/Main-0.5.java | 2 +- .../java-dep-check/java-dep-check-0.5-r1.ebuild | 28 ---------------------- .../java-dep-check/java-dep-check-0.5-r2.ebuild | 28 ++++++++++++++++++++++ 3 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild create mode 100644 dev-java/java-dep-check/java-dep-check-0.5-r2.ebuild (limited to 'dev-java/java-dep-check') diff --git a/dev-java/java-dep-check/files/Main-0.5.java b/dev-java/java-dep-check/files/Main-0.5.java index bcd6b4f2a9d6..b8a1e053e301 100644 --- a/dev-java/java-dep-check/files/Main-0.5.java +++ b/dev-java/java-dep-check/files/Main-0.5.java @@ -73,7 +73,7 @@ public final class Main extends ClassVisitor { * Empty Constructor, sets ASM op code version */ public Main() { - super(Opcodes.ASM5); + super(Opcodes.ASM9); } /** diff --git a/dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild b/dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild deleted file mode 100644 index 39cd7d500a85..000000000000 --- a/dev-java/java-dep-check/java-dep-check-0.5-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2016-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java Dependency checker" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -CP_DEPEND=" - dev-java/commons-cli:1 - dev-java/asm:9" -RDEPEND=">=virtual/jre-1.8:* - ${CP_DEPEND}" -DEPEND=">=virtual/jdk-1.8:* - ${CP_DEPEND}" - -JAVA_LAUNCHER_FILENAME="${PN}" -JAVA_MAIN_CLASS="javadepchecker.Main" - -src_unpack() { - cp "${FILESDIR}/Main-${PV}.java" Main.java || die -} diff --git a/dev-java/java-dep-check/java-dep-check-0.5-r2.ebuild b/dev-java/java-dep-check/java-dep-check-0.5-r2.ebuild new file mode 100644 index 000000000000..39cd7d500a85 --- /dev/null +++ b/dev-java/java-dep-check/java-dep-check-0.5-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 2016-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java Dependency checker" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +CP_DEPEND=" + dev-java/commons-cli:1 + dev-java/asm:9" +RDEPEND=">=virtual/jre-1.8:* + ${CP_DEPEND}" +DEPEND=">=virtual/jdk-1.8:* + ${CP_DEPEND}" + +JAVA_LAUNCHER_FILENAME="${PN}" +JAVA_MAIN_CLASS="javadepchecker.Main" + +src_unpack() { + cp "${FILESDIR}/Main-${PV}.java" Main.java || die +} -- cgit v1.2.3-65-gdbad