summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-01-26 16:28:42 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2023-01-27 09:31:20 +0100
commitff774aecb59ffe1000ff9f907e91182662e8afa4 (patch)
treed753bf1453216b49e20ab09ee68566dcb2eaf6fd /dev-java/jol-core
parentdev-java/felix-framework: switch dependency asm:4 -> asm:9 (diff)
downloadgentoo-ff774aecb59ffe1000ff9f907e91182662e8afa4.tar.gz
gentoo-ff774aecb59ffe1000ff9f907e91182662e8afa4.tar.bz2
gentoo-ff774aecb59ffe1000ff9f907e91182662e8afa4.zip
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>
Diffstat (limited to 'dev-java/jol-core')
-rw-r--r--dev-java/jol-core/jol-core-0.16-r1.ebuild (renamed from dev-java/jol-core/jol-core-0.16.ebuild)19
1 files changed, 7 insertions, 12 deletions
diff --git a/dev-java/jol-core/jol-core-0.16.ebuild b/dev-java/jol-core/jol-core-0.16-r1.ebuild
index a36940d2c74b..18b26a837482 100644
--- a/dev-java/jol-core/jol-core-0.16.ebuild
+++ b/dev-java/jol-core/jol-core-0.16-r1.ebuild
@@ -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"