aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-03-21 14:21:31 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-03-21 14:21:31 +0100
commitb0e2507f9d0ec8f28dd03b933721051b7e03ad75 (patch)
treef0ce968fb06ff2113ab62c4a0be42e7e03164743 /dev-java
parentsci-mathematics/scilab: fix dep on lucene (diff)
downloadsci-b0e2507f9d0ec8f28dd03b933721051b7e03ad75.tar.gz
sci-b0e2507f9d0ec8f28dd03b933721051b7e03ad75.tar.bz2
sci-b0e2507f9d0ec8f28dd03b933721051b7e03ad75.zip
dev-java/hppc: new dep of morfologik
still missing dep javaparser and koloboke Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/hppc/Manifest1
-rw-r--r--dev-java/hppc/hppc-0.9.0_rc2.ebuild53
-rw-r--r--dev-java/hppc/metadata.xml8
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/hppc/Manifest b/dev-java/hppc/Manifest
new file mode 100644
index 000000000..4b263faee
--- /dev/null
+++ b/dev-java/hppc/Manifest
@@ -0,0 +1 @@
+DIST hppc-0.9.0_rc2.tar.gz 299194 BLAKE2B 99a9d5a564e3eaca8ea19439a13d521b1e926c3d22db6718f4d6e1c3bd37296c5e2a6a3f887bd7f19c3d3fec5353a08cd0a8e6416ca4532f029a913852e4ce43 SHA512 afc4aa903f2d4880b783a312ab68f5a56d17405158af96ff64adaea8d6d74b236e1615e0d70279e959cd4da5f03a6d063b788a84dda58b483236c86bb1bb3b97
diff --git a/dev-java/hppc/hppc-0.9.0_rc2.ebuild b/dev-java/hppc/hppc-0.9.0_rc2.ebuild
new file mode 100644
index 000000000..feca76cd1
--- /dev/null
+++ b/dev-java/hppc/hppc-0.9.0_rc2.ebuild
@@ -0,0 +1,53 @@
+# 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
+
+MY_PV="${PV//_/.}"
+
+DESCRIPTION="High Performance Primitive Collections for Java"
+HOMEPAGE="https://github.com/carrotsearch/hppc"
+SRC_URI="https://github.com/carrotsearch/hppc/archive/refs/tags/${MY_PV^^}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS=""
+
+CDEPEND="
+ dev-java/antlr:4
+ dev-java/fastutil:0
+ dev-java/jcommander:0
+ dev-java/jmh-core:0
+ dev-java/velocity:0
+ dev-java/slf4j-simple:0
+"
+
+DEPEND="${CDEPEND}
+ >=virtual/jdk-1.8"
+
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.8"
+
+S="${WORKDIR}/${PN}-${MY_PV^^}"
+
+JAVA_GENTOO_CLASSPATH="
+ antlr:4
+ fastutil
+ jcommander
+ jmh-core
+ velocity
+ slf4j-simple
+"
+
+src_prepare() {
+ # we need an additional unavailable dep for the tests
+ rm -r */src/test || die
+ default
+}
+
+src_install() {
+ einstalldocs
+ java-pkg_dojar ${PN}.jar
+}
diff --git a/dev-java/hppc/metadata.xml b/dev-java/hppc/metadata.xml
new file mode 100644
index 000000000..ae9640ffb
--- /dev/null
+++ b/dev-java/hppc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>