diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-23 16:28:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-23 16:28:44 +0000 |
commit | 191f9d51469a31970723ed9eb0aee70ffe63094e (patch) | |
tree | 2502e164870943a5ca491043010657f1b83e4a27 /dev-java | |
parent | 2114f9bc3d55c52f926a43f08765b350871e86f2 (diff) |
gentoo auto-resync : 23:11:2023 - 16:28:43
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 58151 -> 58154 bytes | |||
-rw-r--r-- | dev-java/jctools-core/Manifest | 4 | ||||
-rw-r--r-- | dev-java/jctools-core/jctools-core-4.0.2.ebuild | 69 | ||||
-rw-r--r-- | dev-java/jctools-core/metadata.xml | 1 |
4 files changed, 73 insertions, 1 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 9dc5aa454547..566839224a89 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/jctools-core/Manifest b/dev-java/jctools-core/Manifest index f8e12a4c3b09..7d205bed2600 100644 --- a/dev-java/jctools-core/Manifest +++ b/dev-java/jctools-core/Manifest @@ -1,3 +1,5 @@ DIST jctools-4.0.1.tar.gz 4234647 BLAKE2B 652cfc70d92a37e04056e306050b156632ba92b2cacd9b759556ea92e1b9b6dda3d766e33936cdd92ec690abb6fb51a562305f82746f500f89d9d797e27f9c54 SHA512 9c8f55be4640f7b1315e7f93c20cf6b4b8d84c542103d69a2e34c0abe00c25fb362b6d8c4042feb4462559e5f6babd90ab0a59a66c3d407e13004ff02ce95c8f +DIST jctools-4.0.2.tar.gz 4237275 BLAKE2B 9bac4f8442f7a64aac47208ecf98799506244783d71a5444b6a3ff74ddca4e16232cf19dd5e7a9243dfcc3510674717982ef915759c8b6b2de74d4711d996302 SHA512 d19237929ab18360427efdf2844adc08589fc8ba2838b1f983118e1d6f1270bacad34477cb000e6bc85aeab38e7e337c397181b4351681f18977547c5b2e8f37 EBUILD jctools-core-4.0.1.ebuild 2299 BLAKE2B 38309ccf734d0200d29a8b251276bb8e0154e87fb26784d219f3fbf478926b8e38050fb0e3e432cf13c26ca806c2b33ebc8117a1651008e7c64b8cb8493e523f SHA512 b6e56a73857f886e355756215ec491f53e68e9c187c45f99e604bdfd2b5787df06196aaa37bf4c9e65753d2b510a03eefe776d78aa1e06047bf2fd193656dbc5 -MISC metadata.xml 305 BLAKE2B 4ac1a7216894d3a7be6d9b4bbc034c2cb571ce0e9ec4f401eb4921f9c56b00296494be04d33b052d7f89684ac9a8d9b80385f7b33d7cb0a92b2ddb4bcc323835 SHA512 3ce5145f2b40c8a5bc7cd89c14ce33d6d194809ab70bec23c0726636ed516693f3cfdfe231e79fc1e3f3591ad950ff27f2632545fd69213a878be1b27d6f1f9d +EBUILD jctools-core-4.0.2.ebuild 2108 BLAKE2B f8c2a0e8f9f4b6606330b119dcb0a0337a1b669005ad5185d4ee8085c5445c32afe0bdd7a51831295092be3f5e437616ab4c447e27511edd6ba16c18d1d185b1 SHA512 67cb09c784f8ff606028a94ef727f055ce9a15bd1d3387d396e7c0749b9520f9d1ac597b6c8b1d3fd09e895f49de5f694b12bdf70de956cb00e0646ff1d753c9 +MISC metadata.xml 360 BLAKE2B 17c673e9f1a2114b2ba115cdd8f4240dc3731b26f7f5fef3a8ca2425192aece79740a7be59b030f79163c6ebece400940316991e34ec55c0e3490acd2fd8262d SHA512 ee2a7373801073e1c3af974bd937189f61e55af28ffd0a724d852da714e8b7abeb5375d377a7629a265c684880fb6a858358c63fe4434b768de9c92bfffe4637 diff --git a/dev-java/jctools-core/jctools-core-4.0.2.ebuild b/dev-java/jctools-core/jctools-core-4.0.2.ebuild new file mode 100644 index 000000000000..7b344074414a --- /dev/null +++ b/dev-java/jctools-core/jctools-core-4.0.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.jctools:jctools-core:${PV}" +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" +S="${WORKDIR}/JCTools-${PV}/jctools-core" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=" + dev-java/osgi-annotation:0 + >=virtual/jdk-1.8:* + test? ( + dev-java/guava-testlib:0 + dev-java/hamcrest:0 + )" + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( ../{README,RELEASE-NOTES}.md ) + +JAVA_AUTOMATIC_MODULE_NAME="org.jctools.core" +JAVA_CLASSPATH_EXTRA="osgi-annotation" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="guava-testlib,hamcrest,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) +} diff --git a/dev-java/jctools-core/metadata.xml b/dev-java/jctools-core/metadata.xml index a9affe0868c9..fad141505070 100644 --- a/dev-java/jctools-core/metadata.xml +++ b/dev-java/jctools-core/metadata.xml @@ -6,5 +6,6 @@ </maintainer> <upstream> <bugs-to>https://github.com/JCTools/JCTools/issues</bugs-to> + <remote-id type="github">JCTools/JCTools</remote-id> </upstream> </pkgmetadata> |