summaryrefslogtreecommitdiff
path: root/dev-java/jakarta-json-api
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-java/jakarta-json-api
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-java/jakarta-json-api')
-rw-r--r--dev-java/jakarta-json-api/Manifest3
-rw-r--r--dev-java/jakarta-json-api/jakarta-json-api-1.1.6.ebuild41
-rw-r--r--dev-java/jakarta-json-api/metadata.xml11
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/jakarta-json-api/Manifest b/dev-java/jakarta-json-api/Manifest
new file mode 100644
index 000000000000..a55631f89e11
--- /dev/null
+++ b/dev-java/jakarta-json-api/Manifest
@@ -0,0 +1,3 @@
+DIST jakarta-json-api-1.1.6.tar.gz 205455 BLAKE2B d928c0fbf65da992670eea0ad5a010b536ba6619b2d981a7fb02cf4cd05f00120f84dc0e19bbb4ee415de06d0c715a1e6736d11f2e1d3d8cc262f496319e389e SHA512 107fd6e48a3b3693a3019726cbe398ff7640896ffc7eac05bccee168f45be2c91baa1b673684006a3147716c274b11f1e44314b4d8fe89fbf124117fde26da1a
+EBUILD jakarta-json-api-1.1.6.ebuild 916 BLAKE2B d0c576304b863523e215ad88bd9a6d58def633093afdf65fad1b9252b016edf37d500534afc5f12d6c78d61d8a5c226a161b1dc468940230f38399b3a2c06b0c SHA512 5338612b055fd695b1e82e134daa63a69e087acdf4a04398227b05a26b11dbc5f214ef9b09a261b8a80183f9fbcec90b2f4198199cf78e2d1949754cdccacab4
+MISC metadata.xml 320 BLAKE2B 7122c677970180a1bf5faa715f1a4887df4692673cb4dfb0df9538e36f645e89b64fb3374a854cad50e2d2a0965ee97eaaafbc20f6526397a035e9182979ac19 SHA512 3fc26e2503653efab9e6724b7947fc01ec8d23934f3c9455dc55e731f88546844cd7aebdcd696c7bdf62bd3f05094fb35aad03c38078a1824c6031f26877a240
diff --git a/dev-java/jakarta-json-api/jakarta-json-api-1.1.6.ebuild b/dev-java/jakarta-json-api/jakarta-json-api-1.1.6.ebuild
new file mode 100644
index 000000000000..d8ca5b27516a
--- /dev/null
+++ b/dev-java/jakarta-json-api/jakarta-json-api-1.1.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="jakarta.json:jakarta.json-api:1.1.6"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="jsonp"
+MY_PV="1.1-${PV}-RELEASE"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="JSR 374 (JSON Processing) API"
+HOMEPAGE="https://projects.eclipse.org/projects/ee4j.jsonp"
+SRC_URI="https://github.com/eclipse-ee4j/jsonp/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( EPL-2.0 GPL-2-with-classpath-exception )"
+# Since version 2.0.0, the namespace has changed to jakarta.json
+SLOT="1"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_SRC_DIR="api/src/main"
+
+DOCS=( CONTRIBUTING.md NOTICE.md README.md )
+
+src_install() {
+ java-pkg-simple_src_install
+ einstalldocs # https://bugs.gentoo.org/789582
+}
diff --git a/dev-java/jakarta-json-api/metadata.xml b/dev-java/jakarta-json-api/metadata.xml
new file mode 100644
index 000000000000..f7203c39781d
--- /dev/null
+++ b/dev-java/jakarta-json-api/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="github">eclipse-ee4j/jsonp</remote-id>
+ </upstream>
+</pkgmetadata>