Diff javax-jsp-api-2.0 with a javax-jsp-api-2.2
/usr/portage/dev-java/javax-jsp-api/javax-jsp-api-2.2.ebuild 2023-10-09 14:52:29.428368349 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
JAVA_PKG_IUSE="doc source" |
7 |
MAVEN_ID="javax.servlet.jsp:jsp-api:2.0" |
|
7 |
MAVEN_ID="javax.servlet.jsp:jsp-api:2.2" |
|
8 | 8 | |
9 | 9 |
inherit java-pkg-2 java-pkg-simple |
10 | 10 | |
11 | 11 |
DESCRIPTION="JavaServer Pages(TM) API JSR-000152 JSR-000245" |
12 |
HOMEPAGE="https://jcp.org/aboutJava/communityprocess/final/jsr152/" |
|
12 |
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" |
|
13 | 13 |
SRC_URI="https://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/${PV}/jsp-api-${PV}-sources.jar" |
14 | 14 | |
15 | 15 |
LICENSE="CDDL GPL-2-with-classpath-exception" |
16 |
SLOT="2.0" |
|
17 |
KEYWORDS="amd64 ~arm ~arm64 x86" |
|
16 |
SLOT="2.2" |
|
17 |
KEYWORDS="amd64 ~arm ~arm64 ~x86" |
|
18 | 18 | |
19 |
CP_DEPEND="dev-java/javax-servlet-api:2.5" |
|
20 | ||
21 |
RDEPEND=" |
|
22 |
${CP_DEPEND} |
|
23 |
>=virtual/jre-1.8:* |
|
24 |
" |
|
25 | ||
26 |
DEPEND=" |
|
27 |
${CP_DEPEND} |
|
28 |
>=virtual/jdk-1.8:* |
|
19 |
CP_DEPEND=" |
|
20 |
dev-java/javax-el-api:2.2 |
|
21 |
dev-java/javax-servlet-api:2.5 |
|
29 | 22 |
" |
30 | 23 | |
31 |
JAVA_RESOURCE_DIRS="resources" |
|
32 | ||
33 |
src_prepare() { |
|
34 |
java-pkg-2_src_prepare |
|
35 |
mkdir -p "${JAVA_RESOURCE_DIRS}/javax/servlet/jsp/resources" || die |
|
36 |
mv dtd/* "${JAVA_RESOURCE_DIRS}/javax/servlet/jsp/resources" || die |
|
37 |
} |
|
24 |
RDEPEND=">=virtual/jre-1.8:* |
|
25 |
${CP_DEPEND}" |
|
26 |
DEPEND=">=virtual/jdk-1.8:* |
|
27 |
${CP_DEPEND}" |