dev-java/jctools-core: new package

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: dbd0e52948
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2021-12-18 11:44:22 +01:00
committed by Miroslav Šulc
parent 4a11cf96b9
commit 5176592b28
3 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST jctools-core-2.0.2.tar.gz 4136573 BLAKE2B 6ca4c276422b24b18256b35606b6e59e8be53b77fe0b757e4f46dc4e0bdab0ea8fbb8c58e84794c689aa1df29a80aa847b6baf7cda430f2657720ecb5d60e99f SHA512 734905d6847664a08557fa9807766bfe2cd57e9562f1dc0d908c9fffc627c1cb7576ac079715004da9a1f2ee958c8373caf60c110ef3de8f7da5bb04775f6f7f

View File

@@ -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/JCTools/JCTools/archive/refs/tags/v2.0.2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jctools-core-2.0.2.ebuild
EAPI=8
JAVA_PKG_IUSE="doc source test"
MAVEN_ID="org.jctools:jctools-core:2.0.2"
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 -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
# Compile dependencies
# POM: pom.xml
# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4
# test? org.hamcrest:hamcrest-all:1.3 -> !!!artifactId-not-found!!!
DEPEND=">=virtual/jdk-1.8:*
test? ( dev-java/hamcrest-library:1.3 )"
RDEPEND=">=virtual/jre-1.8:*"
DOCS=(
../{LICENSE,{README,RELEASE-NOTES}.md}
../resources/'1977 - Lamport - Concurrent Reading and Writing.pdf'
../resources/'2010 - Pisa - SPSC Queues on Shared Cache Multi-Core Systems.pdf'
../resources/'2011 - Dice - MultiLane - A Concurrent Blocking Multiset.pdf'
../resources/'2011 - Technion - CAFE - Scalable Task Pools with Adjustable Fairness and Contention.pdf'
../resources/'2012 - Junchang- BQueue- Efficient and Practical Queuing.pdf'
../resources/'2012 - Salzburg - Fast and Scalable k-FIFO Queues.pdf'
../resources/'2012 - Technion - SALSA - NUMA-aware Algorithm for Producer-Consumer Pools.pdf'
../resources/'2013 - Afek - Fast Concurrent Queues for x86 Processors.pdf'
../resources/'2013 - Salzburg - Distributed Queues in Shared Memory.pdf'
../resources/'2014 - Afek - Fence-Free Work Stealing on Bounded TSO Processors.pdf'
)
S="${WORKDIR}/JCTools-${PV}/jctools-core"
JAVA_SRC_DIR="src/main/java"
JAVA_TEST_GENTOO_CLASSPATH="junit-4,hamcrest-library-1.3"
JAVA_TEST_SRC_DIR="src/test/java"
src_install() {
default # https://bugs.gentoo.org/789582
java-pkg-simple_src_install
}

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
<upstream>
<bugs-to>https://github.com/JCTools/JCTools/issues</bugs-to>
</upstream>
</pkgmetadata>