From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD88C158094 for ; Wed, 21 Sep 2022 14:02:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED333E09F8; Wed, 21 Sep 2022 14:02:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0112E09F8 for ; Wed, 21 Sep 2022 14:02:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE24233BF01 for ; Wed, 21 Sep 2022 14:02:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 728515B1 for ; Wed, 21 Sep 2022 14:02:45 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1663768956.4b392b31ecc948bc1332a1ca15b879dd17bcd4db.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jakarta-servlet-api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jakarta-servlet-api/Manifest dev-java/jakarta-servlet-api/jakarta-servlet-api-6.0.0.ebuild dev-java/jakarta-servlet-api/metadata.xml X-VCS-Directories: dev-java/jakarta-servlet-api/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 4b392b31ecc948bc1332a1ca15b879dd17bcd4db X-VCS-Branch: master Date: Wed, 21 Sep 2022 14:02:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a8980cd-203b-4d4e-bf56-f2f6f60b8173 X-Archives-Hash: 84501698781c0ebf74f9be73c344e587 commit: 4b392b31ecc948bc1332a1ca15b879dd17bcd4db Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Mon Sep 5 14:14:41 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Sep 21 14:02:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b392b31 dev-java/jakarta-servlet-api: add 6.0.0 Compile dependency of dev-java/logback-core-1.4.0 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/27154 Signed-off-by: Florian Schmaus gentoo.org> dev-java/jakarta-servlet-api/Manifest | 1 + .../jakarta-servlet-api-6.0.0.ebuild | 39 ++++++++++++++++++++++ dev-java/jakarta-servlet-api/metadata.xml | 4 +++ 3 files changed, 44 insertions(+) diff --git a/dev-java/jakarta-servlet-api/Manifest b/dev-java/jakarta-servlet-api/Manifest index 81765a0c94b4..93a125b9a802 100644 --- a/dev-java/jakarta-servlet-api/Manifest +++ b/dev-java/jakarta-servlet-api/Manifest @@ -1 +1,2 @@ DIST jakarta-servlet-api-4.0.4-RELEASE.tar.gz 188270 BLAKE2B 6c5db208603333abb9aa31726e60d489c5f860e3b6ad61e691d65e8b99909a8139f7677cec52d2a74ed9e8445ea2f0f510875ca32a2e512a09183245a9822889 SHA512 9cd613f8c33f5d415b06f70543eee926c81e87a14d03b837998a6c4db11ce5fb9c2b97f796f2936a63f2a6dc7847d7a97aec7a804b80234cd52e4bfdca9920a9 +DIST jakarta-servlet-api-6.0.0-RELEASE.tar.gz 634690 BLAKE2B e48375f6a0b74950a2c50d73f2d50f7c79db96e22d5c845380bff670948cd1a1d1ea98eaf93e7fa02887e94010c8573382ba3f6fb52a8fca6fa98e5915c307f6 SHA512 65285bce3e8b5143eb33d548549ff5653c6c90f55e7a19e8fdb4a7799842d3430cfe0cebe54f7a7d253d9da4c2b6d4d7a08b35846636c11a2ca814b8311cecc7 diff --git a/dev-java/jakarta-servlet-api/jakarta-servlet-api-6.0.0.ebuild b/dev-java/jakarta-servlet-api/jakarta-servlet-api-6.0.0.ebuild new file mode 100644 index 000000000000..74495765cc3e --- /dev/null +++ b/dev-java/jakarta-servlet-api/jakarta-servlet-api-6.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jakartaee/servlet/archive/6.0.0-RELEASE.tar.gz --slot 6 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jakarta-servlet-api-6.0.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="jakarta.servlet:jakarta.servlet-api:6.0.0" +# No tests because of still missing junit-jupiter +# JAVA_TESTING_FRAMEWORKS="junit-jupiter" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Javax servlet API" +HOMEPAGE="https://projects.eclipse.org/projects/ee4j.servlet" +SRC_URI="https://github.com/jakartaee/servlet/archive/${PV}-RELEASE.tar.gz -> ${P}-RELEASE.tar.gz" + +LICENSE="EPL-2.0 GPL-2-with-classpath-exception" +SLOT="6" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +RDEPEND=">=virtual/jre-1.8:*" +DEPEND=">=virtual/jdk-11:*" + +DOCS=( {CONTRIBUTING,NOTICE,README}.md ) + +S="${WORKDIR}/servlet-${PV}-RELEASE" + +JAVA_SRC_DIR="api/src/main/java" +JAVA_RESOURCE_DIRS=( api/src/main/{resources,properties} ) + +src_prepare() { + default + cp -r api/src/main/{java,properties} || die + find api/src/main/properties -type f ! -name '*.properties' -exec rm -rf {} + || die + java-pkg-2_src_prepare +} diff --git a/dev-java/jakarta-servlet-api/metadata.xml b/dev-java/jakarta-servlet-api/metadata.xml index 75321cfb5598..77e11a268a0a 100644 --- a/dev-java/jakarta-servlet-api/metadata.xml +++ b/dev-java/jakarta-servlet-api/metadata.xml @@ -4,4 +4,8 @@ java@gentoo.org + + provides javax.servlet + provides jakarta.servlet +