public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jctools-core/
Date: Wed, 28 Dec 2022 18:53:18 +0000 (UTC)	[thread overview]
Message-ID: <1672253554.f3202cdc2f1f684bec76cf33ecd0e5108c49dacc.flow@gentoo> (raw)

commit:     f3202cdc2f1f684bec76cf33ecd0e5108c49dacc
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Oct 27 20:23:23 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 18:52:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3202cdc

dev-java/jctools-core: add 4.0.1

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27997
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/jctools-core/Manifest                  |  1 +
 dev-java/jctools-core/jctools-core-4.0.1.ebuild | 70 +++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-java/jctools-core/Manifest b/dev-java/jctools-core/Manifest
index 1d6df5e96a0b..87afb73243e2 100644
--- a/dev-java/jctools-core/Manifest
+++ b/dev-java/jctools-core/Manifest
@@ -1 +1,2 @@
 DIST jctools-3.3.0.tar.gz 4214717 BLAKE2B c9c5f5897ebf8bb7ac439b969f372c45b7652517cbc5369c07fe80d11f779eebe7fe5ffb5d93a18fe3df5d9ca9adf3cee7268c8c6ed962fccb4d84f5b0451c4b SHA512 ce212abacca6137a133f7a4e94370442d00bf73794fa7b9ce440631701a9a2fca31c4dda05e2a768fcf28f75e84f2a7f318a936e429c7f4ed20daa7b79d11a4a
+DIST jctools-4.0.1.tar.gz 4234647 BLAKE2B 652cfc70d92a37e04056e306050b156632ba92b2cacd9b759556ea92e1b9b6dda3d766e33936cdd92ec690abb6fb51a562305f82746f500f89d9d797e27f9c54 SHA512 9c8f55be4640f7b1315e7f93c20cf6b4b8d84c542103d69a2e34c0abe00c25fb362b6d8c4042feb4462559e5f6babd90ab0a59a66c3d407e13004ff02ce95c8f

diff --git a/dev-java/jctools-core/jctools-core-4.0.1.ebuild b/dev-java/jctools-core/jctools-core-4.0.1.ebuild
new file mode 100644
index 000000000000..63903c525b85
--- /dev/null
+++ b/dev-java/jctools-core/jctools-core-4.0.1.ebuild
@@ -0,0 +1,70 @@
+# 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/JCTools/JCTools/archive/v4.0.1.tar.gz --slot 3 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jctools-core-4.0.1.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.jctools:jctools-core:4.0.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java Concurrency Tools Core Library"
+HOMEPAGE="https://jctools.github.io/JCTools/"
+SRC_URI="https://github.com/JCTools/JCTools/archive/v${PV}.tar.gz -> jctools-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8:*
+	test? (
+		dev-java/guava-testlib:0
+		dev-java/hamcrest-library:1.3
+	)"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../{README,RELEASE-NOTES}.md )
+
+S="${WORKDIR}/JCTools-${PV}/jctools-core"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.jctools.core"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="guava-testlib,hamcrest-library-1.3,junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+# Using the defaults of java-pkg-simple would skip more than half the number of tests.
+src_test() {
+	# org.jetbrains.kotlinx.lincheck is not yet packaged
+	rm -r src/test/java/org/jctools/maps/linearizability_test || die
+	# These tests would fail and are not run by "mvn test".
+	# "org.jctools.queues.MpqSanityTest"
+	# "org.jctools.queues.QueueSanityTest"
+	# "org.jctools.queues.ScQueueRemoveTest"
+	# "org.jctools.util.TestUtil"
+	# Test timeout on arm64, https://bugs.gentoo.org/863977
+	# "org.jctools.queues.atomic.AtomicMpqSanityTestMpscLinked"
+	# "org.jctools.queues.MpqSanityTestMpscLinked"
+	pushd src/test/java || die
+		local JAVA_TEST_RUN_ONLY=$(find * \
+			\( -name "*Test*.java" \
+			-o -name "nbsi_tester.java" \
+			-o -name "nbhs_tester.java" \)\
+			! -name "MpqSanityTest.java" \
+			! -name "QueueSanityTest.java" \
+			! -name "ScQueueRemoveTest.java" \
+			! -name "TestUtil.java" \
+			! -name "AtomicMpqSanityTestMpscLinked.java" \
+			! -name "MpqSanityTestMpscLinked.java" \
+			)
+	popd
+	JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+	JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+	java-pkg-simple_src_test
+	# OK (7226 tests)
+}


             reply	other threads:[~2022-12-28 18:53 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-28 18:53 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-18 16:40 [gentoo-commits] repo/gentoo:master commit in: dev-java/jctools-core/ Miroslav Šulc
2024-10-18 16:12 Arthur Zamarin
2024-10-16  2:12 Sam James
2024-10-16  2:12 Sam James
2024-10-16  2:12 Sam James
2024-09-15 10:27 Miroslav Šulc
2024-09-14  9:18 Miroslav Šulc
2024-03-11 19:20 Miroslav Šulc
2024-03-11 12:48 Sam James
2024-03-11 12:48 Sam James
2024-03-11 12:48 Sam James
2024-03-11 12:48 Sam James
2024-01-07  9:55 Miroslav Šulc
2023-12-23 17:37 Arthur Zamarin
2023-12-23 15:11 Sam James
2023-12-23 14:29 Arthur Zamarin
2023-11-23 10:43 Miroslav Šulc
2023-11-23 10:43 Miroslav Šulc
2023-11-23 10:43 Miroslav Šulc
2023-01-28  6:52 Arthur Zamarin
2023-01-27 20:58 Arthur Zamarin
2023-01-27 20:14 Arthur Zamarin
2023-01-27 20:10 Arthur Zamarin
2023-01-27 20:08 Arthur Zamarin
2022-08-12 13:21 Arthur Zamarin
2022-08-12 11:55 Agostino Sarubbo
2022-08-08 17:44 Arthur Zamarin
2022-08-08  6:29 Florian Schmaus
2022-08-01 18:08 Arthur Zamarin
2022-07-31 18:20 Arthur Zamarin
2022-07-28  7:06 Agostino Sarubbo
2022-07-25  4:19 Sam James
2022-07-07  7:04 Florian Schmaus
2022-06-20  7:41 Florian Schmaus
2022-03-17  0:07 Sam James
2022-03-15  7:41 Agostino Sarubbo
2022-03-14 18:35 Agostino Sarubbo
2022-03-14 18:32 Agostino Sarubbo
2022-02-12 10:29 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=1672253554.f3202cdc2f1f684bec76cf33ecd0e5108c49dacc.flow@gentoo \
    --to=flow@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