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