dev-java/objenesis: enable tests

Closes: https://bugs.gentoo.org/865091
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/43438
Closes: https://github.com/gentoo/gentoo/pull/43438
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki 2025-08-14 10:17:18 +02:00 committed by Miroslav Šulc
parent c578a7ed47
commit 1e351072e0
No known key found for this signature in database
GPG Key ID: 65D0F770B26B469C

View File

@ -1,13 +1,13 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc source test"
JAVA_TESTING_FRAMEWORKS="junit-jupiter"
MAVEN_ID="org.objenesis:objenesis:3.4"
JAVA_TESTING_FRAMEWORKS="junit-4"
inherit java-pkg-2 java-pkg-simple
inherit java-pkg-2 java-pkg-simple junit5
DESCRIPTION="A library for instantiating Java objects"
HOMEPAGE="https://objenesis.org/"
@ -17,16 +17,15 @@ S="${WORKDIR}/${P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 ppc64"
RESTRICT="test" #839681
DEPEND=">=virtual/jdk-1.8:*"
RDEPEND=">=virtual/jre-1.8:*"
JAVA_TEST_GENTOO_CLASSPATH="
junit-4
junit-5
DEPEND="
>=virtual/jdk-1.8:*
test? ( dev-java/opentest4j:0 )
"
RDEPEND=">=virtual/jre-1.8:*"
JAVA_TEST_GENTOO_CLASSPATH="junit-5 opentest4j"
JAVA_TEST_SRC_DIR="main/src/test/java"
src_compile() {