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/bcprov/
Date: Wed, 05 Jan 2022 20:49:50
Message-Id: 1641415772.f769080648100f9ac7cc1fab33f7e9a8bfa65309.flow@gentoo
1 commit: f769080648100f9ac7cc1fab33f7e9a8bfa65309
2 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
3 AuthorDate: Mon Jan 3 11:01:42 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 5 20:49:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7690806
7
8 dev-java/bcprov: Remove unneeded slot
9
10 Closes: https://bugs.gentoo.org/799749
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
13 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
14
15 dev-java/bcprov/Manifest | 1 -
16 dev-java/bcprov/bcprov-1.50-r2.ebuild | 65 -----------------------------------
17 dev-java/bcprov/bcprov-1.50-r4.ebuild | 61 --------------------------------
18 3 files changed, 127 deletions(-)
19
20 diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest
21 index f766f2b06d0b..b7586bb46675 100644
22 --- a/dev-java/bcprov/Manifest
23 +++ b/dev-java/bcprov/Manifest
24 @@ -1,2 +1 @@
25 DIST bc-java-r1rv69.tar.gz 56587177 BLAKE2B be5321f48911840de70d3201c0436cf4147a25999abb605dc4c176ea9292796ca25633635d66dccab685a4bb162258c4495ccc764782119a0750ec1b7456a7db SHA512 5224f424faf549e8e3f2db1134e74647b09bebb654ed23bb0bcd493f065fdb3f2b4f2815be0137ebcc9d62b25a6725b7a26b76d55eb3ad014ad0ce92961126de
26 -DIST bcprov-jdk15on-150.tar.gz 4629743 BLAKE2B 7ab18e83f90db38b9af9530246806b4d413718531ce4b34b7aefa7189e28ade8a2afd5d3b3dc25c8cb2d5ef23a8c7f8157ac947ae7d0a46356b00ea7dd6d5f76 SHA512 95400c338a65cbb7d1e80c776de41d3d372b4237aee91526a06774c3d4beb735dcfb4c1ed182a12f2ccac8204b9c546863d79eb99723394d48c415fa32b6ee0e
27
28 diff --git a/dev-java/bcprov/bcprov-1.50-r2.ebuild b/dev-java/bcprov/bcprov-1.50-r2.ebuild
29 deleted file mode 100644
30 index a2a400806d60..000000000000
31 --- a/dev-java/bcprov/bcprov-1.50-r2.ebuild
32 +++ /dev/null
33 @@ -1,65 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -JAVA_PKG_IUSE="doc source test"
40 -
41 -inherit java-pkg-2 java-pkg-simple
42 -
43 -MY_P="${PN}-jdk15on-${PV/./}"
44 -
45 -DESCRIPTION="Java cryptography APIs"
46 -HOMEPAGE="https://www.bouncycastle.org/java.html"
47 -SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
48 -
49 -LICENSE="BSD"
50 -SLOT="1.50"
51 -KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos"
52 -
53 -CDEPEND=""
54 -
55 -DEPEND=">=virtual/jdk-1.6
56 - app-arch/unzip
57 - ${CDEPEND}"
58 -
59 -RDEPEND=">=virtual/jre-1.6
60 - ${CDEPEND}"
61 -
62 -S="${WORKDIR}/${MY_P}"
63 -
64 -JAVA_ENCODING="ISO-8859-1"
65 -
66 -# Package can't be built with test as bcprov and bcpkix can't be built with test.
67 -RESTRICT="test"
68 -
69 -src_unpack() {
70 - default
71 - cd "${S}"
72 - unpack ./src.zip
73 -}
74 -
75 -java_prepare() {
76 - if ! use test; then
77 - # There are too many files to delete so we won't be using JAVA_RM_FILES
78 - # (it produces a lot of output).
79 - local RM_TEST_FILES=()
80 - while read -d $'\0' -r file; do
81 - RM_TEST_FILES+=("${file}")
82 - done < <(find . -name "*Test*.java" -type f -print0)
83 - while read -d $'\0' -r file; do
84 - RM_TEST_FILES+=("${file}")
85 - done < <(find . -name "*Mock*.java" -type f -print0)
86 -
87 - rm -v "${RM_TEST_FILES[@]}"
88 - fi
89 -}
90 -
91 -src_compile() {
92 - java-pkg-simple_src_compile
93 -}
94 -
95 -src_install() {
96 - java-pkg-simple_src_install
97 - use source && java-pkg_dosrc org
98 -}
99
100 diff --git a/dev-java/bcprov/bcprov-1.50-r4.ebuild b/dev-java/bcprov/bcprov-1.50-r4.ebuild
101 deleted file mode 100644
102 index dce87d213ba8..000000000000
103 --- a/dev-java/bcprov/bcprov-1.50-r4.ebuild
104 +++ /dev/null
105 @@ -1,61 +0,0 @@
106 -# Copyright 1999-2021 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=5
110 -
111 -JAVA_PKG_IUSE="doc source test"
112 -
113 -inherit java-pkg-2 java-pkg-simple
114 -
115 -MY_P="${PN}-jdk15on-${PV/./}"
116 -
117 -DESCRIPTION="Java cryptography APIs"
118 -HOMEPAGE="https://www.bouncycastle.org/java.html"
119 -SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
120 -
121 -LICENSE="BSD"
122 -SLOT="1.50"
123 -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
124 -
125 -DEPEND=">=virtual/jdk-1.6
126 - app-arch/unzip"
127 -
128 -RDEPEND=">=virtual/jre-1.6"
129 -
130 -S="${WORKDIR}/${MY_P}"
131 -
132 -JAVA_ENCODING="ISO-8859-1"
133 -
134 -# Package can't be built with test as bcprov and bcpkix can't be built with test.
135 -RESTRICT="test"
136 -
137 -src_unpack() {
138 - default
139 - cd "${S}"
140 - unpack ./src.zip
141 -}
142 -
143 -java_prepare() {
144 - if ! use test; then
145 - # There are too many files to delete so we won't be using JAVA_RM_FILES
146 - # (it produces a lot of output).
147 - local RM_TEST_FILES=()
148 - while read -d $'\0' -r file; do
149 - RM_TEST_FILES+=("${file}")
150 - done < <(find . -name "*Test*.java" -type f -print0)
151 - while read -d $'\0' -r file; do
152 - RM_TEST_FILES+=("${file}")
153 - done < <(find . -name "*Mock*.java" -type f -print0)
154 -
155 - rm -v "${RM_TEST_FILES[@]}" || die
156 - fi
157 -}
158 -
159 -src_compile() {
160 - java-pkg-simple_src_compile
161 -}
162 -
163 -src_install() {
164 - java-pkg-simple_src_install
165 - use source && java-pkg_dosrc org
166 -}