diff options
author | Yuan Liao <liaoyuan@gmail.com> | 2022-01-28 10:26:42 -0800 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-02-04 09:17:35 +0100 |
commit | 656d10f9148362ffbe22dd62bef4f1153f8e05b1 (patch) | |
tree | e1a9224118d33a421e4e5259b7c6fb6640aabb37 /dev-java | |
parent | dev-ml/sedlex: remove unused disfiles (diff) | |
download | gentoo-656d10f9148362ffbe22dd62bef4f1153f8e05b1.tar.gz gentoo-656d10f9148362ffbe22dd62bef4f1153f8e05b1.tar.bz2 gentoo-656d10f9148362ffbe22dd62bef4f1153f8e05b1.zip |
dev-java/jakarta-json-api: Initial import
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24006/commits/f63db61873f9858b74e03e090da33af890f2e186
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jakarta-json-api/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jakarta-json-api/jakarta-json-api-1.1.6.ebuild | 41 | ||||
-rw-r--r-- | dev-java/jakarta-json-api/metadata.xml | 11 |
3 files changed, 53 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..73f9313e3df5 --- /dev/null +++ b/dev-java/jakarta-json-api/Manifest @@ -0,0 +1 @@ +DIST jakarta-json-api-1.1.6.tar.gz 205455 BLAKE2B d928c0fbf65da992670eea0ad5a010b536ba6619b2d981a7fb02cf4cd05f00120f84dc0e19bbb4ee415de06d0c715a1e6736d11f2e1d3d8cc262f496319e389e SHA512 107fd6e48a3b3693a3019726cbe398ff7640896ffc7eac05bccee168f45be2c91baa1b673684006a3147716c274b11f1e44314b4d8fe89fbf124117fde26da1a 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..d6db410b1c8b --- /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> |