Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/bcprov/
Date: Fri, 09 Oct 2015 08:59:44
Message-Id: 1444380590.e4a48a3d5f4e196ae0092fb36d2f8e96df02f728.monsieurp@gentoo
1 commit: e4a48a3d5f4e196ae0092fb36d2f8e96df02f728
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 08:11:18 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 08:49:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4a48a3d
7
8 dev-java/bcprov: Clean up old.
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-java/bcprov/bcprov-1.50-r2.ebuild | 66 -----------------------------------
14 dev-java/bcprov/bcprov-1.52-r1.ebuild | 66 -----------------------------------
15 2 files changed, 132 deletions(-)
16
17 diff --git a/dev-java/bcprov/bcprov-1.50-r2.ebuild b/dev-java/bcprov/bcprov-1.50-r2.ebuild
18 deleted file mode 100644
19 index b0deca8..0000000
20 --- a/dev-java/bcprov/bcprov-1.50-r2.ebuild
21 +++ /dev/null
22 @@ -1,66 +0,0 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -EAPI=5
28 -
29 -JAVA_PKG_IUSE="doc source test"
30 -
31 -inherit java-pkg-2 java-pkg-simple
32 -
33 -MY_P="${PN}-jdk15on-${PV/./}"
34 -
35 -DESCRIPTION="Java cryptography APIs"
36 -HOMEPAGE="http://www.bouncycastle.org/java.html"
37 -SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
38 -
39 -LICENSE="BSD"
40 -SLOT="1.50"
41 -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
42 -
43 -CDEPEND=""
44 -
45 -DEPEND=">=virtual/jdk-1.6
46 - app-arch/unzip
47 - ${CDEPEND}"
48 -
49 -RDEPEND=">=virtual/jre-1.6
50 - ${CDEPEND}"
51 -
52 -S="${WORKDIR}/${MY_P}"
53 -
54 -JAVA_ENCODING="ISO-8859-1"
55 -
56 -# Package can't be built with test as bcprov and bcpkix can't be built with test.
57 -RESTRICT="test"
58 -
59 -src_unpack() {
60 - default
61 - cd "${S}"
62 - unpack ./src.zip
63 -}
64 -
65 -java_prepare() {
66 - if ! use test; then
67 - # There are too many files to delete so we won't be using JAVA_RM_FILES
68 - # (it produces a lot of output).
69 - local RM_TEST_FILES=()
70 - while read -d $'\0' -r file; do
71 - RM_TEST_FILES+=("${file}")
72 - done < <(find . -name "*Test*.java" -type f -print0)
73 - while read -d $'\0' -r file; do
74 - RM_TEST_FILES+=("${file}")
75 - done < <(find . -name "*Mock*.java" -type f -print0)
76 -
77 - rm -v "${RM_TEST_FILES[@]}"
78 - fi
79 -}
80 -
81 -src_compile() {
82 - java-pkg-simple_src_compile
83 -}
84 -
85 -src_install() {
86 - java-pkg-simple_src_install
87 - use source && java-pkg_dosrc org
88 -}
89
90 diff --git a/dev-java/bcprov/bcprov-1.52-r1.ebuild b/dev-java/bcprov/bcprov-1.52-r1.ebuild
91 deleted file mode 100644
92 index add187a..0000000
93 --- a/dev-java/bcprov/bcprov-1.52-r1.ebuild
94 +++ /dev/null
95 @@ -1,66 +0,0 @@
96 -# Copyright 1999-2015 Gentoo Foundation
97 -# Distributed under the terms of the GNU General Public License v2
98 -# $Id$
99 -
100 -EAPI=5
101 -
102 -JAVA_PKG_IUSE="doc source test"
103 -
104 -inherit java-pkg-2 java-pkg-simple
105 -
106 -MY_P="${PN}-jdk15on-${PV/./}"
107 -
108 -DESCRIPTION="Java cryptography APIs"
109 -HOMEPAGE="http://www.bouncycastle.org/java.html"
110 -SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
111 -
112 -LICENSE="BSD"
113 -SLOT="1.52"
114 -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
115 -
116 -CDEPEND=""
117 -
118 -DEPEND=">=virtual/jdk-1.6
119 - app-arch/unzip
120 - ${CDEPEND}"
121 -
122 -RDEPEND=">=virtual/jre-1.6
123 - ${CDEPEND}"
124 -
125 -S="${WORKDIR}/${MY_P}"
126 -
127 -JAVA_ENCODING="ISO-8859-1"
128 -
129 -# Package can't be build with test as bcprov and bcpkix can't be built with test.
130 -RESTRICT="test"
131 -
132 -src_unpack() {
133 - default
134 - cd "${S}"
135 - unpack ./src.zip
136 -}
137 -
138 -java_prepare() {
139 - if ! use test; then
140 - # There are too many files to delete so we won't be using JAVA_RM_FILES
141 - # (it produces a lot of output).
142 - local RM_TEST_FILES=()
143 - while read -d $'\0' -r file; do
144 - RM_TEST_FILES+=("${file}")
145 - done < <(find . -name "*Test*.java" -type f -print0)
146 - while read -d $'\0' -r file; do
147 - RM_TEST_FILES+=("${file}")
148 - done < <(find . -name "*Mock*.java" -type f -print0)
149 -
150 - rm -v "${RM_TEST_FILES[@]}"
151 - fi
152 -}
153 -
154 -src_compile() {
155 - java-pkg-simple_src_compile
156 -}
157 -
158 -src_install() {
159 - java-pkg-simple_src_install
160 - use source && java-pkg_dosrc org
161 -}