public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/randomized-runner/
Date: Mon,  9 Dec 2024 17:31:39 +0000 (UTC)	[thread overview]
Message-ID: <1733765393.ebe4e1394e2918f41160cde76ef7f1ad467da624.fordfrog@gentoo> (raw)

commit:     ebe4e1394e2918f41160cde76ef7f1ad467da624
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Dec  9 11:20:22 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 17:29:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe4e139

dev-java/randomized-runner: add 2.8.2

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

 dev-java/randomized-runner/Manifest                |  1 +
 .../randomized-runner-2.8.2.ebuild                 | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-java/randomized-runner/Manifest b/dev-java/randomized-runner/Manifest
index 9bcd3a6a7fd9..fb49dab86549 100644
--- a/dev-java/randomized-runner/Manifest
+++ b/dev-java/randomized-runner/Manifest
@@ -1 +1,2 @@
 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

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
+}


             reply	other threads:[~2024-12-09 17:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-09 17:31 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-08 10:41 [gentoo-commits] repo/gentoo:master commit in: dev-java/randomized-runner/ Miroslav Šulc
2025-01-07 19:56 Sam James
2025-01-07 19:56 Sam James
2025-01-07 19:56 Sam James
2022-08-23  4:41 Miroslav Šulc
2022-08-22  0:00 Sam James
2022-08-22  0:00 Sam James
2022-08-21 15:46 Arthur Zamarin
2022-08-21 15:46 Arthur Zamarin
2022-07-22 17:36 Florian Schmaus
2022-05-06  6:15 Miroslav Šulc
2022-05-05 18:04 Arthur Zamarin
2022-05-05 10:25 Jakov Smolić
2022-05-05  9:54 Jakov Smolić
2022-05-05  9:54 Jakov Smolić
2022-04-27 18:04 Arthur Zamarin
2022-04-05  4:35 Miroslav Šulc
2022-02-25 21:40 Sam James
2022-02-25 10:08 Jakov Smolić
2022-02-25 10:08 Jakov Smolić
2022-01-26 19:49 Arthur Zamarin
2022-01-26 19:34 Arthur Zamarin
2021-04-28  9:23 Miroslav Šulc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1733765393.ebe4e1394e2918f41160cde76ef7f1ad467da624.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox