summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-08-01 09:19:00 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-08-01 09:19:06 +0200
commite1c577e5e61bd13cbf3fed085d60aef10ec99a2e (patch)
tree47eabd9ca5e4acf30f44db6967eadb38c3df520a /dev-java/asm
parentnet-libs/libssh2: don't drop .a (diff)
downloadgentoo-e1c577e5e61bd13cbf3fed085d60aef10ec99a2e.tar.gz
gentoo-e1c577e5e61bd13cbf3fed085d60aef10ec99a2e.tar.bz2
gentoo-e1c577e5e61bd13cbf3fed085d60aef10ec99a2e.zip
dev-java/asm: dropped obsolete 9.4
Bug: https://bugs.gentoo.org/911514 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/asm')
-rw-r--r--dev-java/asm/Manifest1
-rw-r--r--dev-java/asm/asm-9.4.ebuild90
2 files changed, 0 insertions, 91 deletions
diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest
index aa0d704b4a4f..ec6cf25000d4 100644
--- a/dev-java/asm/Manifest
+++ b/dev-java/asm/Manifest
@@ -1,2 +1 @@
-DIST asm-ASM_9_4.tar.bz2 1380417 BLAKE2B 612fc6669294f2926ec77522f642f2878a96a9c977579ceda9feb955041ff53fa698c75b26c27bae478a41dca59357d9cf824263df39d60ea5c6722e5f0efc75 SHA512 a59268808ac54a238bd6e117eb0164d28c5c3572c12d7ad42c2f3dbd32714c03056f330255756511db4f1ede8d66bf32c7347128b8ec179beba11cca27927687
DIST asm-ASM_9_5.tar.bz2 1372645 BLAKE2B 3eac319c9322dfd9fff1324b032a2248127592107c0256adec6f0c592cf55298b9f060603e1697e7560db9b337585f59bfebea684dcefaf0b4a149061ebb915c SHA512 6c1b4624789435b347b43db50e6605cf60008c73125245e1495e11eef03770e49308963ee152654fa45ac9b05150e8ff4d646d69b69aef27296069f4a7343301
diff --git a/dev-java/asm/asm-9.4.ebuild b/dev-java/asm/asm-9.4.ebuild
deleted file mode 100644
index b7a5d43489a8..000000000000
--- a/dev-java/asm/asm-9.4.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# No tests because:
-# package org.junit.jupiter.api does not exist
-# package org.junit.jupiter.params does not exist
-JAVA_PKG_IUSE="doc source"
-MAVEN_PROVIDES="org.ow2.asm:asm-bom:9.4 org.ow2.asm:asm:9.4"
-
-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"
-
-LICENSE="BSD"
-SLOT="9"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~x64-macos"
-
-DEPEND=">=virtual/jdk-11:*"
-RDEPEND=">=virtual/jre-1.8:*"
-
-ASM_MODULES=( "asm" "asm-tree" "asm-analysis" "asm-commons" "asm-util" )
-
-S="${WORKDIR}/asm-${MY_P}"
-
-src_prepare() {
- default
- local module
- touch "${T}/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 ${T}/asm.module)
- requires java.base;
- exports org.objectweb.${module/analysis/tree.analysis};
- }
- EOF
- echo "requires transitive org.objectweb.${module/analysis/tree.analysis};" \
- >> "${T}/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"
- JAVA_JAR_FILENAME="ignoreme.jar"
- JAVA_SRC_DIR=()
- for module in "${ASM_MODULES[@]}"; do
- rm "${module}/src/main/java/module-info.java" || die
- JAVA_SRC_DIR+=("${module}/src/main/java")
- done
- java-pkg-simple_src_compile
- fi
-}
-
-src_install() {
- 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
- default
-}