Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jakarta-activation/
Date: Tue, 10 May 2022 06:37:11
Message-Id: 1652164440.4bce5e1f65f05ad1c8f7dff6142ea882688b86ee.flow@gentoo
1 commit: 4bce5e1f65f05ad1c8f7dff6142ea882688b86ee
2 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
3 AuthorDate: Mon May 9 20:55:15 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue May 10 06:34:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bce5e1f
7
8 dev-java/jakarta-activation: drop 1.2.2, 2.0.1
9
10 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
11 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
12
13 .../jakarta-activation-1.2.2.ebuild | 53 ----------------------
14 .../jakarta-activation-2.0.1.ebuild | 35 --------------
15 2 files changed, 88 deletions(-)
16
17 diff --git a/dev-java/jakarta-activation/jakarta-activation-1.2.2.ebuild b/dev-java/jakarta-activation/jakarta-activation-1.2.2.ebuild
18 deleted file mode 100644
19 index 4c78c930809f..000000000000
20 --- a/dev-java/jakarta-activation/jakarta-activation-1.2.2.ebuild
21 +++ /dev/null
22 @@ -1,53 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -# Skeleton command:
27 -# java-ebuilder --generate-ebuild --workdir . --pom 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-1.2.2.ebuild
28 -
29 -EAPI=7
30 -
31 -JAVA_PKG_IUSE="doc source"
32 -MAVEN_ID="com.sun.activation:jakarta.activation:1.2.2"
33 -
34 -inherit java-pkg-2 java-pkg-simple
35 -
36 -DESCRIPTION="Jakarta Activation"
37 -HOMEPAGE="https://eclipse-ee4j.github.io/jaf/"
38 -SRC_URI="https://github.com/eclipse-ee4j/jaf/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
39 -
40 -LICENSE="EPL-1.0"
41 -SLOT="1"
42 -KEYWORDS="amd64 ~arm arm64 ppc64 x86"
43 -
44 -CDEPEND="dev-java/jakarta-activation-api:1"
45 -DEPEND="${CDEPEND}
46 - >=virtual/jdk-1.8:*"
47 -RDEPEND="${CDEPEND}
48 - >=virtual/jre-1.8:*"
49 -BDEPEND="app-arch/zip"
50 -
51 -DOCS=( ../{CONTRIBUTING,LICENSE,NOTICE,README}.md )
52 -
53 -S="${WORKDIR}/jaf-${PV}/activation"
54 -
55 -JAVA_ENCODING="iso-8859-1"
56 -
57 -JAVA_GENTOO_CLASSPATH="jakarta-activation-api-1"
58 -JAVA_SRC_DIR="src/main/java"
59 -JAVA_RESOURCE_DIRS="src/main/resources"
60 -
61 -src_prepare() {
62 - default
63 - find ${JAVA_RESOURCE_DIRS} -name "*.default" -delete || die "Failed to delete *.default files"
64 -}
65 -
66 -src_compile() {
67 - java-pkg-simple_src_compile
68 -
69 - # we remove API classes from the jar file
70 - # removing javax sources in src_prepare does not work - compilation fails with:
71 - # src/main/java/module-info.java:12: error: package is empty or does not exist: javax.activation
72 - # exports javax.activation;
73 -
74 - zip -d ${PN}.jar "javax/*" || die "Failed to remove API classes"
75 -}
76
77 diff --git a/dev-java/jakarta-activation/jakarta-activation-2.0.1.ebuild b/dev-java/jakarta-activation/jakarta-activation-2.0.1.ebuild
78 deleted file mode 100644
79 index f7fe1163b923..000000000000
80 --- a/dev-java/jakarta-activation/jakarta-activation-2.0.1.ebuild
81 +++ /dev/null
82 @@ -1,35 +0,0 @@
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 2 --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="com.sun.activation:jakarta.activation:2.0.1"
93 -
94 -inherit java-pkg-2 java-pkg-simple
95 -
96 -DESCRIPTION="Jakarta Activation"
97 -HOMEPAGE="https://github.com/eclipse-ee4j/jaf/jakarta.activation"
98 -SRC_URI="https://github.com/eclipse-ee4j/jaf/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
99 -
100 -LICENSE="EPL-1.0"
101 -SLOT="2"
102 -KEYWORDS="amd64 ~arm arm64 ppc64 x86"
103 -
104 -DEPEND="
105 - >=virtual/jdk-1.8:*
106 -"
107 -
108 -RDEPEND="
109 - >=virtual/jre-1.8:*
110 -"
111 -
112 -S="${WORKDIR}/jaf-${PV}/activation"
113 -
114 -JAVA_SRC_DIR="src/main/java"
115 -JAVA_RESOURCE_DIRS=(
116 - "src/main/resources"
117 -)