From 81b8f20732954c4508baf2f77472b5435e3f851f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 14 Sep 2022 11:10:11 +0100 Subject: gentoo auto-resync : 14:09:2022 - 11:10:10 --- dev-java/jaxrs-api/Manifest | 3 ++ dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild | 59 +++++++++++++++++++++++++++++++ dev-java/jaxrs-api/metadata.xml | 7 ++++ 3 files changed, 69 insertions(+) create mode 100644 dev-java/jaxrs-api/Manifest create mode 100644 dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild create mode 100644 dev-java/jaxrs-api/metadata.xml (limited to 'dev-java/jaxrs-api') diff --git a/dev-java/jaxrs-api/Manifest b/dev-java/jaxrs-api/Manifest new file mode 100644 index 000000000000..965d58b44a31 --- /dev/null +++ b/dev-java/jaxrs-api/Manifest @@ -0,0 +1,3 @@ +DIST jaxrs-api-2.1.6.tar.gz 225315 BLAKE2B bf4f12eadbee605e1141c72ee2a51c64548f3bed2846d1605758bcd994633b1a8f23b2054e0b71503583096a7234f42d12a389b9da031fa8b8c6b313cad84d98 SHA512 b5032ea9905e31b4120761125999a50e6d30229e7174e4a5e087f263030b25c157384a6d31796a90c590fda413e0e66220ec77c809a22fac8827ffa971c4aae7 +EBUILD jaxrs-api-2.1.6.ebuild 1941 BLAKE2B d2a31169f10999600a3075670d9b6a93188f989d887e1c63b3b67e34b1b39000e6a11a8eb1a01e526c127a4ca244f578e5ffe1e95d7e6cbd86c90cc71534a974 SHA512 be448adce83483da5c14f0a79e275436bb3fbbba46be380ec3d74f0680897bd5598c6f14f0af7086ae434d83b14521f6e7353d49674aeaf5c33b890cb9255e79 +MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild b/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild new file mode 100644 index 000000000000..dbd9649763f2 --- /dev/null +++ b/dev-java/jaxrs-api/jaxrs-api-2.1.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom jaxrs-api/pom.xml --download-uri https://github.com/jakartaee/rest/archive/2.1.6.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxrs-api-2.1.6.ebuild + +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" + +LICENSE="EPL-2.0 GPL-2-with-classpath-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" + +# Compile dependencies +# POM: ${PN}/pom.xml +# jakarta.activation:jakarta.activation-api:1.2.1 -> >=dev-java/jakarta-activation-api-1.2.2:1 +# jakarta.xml.bind:jakarta.xml.bind-api:2.3.2 -> >=dev-java/jaxb-api-2.3.3:2 +# POM: ${PN}/pom.xml +# test? junit:junit:4.11 -> >=dev-java/junit-4.13.2:4 +# test? org.glassfish.jaxb:jaxb-runtime:2.3.2 -> !!!groupId-not-found!!! +# test? org.mockito:mockito-core:2.22.0 -> >=dev-java/mockito-4.4.0:4 + +DEPEND=" + >=virtual/jdk-11:* + dev-java/jakarta-activation-api:1 + dev-java/jaxb-api:2 + test? ( + dev-java/jaxb-runtime:4 + dev-java/mockito:4 + ) +" + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( ../{CONTRIBUTING,NOTICE,README}.md ) + +S="${WORKDIR}/rest-${PV}/${PN}" + +JAVA_CLASSPATH_EXTRA="jakarta-activation-api-1,jaxb-api-2" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="jaxb-runtime-4,junit-4,mockito-4" +JAVA_TEST_SRC_DIR="src/test/java" + +# "mvn test" -> Tests run: 34, Failures: 0, Errors: 0, Skipped: 3 +# 1) testSerializationOfJaxbLink(javax.ws.rs.core.JaxbLinkTest) +# javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath. +JAVA_TEST_EXCLUDES=( + javax.ws.rs.core.JaxbLinkTest +) diff --git a/dev-java/jaxrs-api/metadata.xml b/dev-java/jaxrs-api/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/jaxrs-api/metadata.xml @@ -0,0 +1,7 @@ + + + + + java@gentoo.org + + -- cgit v1.2.3