diff options
Diffstat (limited to 'dev-java/asm')
-rw-r--r-- | dev-java/asm/Manifest | 2 | ||||
-rw-r--r-- | dev-java/asm/asm-9.5.ebuild | 96 |
2 files changed, 0 insertions, 98 deletions
diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest index 0413f651f142..065386cc38e0 100644 --- a/dev-java/asm/Manifest +++ b/dev-java/asm/Manifest @@ -1,5 +1,3 @@ -DIST asm-ASM_9_5.tar.bz2 1372645 BLAKE2B 3eac319c9322dfd9fff1324b032a2248127592107c0256adec6f0c592cf55298b9f060603e1697e7560db9b337585f59bfebea684dcefaf0b4a149061ebb915c SHA512 6c1b4624789435b347b43db50e6605cf60008c73125245e1495e11eef03770e49308963ee152654fa45ac9b05150e8ff4d646d69b69aef27296069f4a7343301 DIST asm-ASM_9_6.tar.bz2 1374579 BLAKE2B 621b19f1818ffdd451037af210ec7c3286e3dabdb1d6192157c2e6e8c101f599691cd4de57adf500f5413b4aaf4f808d6ac791e84626223a7be5672a17137670 SHA512 86b2db3e81c29c465d4128736f88ae3b73af8f312915921549d0acdb50a8d2c2c2beed5162af164b6e75278702af0c6f0a8d84b4133516eb4ac419520b7c764d -EBUILD asm-9.5.ebuild 2489 BLAKE2B 8ba1a29735898ac4d40660154cf37f54d4ac02807a02675985e5c97716bc649edfe6853b5443e66f05f48be16497a124858f4180a67bc370590d3f2cbf19f0ba SHA512 2a7f00119625129681e73c51070647cdccb9926322f0b60d629abde270ff05effacd840a0df413f7c49abdc375359dc1921d5dd6b6d936b74840818c9bbfe9a9 EBUILD asm-9.6.ebuild 2443 BLAKE2B 324fbe45ac823e70b8827c6ce6bd7fe9f89d0713050a9884d9f12444b07e57735a8ee042ef73974c7e5791b7f6b6a83ce272dd841658ce2f5e70fafa40dd592b SHA512 9e423e980744892a16bafee114a48b376978b492574b93f6915eeda2db2c885603cb5a5cbb8bf9cb082a38e4fc35b1abf038ae51cfa91271e74fac43ebb92fbd MISC metadata.xml 1233 BLAKE2B 13faf251d3d40ed558c83262972ea106892cc3be0f7a1b95a0b484123d93473bd867b2f7b53c3e5ccc2f1fe249ebe66cb9e757e19ad36c8d3e3eac6a7a981d98 SHA512 59a292291ac757818e41d009e2cdbb73b6d914c1f552c34e9360635cb468f1ebfdf9c58d6642710d5218689d08797320102c8ccb6d5f4bc9478883feb9b9b397 diff --git a/dev-java/asm/asm-9.5.ebuild b/dev-java/asm/asm-9.5.ebuild deleted file mode 100644 index 76a5b1e6d694..000000000000 --- a/dev-java/asm/asm-9.5.ebuild +++ /dev/null @@ -1,96 +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:${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 ~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" ) - -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 -} |