From 5deadca7219297a3c1f90eca00544a00e33efdbc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Jul 2022 20:47:41 +0100 Subject: gentoo auto-resync : 22:07:2022 - 20:47:41 --- dev-java/randomized-runner/Manifest | 2 + .../randomized-runner-2.8.0.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 dev-java/randomized-runner/randomized-runner-2.8.0.ebuild (limited to 'dev-java/randomized-runner') diff --git a/dev-java/randomized-runner/Manifest b/dev-java/randomized-runner/Manifest index 46f06f53c364..4df7db662ec6 100644 --- a/dev-java/randomized-runner/Manifest +++ b/dev-java/randomized-runner/Manifest @@ -1,3 +1,5 @@ DIST randomized-runner-2.7.9.tar.gz 1501927 BLAKE2B 41ac32c724a87021c9fd58d3c421cab1fefd00a1e9e25a29d6188b831120c5e1407894f19fa92254df5cd1f2a66a44bf6e4469fa2128d841c1f17d17a623eec9 SHA512 23db6f21a805146d759fa9d3c9a37199b7181d6c53d0f62a4d82c42cbc15816cc25a87a174ef3d533870d648039b3f8dcac9370ffaff4ef76fefb6fc2c38ee88 +DIST randomized-runner-2.8.0.tar.gz 1506178 BLAKE2B 0f142b5f90ea0aaf0934415ad772bf1363c75d371fb964398259e46af1879f2cd3520c9d3eff60b1614bef7fd64003d3ff868302cdc5421197085133dd856ba4 SHA512 e7fba917bf30a7ae4ea68301ec26bfa1b5659ea6124417ef494cc915b26bb07343ce8784dfd718032410ae750601f73ad56cd0a1bab3b2013559fc020694fb7f EBUILD randomized-runner-2.7.9.ebuild 1934 BLAKE2B c783f68a3b54df6d17059be6dd8b0aebfaca6156a82fc81b36c040a538ce82daa2965fbcf3d9701b3ade6ddeac6b0ffe7313f8e4517db3f2e09e6c265178c8f9 SHA512 c08ea9e7291fcdd6e8663058151a178d72ad40fea95b7e9e3d969bb6cdf16517cd3e1026fc0a753fd0a3c6685432f414ec171fec2673edeae8b1aeba03cb3fcc +EBUILD randomized-runner-2.8.0.ebuild 1647 BLAKE2B afe0bee09dc12fbbbf3630840b0398c10a1168046b0392be793aea4f055d49f403d7846835f0218802efe70ca8b6822be5de11dc98edcf21571523d772e604e6 SHA512 a529920dbfa3768178c4253b3becad7496923116f6b2183f47426a42d00b7e04a69158e8730989630a0b3718ed24e47cd547485c35722766c5df318f30bd61d9 MISC metadata.xml 317 BLAKE2B 3da80829ccd32c18e7f9d05eaffee0f9433c2d0893363e911f1a0fb6d4260507ec4712c7035cdb2bd9d7b3fc7269d60f8346f2d82eb9bf7f3e25c03068ec1edd SHA512 f72fc2cfb58f31854ceb21c43f771b7eaf9b89d444e54179e54b2940ab7759f702640535f89b2101b65585ac8ea73d13c64583ae485608ab5a88e8f35f5a2a94 diff --git a/dev-java/randomized-runner/randomized-runner-2.8.0.ebuild b/dev-java/randomized-runner/randomized-runner-2.8.0.ebuild new file mode 100644 index 000000000000..8be9dae04f3c --- /dev/null +++ b/dev-java/randomized-runner/randomized-runner-2.8.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/randomizedtesting/randomizedtesting/archive/release/2.8.0.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild randomized-runner-2.8.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.0" +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" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/junit:4 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} + test? ( + dev-java/assertj-core:3 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND}" + +DOCS=( ../{CHANGES,CONTRIBUTING,README}.txt ) + +S="${WORKDIR}/randomizedtesting-release-${PV}/${PN}" + +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