From 1cd311ad53cc5fd5c8660e29a088da86694ee131 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 21 Mar 2021 14:44:27 +0100 Subject: dev-java/koloboke: add dep of hppc Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan --- dev-java/koloboke/Manifest | 1 + dev-java/koloboke/koloboke-0.5.1.ebuild | 46 +++++++++++++++++++++++++++++++++ dev-java/koloboke/metadata.xml | 8 ++++++ 3 files changed, 55 insertions(+) create mode 100644 dev-java/koloboke/Manifest create mode 100644 dev-java/koloboke/koloboke-0.5.1.ebuild create mode 100644 dev-java/koloboke/metadata.xml (limited to 'dev-java') diff --git a/dev-java/koloboke/Manifest b/dev-java/koloboke/Manifest new file mode 100644 index 000000000..657121ca7 --- /dev/null +++ b/dev-java/koloboke/Manifest @@ -0,0 +1 @@ +DIST koloboke-0.5.1.tar.gz 578600 BLAKE2B b48f4dbea9a775403ea0d6fd0fd480e027488ff5c95c265f63ac61f9a4c9978b81f87562d2da3d22bb009c9c109378f5b4a6fe7b495bd82e1d3c6b409b5252e3 SHA512 7f4554064b870fe1a3f96435705607aab6c8e84e548a18e7b39062f95d20d71821786778f0348a91edbaaf985130f1a48deb1ff154fc9a5d49717e74c4a2dad3 diff --git a/dev-java/koloboke/koloboke-0.5.1.ebuild b/dev-java/koloboke/koloboke-0.5.1.ebuild new file mode 100644 index 000000000..2eb3cfc93 --- /dev/null +++ b/dev-java/koloboke/koloboke-0.5.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java Collections till the last breadcrumb of memory and performance" +HOMEPAGE="https://github.com/leventov/Koloboke" +SRC_URI="https://github.com/leventov/Koloboke/archive/refs/tags/compile-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" + +IUSE="test" +RESTRICT="!test? ( test )" + +CDEPEND="" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.8" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.8" + +BDEPEND="test? ( + dev-java/hamcrest-core:1.3 +)" + +S="${WORKDIR}/${PN^}-compile-${PV}" + +JAVA_TEST_GENTOO_CLASSPATH=" + hamcrest-core +" + +src_prepare() { + # we need an additional unavailable dep for the tests + find . -type d -name "test" -exec rm -rf {} + || die + default +} + +src_install() { + einstalldocs + java-pkg_dojar ${PN}.jar +} diff --git a/dev-java/koloboke/metadata.xml b/dev-java/koloboke/metadata.xml new file mode 100644 index 000000000..ae9640ffb --- /dev/null +++ b/dev-java/koloboke/metadata.xml @@ -0,0 +1,8 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + -- cgit v1.2.3-65-gdbad