From 59437d191de3ff33f9bfa37f8656d849184fcaf0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 10 Dec 2024 02:01:16 +0000 Subject: gentoo auto-resync : 10:12:2024 - 02:01:16 --- dev-java/randomized-runner/Manifest | 2 + .../randomized-runner-2.8.2.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 dev-java/randomized-runner/randomized-runner-2.8.2.ebuild (limited to 'dev-java/randomized-runner') diff --git a/dev-java/randomized-runner/Manifest b/dev-java/randomized-runner/Manifest index 1fce75e2dfbd..92dde6e1f949 100644 --- a/dev-java/randomized-runner/Manifest +++ b/dev-java/randomized-runner/Manifest @@ -1,3 +1,5 @@ DIST randomized-runner-2.8.0.tar.gz 1506178 BLAKE2B 0f142b5f90ea0aaf0934415ad772bf1363c75d371fb964398259e46af1879f2cd3520c9d3eff60b1614bef7fd64003d3ff868302cdc5421197085133dd856ba4 SHA512 e7fba917bf30a7ae4ea68301ec26bfa1b5659ea6124417ef494cc915b26bb07343ce8784dfd718032410ae750601f73ad56cd0a1bab3b2013559fc020694fb7f +DIST randomized-runner-2.8.2.tar.gz 1508257 BLAKE2B 5b590ef8c19e7e928b3e8bfdd95bc20019922419e464da6e2189a37db3239d3e6beb7b2712c3e9d50ba16d758ad51dfcb17d91912163054a3b0697fdd2dded31 SHA512 e180b32f5bdad1028cade2e0e4daad9211b9ff2556bd80b27e062a0f2292d9cbc215154ba8a629429c0e477f979f7a2f29c675c9bfed16286fb9ab4367e59555 EBUILD randomized-runner-2.8.0.ebuild 1634 BLAKE2B aecfb7f6000a0138bf18d530c5e880963f158075125a2c0a09cc2d2ed2c76fb8c628b9282418759d81769db2df6386cd99f6f21b17a70dd41f6dc9b13869d796 SHA512 a04c24c283da4fce34612e9dce88fd0bd2cd4920cbdd2777176c0ea7bbe390f1116c74f0144bb7229d6d69d030341ee1e41a16e2aba9842cfd12fb003d0a75f5 +EBUILD randomized-runner-2.8.2.ebuild 1358 BLAKE2B 0012b9ce825d4c6daf7ea6d190d63c4d2f77752aa7baa10df071715c64c444cca03ee58afbbe78795fbff1735410b95dcdc394e085e269f4698111c12b7b970a SHA512 c0b8e4000d41d0a2a2680e17d50fb1e09ea32aba081564074be4fd2044c6ecf3b9293849f24bb8c2366960e2307e0ecdac27238dbf6f816f697d53652c941935 MISC metadata.xml 317 BLAKE2B 3da80829ccd32c18e7f9d05eaffee0f9433c2d0893363e911f1a0fb6d4260507ec4712c7035cdb2bd9d7b3fc7269d60f8346f2d82eb9bf7f3e25c03068ec1edd SHA512 f72fc2cfb58f31854ceb21c43f771b7eaf9b89d444e54179e54b2940ab7759f702640535f89b2101b65585ac8ea73d13c64583ae485608ab5a88e8f35f5a2a94 diff --git a/dev-java/randomized-runner/randomized-runner-2.8.2.ebuild b/dev-java/randomized-runner/randomized-runner-2.8.2.ebuild new file mode 100644 index 000000000000..4ad376fc8c6a --- /dev/null +++ b/dev-java/randomized-runner/randomized-runner-2.8.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.2" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JUnit test runner and plugins for running JUnit tests with pseudo-randomness" +HOMEPAGE="https://labs.carrotsearch.com/randomizedtesting.html" +SRC_URI="https://github.com/randomizedtesting/randomizedtesting/archive/release/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/randomizedtesting-release-${PV}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +CP_DEPEND="dev-java/junit:4" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( dev-java/assertj-core:3 ) +" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( ../{CHANGES,CONTRIBUTING,README}.txt ) + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="assertj-core-3,junit-4" +JAVA_TEST_SRC_DIR="src/test/java" + +src_test() { + local vm_version="$(java-config -g PROVIDES_VERSION)" + if [[ "${vm_version}" -ge "17" ]] ; then + JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.lang=ALL-UNNAMED ) + JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/java.util=ALL-UNNAMED ) + JAVA_TEST_EXTRA_ARGS+=( --add-opens=java.base/sun.nio.fs=ALL-UNNAMED ) + fi + + java-pkg-simple_src_test +} -- cgit v1.2.3