dev-java/javax-servlet-api: add 3.0.1, 3.1.0

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2023-03-22 06:34:55 +01:00
committed by Miroslav Šulc
parent 44a51abda5
commit fa91c3cce7
4 changed files with 66 additions and 0 deletions
+2
View File
@@ -1 +1,3 @@
DIST javax.servlet-api-3.0.1-sources.jar 212871 BLAKE2B aea63157c3c0af5a40b7245ed0cab312b6d21419087d269374446e1c5f13200fb726a4533bf8d843a7e30d26266e4d9ae6c5e0b05004165ffcef14a7d179cf7b SHA512 9a955e4c8973af31f421f5651b0ae0c00fe4966318ef1849af97aa525736e262fa88b312c0acad093f25d7fa2c0903549d3e53b0cbc45afa7a2436b2c2282e7d
DIST javax.servlet-api-3.1.0-sources.jar 223386 BLAKE2B ca472d1312e3ebb86ac1f0d1971dbaa607143f856e56a5544cf30daa3c23745e0b338ca10f518300627a53adccf284da91c6f70a25001c5a030b3308b23cb89d SHA512 15c9e497a67c1702ff9f987713553ade10ddfc722ea69377e721b8b094491184efc5801aad420fdbbdffd1d23691328c6eb768d5ad580fc00f3a7eaa6411749c
DIST servlet-api-2.5-sources.jar 158114 BLAKE2B 84997b9cc2122f49a850ac32089eb484bc4f68c4e73c7541cf70f453f0a0eaa0c037d6f2b8c8270d4122502f224a6943011f6a964da406093d0ad4bb173dc71e SHA512 6590adea214ba7f59e033b8f450ca8fd3a0764ac6aaf2789d5824ddeecc4c520d004242e42e3a058517d5f556a41a970f782dfde35b2cf184874a77063dc0fef
@@ -0,0 +1,30 @@
# 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:javax.servlet-api:3.0.1"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="JavaServlet(TM) Specification JSR-000315"
HOMEPAGE="https://javaee.github.io/servlet-spec/"
SRC_URI="https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/${PV}/javax.servlet-api-${PV}-sources.jar"
LICENSE="CDDL GPL-2"
SLOT="3.0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
RDEPEND=">=virtual/jre-1.8:*"
DEPEND=">=virtual/jdk-1.8:*"
JAVA_RESOURCE_DIRS="resources"
src_prepare() {
java-pkg-2_src_prepare
mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die
find . -type f ! -name '*.java' | xargs cp --parent -t resources || die
echo "Implementation-Version: 3.0.1" > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF"
echo "Specification-Version: 3.0" >> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF"
}
@@ -0,0 +1,30 @@
# 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:javax.servlet-api:3.1.0"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="JavaServlet(TM) Specification JSR-000340"
HOMEPAGE="https://javaee.github.io/servlet-spec/"
SRC_URI="https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/${PV}/javax.servlet-api-${PV}-sources.jar"
LICENSE="CDDL GPL-2"
SLOT="3.1"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
RDEPEND=">=virtual/jre-1.8:*"
DEPEND=">=virtual/jdk-1.8:*"
JAVA_RESOURCE_DIRS="resources"
src_prepare() {
java-pkg-2_src_prepare
mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die
echo "Implementation-Version: 3.1.0" > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF"
echo "Specification-Version: 3.1" >> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF"
find . -type f -name '*.properties' | xargs cp --parent -t resources || die
}
+4
View File
@@ -7,6 +7,10 @@
<longdescription>
Java Servlet is the foundation web specification in the Java Enterprise Platform. Developers can build web applications using the Servlet API to interact with the request/response workflow.
</longdescription>
<slots>
<slot name="3.1">https://jcp.org/aboutJava/communityprocess/final/jsr340/</slot>
<slot name="3.0">https://jcp.org/aboutJava/communityprocess/final/jsr315/</slot>
</slots>
<upstream>
<doc>https://jcp.org/aboutJava/communityprocess/mrel/jsr154/</doc>
</upstream>