1 |
commit: 6403d6798b8218375b79dfc1c2b07ec506f492be |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Mon May 9 08:55:05 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 10 06:33:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6403d679 |
7 |
|
8 |
dev-java/jakarta-activation-api: virtual/jdk-1.8:*" -> -11.* |
9 |
|
10 |
Bug: https://bugs.gentoo.org/797289 |
11 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
12 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
13 |
|
14 |
.../jakarta-activation-api-1.2.2-r1.ebuild | 52 ++++++++++++++++++++++ |
15 |
.../jakarta-activation-api-2.1.0-r1.ebuild | 35 +++++++++++++++ |
16 |
2 files changed, 87 insertions(+) |
17 |
|
18 |
diff --git a/dev-java/jakarta-activation-api/jakarta-activation-api-1.2.2-r1.ebuild b/dev-java/jakarta-activation-api/jakarta-activation-api-1.2.2-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 000000000000..459fa0f06282 |
21 |
--- /dev/null |
22 |
+++ b/dev-java/jakarta-activation-api/jakarta-activation-api-1.2.2-r1.ebuild |
23 |
@@ -0,0 +1,52 @@ |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+# Skeleton command: |
28 |
+# java-ebuilder --generate-ebuild --workdir . --pom jaf-1.2.2/activationapi/pom.xml --download-uri https://github.com/eclipse-ee4j/jaf/archive/refs/tags/1.2.2.tar.gz --slot 1 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jakarta-activation-api-1.2.2.ebuild |
29 |
+ |
30 |
+EAPI=8 |
31 |
+ |
32 |
+JAVA_PKG_IUSE="doc source" |
33 |
+MAVEN_ID="jakarta.activation:jakarta.activation-api:1.2.2" |
34 |
+ |
35 |
+inherit java-pkg-2 java-pkg-simple |
36 |
+ |
37 |
+DESCRIPTION="Jakarta Activation API jar" |
38 |
+HOMEPAGE="https://eclipse-ee4j.github.io/jaf/" |
39 |
+SRC_URI="https://github.com/eclipse-ee4j/jaf/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="EPL-1.0" |
42 |
+SLOT="1" |
43 |
+KEYWORDS="amd64 ~arm arm64 ppc64 x86" |
44 |
+ |
45 |
+DEPEND=">=virtual/jdk-11:*" |
46 |
+RDEPEND=">=virtual/jre-1.8:*" |
47 |
+BDEPEND="app-arch/zip" |
48 |
+ |
49 |
+DOCS=( ../{CONTRIBUTING,NOTICE,README}.md ) |
50 |
+ |
51 |
+S="${WORKDIR}/jaf-${PV}/activation" |
52 |
+ |
53 |
+JAVA_ENCODING="iso-8859-1" |
54 |
+ |
55 |
+JAVA_SRC_DIR="src/main/java" |
56 |
+JAVA_RESOURCE_DIRS="src/main/resources" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ # these files are not present in the upstream jar |
61 |
+ find ${JAVA_RESOURCE_DIRS} -name "*.default" -delete || die "Failed to delete *.default files" |
62 |
+} |
63 |
+ |
64 |
+src_compile() { |
65 |
+ java-pkg-simple_src_compile |
66 |
+ # we remove implementation classes from the api |
67 |
+ zip -d ${PN}.jar "com/*" || die "Failed to remove implementation classes" |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ # we remove the implementation sources so that they don't land in sources |
73 |
+ rm -fr ${JAVA_SRC_DIR}/com || "Failed to delete implementation sources" |
74 |
+ java-pkg-simple_src_install |
75 |
+} |
76 |
|
77 |
diff --git a/dev-java/jakarta-activation-api/jakarta-activation-api-2.1.0-r1.ebuild b/dev-java/jakarta-activation-api/jakarta-activation-api-2.1.0-r1.ebuild |
78 |
new file mode 100644 |
79 |
index 000000000000..2b6b9f6729b6 |
80 |
--- /dev/null |
81 |
+++ b/dev-java/jakarta-activation-api/jakarta-activation-api-2.1.0-r1.ebuild |
82 |
@@ -0,0 +1,35 @@ |
83 |
+# Copyright 1999-2022 Gentoo Authors |
84 |
+# Distributed under the terms of the GNU General Public License v2 |
85 |
+ |
86 |
+# Skeleton command: |
87 |
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/eclipse-ee4j/jaf/archive/refs/tags/2.0.1.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jakarta-activation-2.0.1.ebuild |
88 |
+ |
89 |
+EAPI=8 |
90 |
+ |
91 |
+JAVA_PKG_IUSE="doc source" |
92 |
+MAVEN_ID="jakarta.activation:jakarta.activation-api:2.1.0" |
93 |
+ |
94 |
+inherit java-pkg-2 java-pkg-simple |
95 |
+ |
96 |
+DESCRIPTION="Jakarta Activation API jar" |
97 |
+HOMEPAGE="https://eclipse-ee4j.github.io/jaf/" |
98 |
+SRC_URI="https://github.com/eclipse-ee4j/jaf/archive/${PV}.tar.gz -> jakarta-activation-${PV}.tar.gz" |
99 |
+ |
100 |
+LICENSE="EPL-1.0" |
101 |
+SLOT="2" |
102 |
+KEYWORDS="amd64 ~arm arm64 ppc64 x86" |
103 |
+ |
104 |
+DEPEND=">=virtual/jdk-11:*" |
105 |
+RDEPEND=">=virtual/jre-1.8:*" |
106 |
+ |
107 |
+DOCS=( ../{CONTRIBUTING,NOTICE,README}.md ) |
108 |
+ |
109 |
+S="${WORKDIR}/jaf-${PV}/api" |
110 |
+ |
111 |
+JAVA_SRC_DIR="src/main/java" |
112 |
+JAVA_RESOURCE_DIRS="src/main/resources" |
113 |
+ |
114 |
+src_install() { |
115 |
+ default # https://bugs.gentoo.org/789582 |
116 |
+ java-pkg-simple_src_install |
117 |
+} |