diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-11-10 09:04:37 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-11-10 10:55:46 +0100 |
commit | 1ec12f2c8138b9562e4ec9b7e74af5f2dac69af2 (patch) | |
tree | d2deb35ea4f8064480db8cbc1768f0333248e910 /dev-java | |
parent | sec-keys/openpgp-keys-apache-tomcat: drop 9.0.95, 10.1.30 (diff) | |
download | gentoo-1ec12f2c8138b9562e4ec9b7e74af5f2dac69af2.tar.gz gentoo-1ec12f2c8138b9562e4ec9b7e74af5f2dac69af2.tar.bz2 gentoo-1ec12f2c8138b9562e4ec9b7e74af5f2dac69af2.zip |
dev-java/asm: drop 9.7
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/39249
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/asm/Manifest | 1 | ||||
-rw-r--r-- | dev-java/asm/asm-9.7.ebuild | 97 |
2 files changed, 0 insertions, 98 deletions
diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest index 214a73926812..1e9b4964dedf 100644 --- a/dev-java/asm/Manifest +++ b/dev-java/asm/Manifest @@ -1,2 +1 @@ -DIST asm-ASM_9_7.tar.bz2 1376322 BLAKE2B 397a884b257edfd61f67909390c8fe07880d5a295b51dd3982ebbe9b6f8fbac200c46913e6c18e4efdcc80f0e1f0b8463ca9d912484b466ca174b55919a1c259 SHA512 9b7f2d4895f105f75e2c42d8882b176dba32defb17d8da4bdedb2bfe4e5413b03c05a9694114d171aa9623e86a65a677a24ab16a47aef774342d56224400274f DIST asm-ASM_9_7_1.tar.bz2 1378103 BLAKE2B f7da3a9c1bcf76398c9e9b9b86d60f8854e5248632a8b2d76605851e29ee1807713fb28c9e76012ec8f9444c44e3a151ed409cd120c34ab8d3495fdc9c84edcb SHA512 77ae76464eec97dbc8129c4a746d13f0d286d2033f909b65e0e34858e1785616b7bee22faa92128b91eb39cbd849e262efe574b73ed2859920add457d6422dd0 diff --git a/dev-java/asm/asm-9.7.ebuild b/dev-java/asm/asm-9.7.ebuild deleted file mode 100644 index a4632a9dad61..000000000000 --- a/dev-java/asm/asm-9.7.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2024 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="9" -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 -} |