mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
dev-java/asm bumped to the latest versions, because upstream doesn't publish asm-all anymore, we should also split it into components. The dependencies are as follows: - asm: no dependency - asm-tree: asm - asm-analysis: asm, asm-tree - asm-commons and asm-util: asm, asm-tree, asm-analysis Testing is still restricted because it uses JUnit 5 for testing. Signed-off-by: Kaibo Ma <kaiboma06@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/19473 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
28 lines
700 B
Bash
28 lines
700 B
Bash
# Copyright 2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
JAVA_PKG_IUSE="doc source"
|
|
|
|
inherit java-pkg-2 java-pkg-simple
|
|
|
|
DESCRIPTION="Bytecode manipulation framework for Java (Static code analysis API)"
|
|
HOMEPAGE="http://asm.ow2.org"
|
|
MY_P="ASM_${PV//./_}"
|
|
SRC_URI="https://gitlab.ow2.org/asm/asm/-/archive/${MY_P}/asm-${MY_P}.tar.gz"
|
|
LICENSE="BSD"
|
|
SLOT=`ver_cut 1`
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
|
|
RESTRICT="test"
|
|
|
|
CDEPEND="dev-java/asm-tree:${SLOT}"
|
|
DEPEND=">=virtual/jdk-1.8
|
|
${CDEPEND}
|
|
"
|
|
RDEPEND=">=virtual/jre-1.8
|
|
${CDEPEND}
|
|
"
|
|
|
|
JAVA_GENTOO_CLASSPATH="asm-${SLOT} asm-tree-${SLOT}"
|
|
JAVA_SRC_DIR="asm-${MY_P}/${PN}/src/main/java"
|