summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-12-19 13:18:00 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2022-02-14 11:51:51 +0100
commitc5e99420e4ad78f1b83ec350aa269f6b275e3ead (patch)
tree49062c781c7237de7d3b3993bc5c243a8956d55f /dev-java/jeromq
parentmedia-sound/abcmidi: bump to 2022.02.13 (diff)
downloadgentoo-c5e99420e4ad78f1b83ec350aa269f6b275e3ead.tar.gz
gentoo-c5e99420e4ad78f1b83ec350aa269f6b275e3ead.tar.bz2
gentoo-c5e99420e4ad78f1b83ec350aa269f6b275e3ead.zip
dev-java/jeromq: new package
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24106/commits/337d55b1d9e9622127a64220c37ad53b83bcdc4f Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jeromq')
-rw-r--r--dev-java/jeromq/Manifest1
-rw-r--r--dev-java/jeromq/jeromq-0.5.2.ebuild50
-rw-r--r--dev-java/jeromq/metadata.xml7
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/jeromq/Manifest b/dev-java/jeromq/Manifest
new file mode 100644
index 000000000000..015d1b539992
--- /dev/null
+++ b/dev-java/jeromq/Manifest
@@ -0,0 +1 @@
+DIST jeromq-0.5.2.tar.gz 422673 BLAKE2B f244ef95bff70de8eb184e6eda8e292c54488435b8c9e000dbff5f1d6cb7b2b3066061bcb1fa678d2756117a52c39df795dae84071b544b0f577a331aecc8516 SHA512 49a3e9f7ff6b54dcde03958a84e72b8d4b44fb150fc980e9f1ea4ba9e258dcb0a0730d006550a3eb33e9f241e6d89cdc0ee2155213ddd309e255d606d1fa567b
diff --git a/dev-java/jeromq/jeromq-0.5.2.ebuild b/dev-java/jeromq/jeromq-0.5.2.ebuild
new file mode 100644
index 000000000000..fe183dba19c9
--- /dev/null
+++ b/dev-java/jeromq/jeromq-0.5.2.ebuild
@@ -0,0 +1,50 @@
+# 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/zeromq/jeromq/archive/refs/tags/v0.5.2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jeromq-0.5.2.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.zeromq:jeromq:0.5.2"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Pure Java implementation of libzmq"
+HOMEPAGE="https://github.com/zeromq/jeromq"
+SRC_URI="https://github.com/zeromq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+
+# Common dependencies
+# POM: pom.xml
+# com.neilalexander:jnacl:1.0.0 -> >=dev-java/jnacl-1.0:0
+
+CP_DEPEND="dev-java/jnacl:0"
+
+DEPEND="${CP_DEPEND}
+ >=virtual/jdk-1.8:*"
+
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-1.8:*"
+
+DOCS=( AUTHORS LICENSE {CHANGELOG,CONTRIBUTING,README}.md )
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_install() {
+ default # https://bugs.gentoo.org/789582
+ java-pkg-simple_src_install
+}
diff --git a/dev-java/jeromq/metadata.xml b/dev-java/jeromq/metadata.xml
new file mode 100644
index 000000000000..75321cfb5598
--- /dev/null
+++ b/dev-java/jeromq/metadata.xml
@@ -0,0 +1,7 @@
+<?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>
+</pkgmetadata>