summaryrefslogtreecommitdiff
path: root/dev-java/jaxrs-api
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-21 12:39:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-21 12:39:53 +0000
commit9d5a20176934a287f9e0970722062db5242d30fa (patch)
tree38fe74a0c66384df6a03863d36d16c0a1f2c804e /dev-java/jaxrs-api
parent0464b87d8be9fcf33aebbd906bc0d3a65c953cff (diff)
gentoo auto-resync : 21:03:2023 - 12:39:52
Diffstat (limited to 'dev-java/jaxrs-api')
-rw-r--r--dev-java/jaxrs-api/Manifest5
-rw-r--r--dev-java/jaxrs-api/jaxrs-api-2.1.6-r1.ebuild50
-rw-r--r--dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild2
-rw-r--r--dev-java/jaxrs-api/metadata.xml3
4 files changed, 57 insertions, 3 deletions
diff --git a/dev-java/jaxrs-api/Manifest b/dev-java/jaxrs-api/Manifest
index d9ffe669d97c..c66027c253fc 100644
--- a/dev-java/jaxrs-api/Manifest
+++ b/dev-java/jaxrs-api/Manifest
@@ -1,3 +1,4 @@
DIST jaxrs-api-2.1.6.tar.gz 225315 BLAKE2B bf4f12eadbee605e1141c72ee2a51c64548f3bed2846d1605758bcd994633b1a8f23b2054e0b71503583096a7234f42d12a389b9da031fa8b8c6b313cad84d98 SHA512 b5032ea9905e31b4120761125999a50e6d30229e7174e4a5e087f263030b25c157384a6d31796a90c590fda413e0e66220ec77c809a22fac8827ffa971c4aae7
-EBUILD jaxrs-api-2.1.6.ebuild 1949 BLAKE2B 4cf6a2ce4056132f23f0610b7f02924c64eba7e0e2ea7512b308aee9d139774eef863f10b941ea4b9d7ef768548354bd7926cdee56503e345c91df206ecb4773 SHA512 0cfad4261c6cb1505c9639f25366c5b5e37477ee770b08fcf38569bad9c4fbaf5fca371db8c271ce216a8e75caef5ffe74476fc902b3995407c7f2d90ed232d4
-MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
+EBUILD jaxrs-api-2.1.6-r1.ebuild 1339 BLAKE2B 1b5757638c5ea40ebfe8ab788f45e0f07203f395575e430d844940af4e36143ca9dd041d6b6482d0d7125de63d9dd7585acd1eb9418763855c9fe684a1e7fe59 SHA512 0ee8123d08dab4fbb5be5e6cb26fe8af09cb01ebdbcd700c09eae32155a46261cda9a9bac2d5ce58f99277cd6cf536169670d4b0f00422ee11602e7f24fbc719
+EBUILD jaxrs-api-2.1.6.ebuild 1949 BLAKE2B 67735cda747091333aafa3f24b23e65651656e8a89a07efaab45485d7d727b8c32047b0b20a7fe037b85014e420f9ca4149a32cf9a7f055f7231e5ae709e90ca SHA512 8e97a2216e38b4d0ee2d9b311cfe4e96a739c569e5998765bd086ac3ffad1e19c5f20f771a8119143ffc4aaf15f60e3c02872b5075b390a4d2189860de1222db
+MISC metadata.xml 296 BLAKE2B 0f1aa984297daec83154cabd45ec0d0f950cc198ba8e0ceec8ab299781c7a2bca0857e9a635ef7d98a92ac3d88f979530143ea12d1ec8699d5b42c89a6a04204 SHA512 1d054cbecfacdea17124207b9597f58014b013917ba3e00264589a0ce048b66629417f1d1d4db3a02f762fc2141094e9b1bec59a45aab1207a2a8fb8c63b1444
diff --git a/dev-java/jaxrs-api/jaxrs-api-2.1.6-r1.ebuild b/dev-java/jaxrs-api/jaxrs-api-2.1.6-r1.ebuild
new file mode 100644
index 000000000000..0d90ff6057d0
--- /dev/null
+++ b/dev-java/jaxrs-api/jaxrs-api-2.1.6-r1.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="jakarta.ws.rs:jakarta.ws.rs-api:2.1.6"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Jakarta RESTful Web Services API"
+HOMEPAGE="https://github.com/jakartaee/rest"
+SRC_URI="https://github.com/jakartaee/rest/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/rest-${PV}/${PN}"
+
+LICENSE="EPL-2.0 GPL-2-with-classpath-exception"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ >=virtual/jdk-11:*
+ dev-java/jakarta-activation-api:1
+ dev-java/jaxb-api:2
+ test? (
+ dev-java/jaxb-runtime:2
+ dev-java/mockito:4
+ )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../{CONTRIBUTING,NOTICE,README}.md )
+
+JAVA_CLASSPATH_EXTRA="jakarta-activation-api-1,jaxb-api-2"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="jaxb-runtime-2,junit-4,mockito-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+ # The default test selection of java-pkg-simple would omit
+ # "javax.ws.rs.core.AbstractMultivaluedMapTest"
+ pushd src/test/java > /dev/null || die
+ local JAVA_TEST_RUN_ONLY=$(find * -type f -name "*Test.java" )
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ popd > /dev/null || die
+ java-pkg-simple_src_test
+}
diff --git a/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild b/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild
index 3390c60bee70..ee1e37e0d661 100644
--- a/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild
+++ b/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Skeleton command:
diff --git a/dev-java/jaxrs-api/metadata.xml b/dev-java/jaxrs-api/metadata.xml
index 75321cfb5598..45d0d6dea3c6 100644
--- a/dev-java/jaxrs-api/metadata.xml
+++ b/dev-java/jaxrs-api/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
+ <upstream>
+ <remote-id type="github">jakartaee/rest</remote-id>
+ </upstream>
</pkgmetadata>