From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/javax-jsp-api/
Date: Wed, 1 Mar 2023 07:17:31 +0000 (UTC) [thread overview]
Message-ID: <1677655045.91844d6674767568940f6527621e24f46dfdc683.fordfrog@gentoo> (raw)
commit: 91844d6674767568940f6527621e24f46dfdc683
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Feb 28 08:30:55 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Mar 1 07:17:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91844d66
dev-java/javax-jsp-api: add 2.0
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/javax-jsp-api/Manifest | 1 +
dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild | 37 +++++++++++++++++++++++++
dev-java/javax-jsp-api/metadata.xml | 4 +++
3 files changed, 42 insertions(+)
diff --git a/dev-java/javax-jsp-api/Manifest b/dev-java/javax-jsp-api/Manifest
index c5007f612518..d1bdfd42d152 100644
--- a/dev-java/javax-jsp-api/Manifest
+++ b/dev-java/javax-jsp-api/Manifest
@@ -1 +1,2 @@
+DIST jsp-api-2.0-sources.jar 118348 BLAKE2B d9f615961a6ef2afb1447477d44e4f49eaf9137f62ba596c40d7437c8d4973a68f689189255bcc6bae5e5970b23c8e93fbabcad2fb230f54963dad55eef2a8f7 SHA512 4f38ed56e9e51a979488a26fde36905748674e225a10df82259891fa85f8493575a58babb7620b27a96ab7e83002433ae4ee60f700a866e330642c7dd0a0f7a8
DIST jsp-api-2.2-sources.jar 163137 BLAKE2B 8bac5428393518cb3edb8488eaaab772d37db51dfbc5b466eabcb5b8ccd90cfa4869ebe65d861c64a6c588c8ede3ab1f5ab0c2e9080dde16c0585a7f774abb05 SHA512 ff79c34904372b722501b4479cbf88796017839d636a31b9343ef9104d93e3554154b3124f366295d05a41dc8320ff8bc83e9f8ee971df35c791220065b70647
diff --git a/dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild b/dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild
new file mode 100644
index 000000000000..719f7a2a80d6
--- /dev/null
+++ b/dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="javax.servlet.jsp:jsp-api:2.0"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JavaServer Pages(TM) API JSR-000152 JSR-000245"
+HOMEPAGE="https://jcp.org/aboutJava/communityprocess/final/jsr152/"
+SRC_URI="https://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/${PV}/jsp-api-${PV}-sources.jar"
+
+LICENSE="CDDL GPL-2-with-classpath-exception"
+SLOT="2.0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+CP_DEPEND="dev-java/javax-servlet-api:2.5"
+
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+
+JAVA_RESOURCE_DIRS="resources"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ mkdir -p "${JAVA_RESOURCE_DIRS}/javax/servlet/jsp/resources" || die
+ mv dtd/* "${JAVA_RESOURCE_DIRS}/javax/servlet/jsp/resources" || die
+}
diff --git a/dev-java/javax-jsp-api/metadata.xml b/dev-java/javax-jsp-api/metadata.xml
index 75321cfb5598..882410dd6f2e 100644
--- a/dev-java/javax-jsp-api/metadata.xml
+++ b/dev-java/javax-jsp-api/metadata.xml
@@ -4,4 +4,8 @@
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
+ <slots>
+ <slot name="2.0">https://jcp.org/aboutJava/communityprocess/final/jsr152/</slot>
+ <slot name="2.2">https://jcp.org/aboutJava/communityprocess/mrel/jsr245/</slot>
+ </slots>
</pkgmetadata>
next reply other threads:[~2023-03-01 7:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 7:17 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-30 17:11 [gentoo-commits] repo/gentoo:master commit in: dev-java/javax-jsp-api/ Sam James
2023-03-30 17:11 Sam James
2023-03-28 14:59 Sam James
2023-03-03 17:17 Arthur Zamarin
2023-03-01 7:17 Miroslav Šulc
2023-02-28 19:24 Arthur Zamarin
2023-02-27 18:48 Arthur Zamarin
2023-02-27 18:48 Arthur Zamarin
2023-02-27 6:59 Miroslav Šulc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1677655045.91844d6674767568940f6527621e24f46dfdc683.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox