dev-java/jakarta-servlet-api - 6.1.0 (gentoo)

Search

Package Information

Description:
Javax servlet API
Homepage:
https://projects.eclipse.org/projects/ee4j.servlet
License:
EPL-2.0 GPL-2-with-classpath-exception

Ebuild Details

Version EAPI Keywords Slot
6.1.0 8 amd64 arm64 ppc64 6.1
View Raw Ebuild
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

JAVA_PKG_IUSE="doc source"
MAVEN_ID="jakarta.servlet:jakarta.servlet-api:6.1.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"
S="${WORKDIR}/servlet-${PV}-RELEASE"

LICENSE="EPL-2.0 GPL-2-with-classpath-exception"
SLOT="6.1"
KEYWORDS="amd64 arm64 ppc64"

DEPEND=">=virtual/jdk-11:*" # module-info
RDEPEND=">=virtual/jre-1.8:*"

DOCS=( {CONTRIBUTING,NOTICE,README}.md )

JAVA_RESOURCE_DIRS=( api/src/main/resources )
JAVA_SRC_DIR="api/src/main/java"

src_prepare() {
	java-pkg-2_src_prepare
	pushd api/src/main/java > /dev/null || die
		find -type f -name '*.properties' \
			| xargs cp --parents -t ../resources || die
	popd > /dev/null || die
}

Dependencies

DEPEND

>=virtual/jdk-11:*

RDEPEND

>=virtual/jre-1.8:*

Manifest for 6.1.0

Type File Size Source URLs
DIST jakarta-servlet-api-6.1.0-RELEASE.tar.gz 1268162 bytes https://github.com/jakartaee/servlet/archive/6.1.0-RELEASE.tar.gz