commit:     08940b6d736959816e41051964cf4e99dfc073ef
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Dec 15 00:19:12 2025 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Dec 15 20:32:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08940b6d

dev-java/commons-rng: adjust test-dependency

For running tests, have junit:5 built without the 'vintage' USE flag.

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/44442
Closes: https://github.com/gentoo/gentoo/pull/44442
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/commons-rng/commons-rng-1.6.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-java/commons-rng/commons-rng-1.6.ebuild 
b/dev-java/commons-rng/commons-rng-1.6.ebuild
index a1a1ba1bfed0..4f32bf86a4bd 100644
--- a/dev-java/commons-rng/commons-rng-1.6.ebuild
+++ b/dev-java/commons-rng/commons-rng-1.6.ebuild
@@ -20,11 +20,14 @@ KEYWORDS="amd64 arm64 ppc64"
 
 BDEPEND="verify-sig? ( sec-keys/openpgp-keys-aherbert )"
 
+# [-vintage] because, if junit:5 compiled with 'USE=vintage':
+# Error: Module junit not found, required by org.junit.vintage.engine
 DEPEND="
        >=virtual/jdk-11:*
        test? (
                >=dev-java/commons-math-3.6.1-r2:3
                >=dev-java/jmh-core-1.37:0
+               dev-java/junit:5[-vintage]
                dev-java/opentest4j:0
        )
 "

Reply via email to