summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérian Rousset <tharvik@users.noreply.github.com>2023-04-14 21:13:26 +0200
committerSam James <sam@gentoo.org>2023-05-20 10:21:45 +0100
commit37a43874caf0e4db5d6ac9dfcf3a9c4d2138f746 (patch)
treec81b1cc5c063d3e078e87b3b2b9fb91fbb367a88
parentdev-java/jsonrpc2-base: new package, add 1.38.2 (diff)
downloadgentoo-37a43874caf0e4db5d6ac9dfcf3a9c4d2138f746.tar.gz
gentoo-37a43874caf0e4db5d6ac9dfcf3a9c4d2138f746.tar.bz2
gentoo-37a43874caf0e4db5d6ac9dfcf3a9c4d2138f746.zip
dev-java/jsonrpc2-server: new package, add 1.11.1
Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-java/jsonrpc2-server/Manifest1
-rw-r--r--dev-java/jsonrpc2-server/jsonrpc2-server-1.11.1.ebuild50
-rw-r--r--dev-java/jsonrpc2-server/metadata.xml11
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/jsonrpc2-server/Manifest b/dev-java/jsonrpc2-server/Manifest
new file mode 100644
index 000000000000..7993af44cfce
--- /dev/null
+++ b/dev-java/jsonrpc2-server/Manifest
@@ -0,0 +1 @@
+DIST jsonrpc2-server-1.11.1.tar.bz2 12155 BLAKE2B 5bf0140a45cfe51e9aedff49c881ab9a98a35599d8dc564d6a0d7b77bb3fe252edf93e75ebd7f4dfb9573e0adf71416174e170c3d79d32f626edccc7bdc103d1 SHA512 637f07d51abb86d0febe170856ba8b3ca39b885ac9f2525033beee57d8db8704a48857cab4f434f2638e8c61defaed857c6ca65a41e93392d13975a4a44f3f2f
diff --git a/dev-java/jsonrpc2-server/jsonrpc2-server-1.11.1.ebuild b/dev-java/jsonrpc2-server/jsonrpc2-server-1.11.1.ebuild
new file mode 100644
index 000000000000..32afeb51cd96
--- /dev/null
+++ b/dev-java/jsonrpc2-server/jsonrpc2-server-1.11.1.ebuild
@@ -0,0 +1,50 @@
+# 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-server:1.11.1"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Server framework for processing JSON-RPC 2.0 messages"
+HOMEPAGE="https://software.dzhuvinov.com/json-rpc-2.0-server.html"
+SRC_URI="https://bitbucket.org/thetransactioncompany/json-rpc-2.0-server/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+LICENSE="Apache-2.0"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+
+PROPERTIES="test_network"
+RESTRICT="test" # single test, need access to google
+
+CP_DEPEND="
+ dev-java/jsonrpc2-base:1
+ dev-java/json-smart:1
+"
+
+DEPEND="
+ ${CP_DEPEND}
+ dev-java/javax-servlet-api:3.0
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/thetransactioncompany-json-rpc-2.0-server-40234a8c2029"
+
+JAVA_CLASSPATH_EXTRA="javax-servlet-api-3.0"
+JAVA_SRC_DIR="src/main/java"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+
+src_prepare() {
+ default
+
+ rm -r src/main/java/com/thetransactioncompany/jsonrpc2/server/examples ||
+ die 'rm example codes'
+}
diff --git a/dev-java/jsonrpc2-server/metadata.xml b/dev-java/jsonrpc2-server/metadata.xml
new file mode 100644
index 000000000000..c14140ba6922
--- /dev/null
+++ b/dev-java/jsonrpc2-server/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-server</remote-id>
+ </upstream>
+</pkgmetadata>