summaryrefslogtreecommitdiff
path: root/dev-java/jsonrpc2-server
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jsonrpc2-server')
-rw-r--r--dev-java/jsonrpc2-server/Manifest3
-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, 64 insertions, 0 deletions
diff --git a/dev-java/jsonrpc2-server/Manifest b/dev-java/jsonrpc2-server/Manifest
new file mode 100644
index 000000000000..32c997cac1b4
--- /dev/null
+++ b/dev-java/jsonrpc2-server/Manifest
@@ -0,0 +1,3 @@
+DIST jsonrpc2-server-1.11.1.tar.bz2 12155 BLAKE2B 5bf0140a45cfe51e9aedff49c881ab9a98a35599d8dc564d6a0d7b77bb3fe252edf93e75ebd7f4dfb9573e0adf71416174e170c3d79d32f626edccc7bdc103d1 SHA512 637f07d51abb86d0febe170856ba8b3ca39b885ac9f2525033beee57d8db8704a48857cab4f434f2638e8c61defaed857c6ca65a41e93392d13975a4a44f3f2f
+EBUILD jsonrpc2-server-1.11.1.ebuild 1189 BLAKE2B f2d8536f32eb5891723b26168750fe8fc35947e2121a3b675b48c843e38ceb83a4a8bfbf8f9437aff9a0909f609d5e73f77de82d4e1eaf30593980e00dd27e05 SHA512 2d160d9fedc50060902964cd141dc0de809537ca361cde2321bc076f846d7bb9b28423f1fec1898fe7b078adcdafc9a48fbcb7c381674bc118a5f66eb54cb249
+MISC metadata.xml 346 BLAKE2B da6eb4e22d33080b0b306b688879d15ec8afb0d42cb6f35362ff440c5f74574aa642de96af445c0f112ba73105fefa44ae2267077487b0b93133cf6459cebd05 SHA512 d5eba3e88e868cc7f8e8552915b02bba67fbdf99a74975687f2322131f92bebda41934e59368b16fb80700c54f2038be79af3b361b9b875728d4261e22a296f3
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>