mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-java/jol-core: switch dependency asm:4 -> asm:9
- fixes test failure by adjusting ${JAVA_TEST_SRC_DIR}
- switches dependency asm:4 -> asm:9
- updates HOMEPAGE
- removes src_install() which is no longer needed
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/29276
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
committed by
Miroslav Šulc
parent
c487c0b910
commit
ff774aecb5
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -13,8 +13,8 @@ MY_PN="${PN%-core}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Java Object Layout: Core"
|
||||
HOMEPAGE="https://openjdk.java.net/projects/code-tools/jol/"
|
||||
SRC_URI="https://github.com/openjdk/jol/archive/refs/tags/${PV}.tar.gz -> jol-${PV}.tar.gz"
|
||||
HOMEPAGE="https://openjdk.org/projects/code-tools/jol/"
|
||||
SRC_URI="https://github.com/openjdk/jol/archive/${PV}.tar.gz -> jol-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="0"
|
||||
@@ -23,7 +23,7 @@ KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
test? (
|
||||
dev-java/asm:4
|
||||
dev-java/asm:9
|
||||
)
|
||||
"
|
||||
|
||||
@@ -34,12 +34,7 @@ RDEPEND="
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
JAVA_SRC_DIR="${PN}/src/main/java"
|
||||
JAVA_RESOURCE_DIRS=( "${PN}/src/main/resources" )
|
||||
JAVA_RESOURCE_DIRS="${PN}/src/main/resources"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4,asm-4"
|
||||
JAVA_TEST_SRC_DIR="${PN}/src/test"
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
einstalldocs # https://bugs.gentoo.org/789582
|
||||
}
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4,asm-9"
|
||||
JAVA_TEST_SRC_DIR="${PN}/src/test/java"
|
||||
Reference in New Issue
Block a user