summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérian Rousset <tharvik@users.noreply.github.com>2023-04-14 21:01:24 +0200
committerSam James <sam@gentoo.org>2023-05-20 10:21:45 +0100
commit2c8473f9c0940c435ba4ae3156ceb5ce9b09733c (patch)
treedb03b59895f78b911062e22e6cbe232d554d1dbe /dev-java
parentdev-java/json-smart: new package, add 1.3.3 (diff)
downloadgentoo-2c8473f9c0940c435ba4ae3156ceb5ce9b09733c.tar.gz
gentoo-2c8473f9c0940c435ba4ae3156ceb5ce9b09733c.tar.bz2
gentoo-2c8473f9c0940c435ba4ae3156ceb5ce9b09733c.zip
dev-java/jsonrpc2-base: new package, add 1.38.2
Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jsonrpc2-base/Manifest1
-rw-r--r--dev-java/jsonrpc2-base/jsonrpc2-base-1.38.2.ebuild35
-rw-r--r--dev-java/jsonrpc2-base/metadata.xml11
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/jsonrpc2-base/Manifest b/dev-java/jsonrpc2-base/Manifest
new file mode 100644
index 000000000000..30ad08f11225
--- /dev/null
+++ b/dev-java/jsonrpc2-base/Manifest
@@ -0,0 +1 @@
+DIST jsonrpc2-base-1.38.2.tar.bz2 31673 BLAKE2B e7ee637f4794f9c0c8e80824200976b8bdb762d14c0d0716bf60e840cc166c8be5794e186294072eb14543f04d37b342f74308b30f9477f066b9785ea94c38b1 SHA512 8084730e36e30d950a57ed6ae6cbe8bb4e5719e428881e394450a5811faa97b33d63991c5f12cb8d17896ead507f96917568881e9923676a942ac229ef146934
diff --git a/dev-java/jsonrpc2-base/jsonrpc2-base-1.38.2.ebuild b/dev-java/jsonrpc2-base/jsonrpc2-base-1.38.2.ebuild
new file mode 100644
index 000000000000..31c82db3e4f2
--- /dev/null
+++ b/dev-java/jsonrpc2-base/jsonrpc2-base-1.38.2.ebuild
@@ -0,0 +1,35 @@
+# 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="com.thetransactioncompany:jsonrpc2-base:1.38.2"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Represent, parse and serialise JSON-RPC 2.0 messages"
+HOMEPAGE="https://software.dzhuvinov.com/json-rpc-2.0-base.html"
+SRC_URI="https://bitbucket.org/thetransactioncompany/json-rpc-2.0-base/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+LICENSE="Apache-2.0"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+
+CP_DEPEND="dev-java/json-smart:1"
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/thetransactioncompany-json-rpc-2.0-base-75e66af02953"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_EXCLUDES=( "com.thetransactioncompany.jsonrpc2.util.TestEnumDay" )
diff --git a/dev-java/jsonrpc2-base/metadata.xml b/dev-java/jsonrpc2-base/metadata.xml
new file mode 100644
index 000000000000..6457fca37d83
--- /dev/null
+++ b/dev-java/jsonrpc2-base/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="bitbucket">thetransactioncompany/json-rpc-2.0-base</remote-id>
+ </upstream>
+</pkgmetadata>