[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2024-10-10 Thread Miroslav Šulc
commit: 41750a0b857ac4f6a90c7d7e7b48f2e87ba294f8
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Tue Oct  1 07:15:44 2024 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Thu Oct 10 10:29:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41750a0b

dev-java/bcpg: add 1.78.1

Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/38836/commits/e2c222e71f5559c0063d3587e59dc2e745b827b6
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/bcpg/Manifest   |  1 +
 dev-java/bcpg/bcpg-1.78.1.ebuild | 69 
 2 files changed, 70 insertions(+)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index 680d64e45a8b..8ef473abdcc8 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1 +1,2 @@
 DIST bc-java-r1rv77.tar.gz 31402744 BLAKE2B 
1ca1e1dac1ed3d613ae66f08cd8a954e63d43a49ed402f5bd7c30cf1f0830ad29104aa91a9a0a3cbbb5ea750392bc285172a1ab38f2aba1600fa3ca4c469b4f5
 SHA512 
d75a0ce94bd006499eef9393491347ae70544643c93c2f7591df3ff0179bd477a5066891c7c3bdeb09bd693093c9dc7d29c48462a1d539e464cbf2ee9c1dfce4
+DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 
6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240
 SHA512 
87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223

diff --git a/dev-java/bcpg/bcpg-1.78.1.ebuild b/dev-java/bcpg/bcpg-1.78.1.ebuild
new file mode 100644
index ..982f3b13e17e
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.78.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.bouncycastle:bcpg-jdk18on:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="https://www.bouncycastle.org/java.html";
+MY_PV="r$(ver_rs 1 'rv' 2 'v')"
+SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> 
bc-java-${MY_PV}.tar.gz"
+S="${WORKDIR}/bc-java-${MY_PV}/pg"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+CP_DEPEND="
+   ~dev-java/bcprov-${PV}:0
+   ~dev-java/bcutil-${PV}:0
+"
+
+DEPEND="
+   ${CP_DEPEND}
+   >=virtual/jdk-11:*
+"
+
+RDEPEND="
+   ${CP_DEPEND}
+   >=virtual/jre-1.8:*
+"
+
+DOCS=( ../{README,SECURITY}.md )
+HTML_DOCS=( ../{CONTRIBUTORS,index}.html )
+
+JAVA_SRC_DIR=(
+   "src/main/java"
+   "src/main/jdk1.9"
+)
+
+JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.pg"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_prepare() {
+   java-pkg-2_src_prepare
+   java-pkg_clean ..
+}
+
+src_test() {
+   pushd src/test/java || die
+   local JAVA_TEST_RUN_ONLY=$(find * \
+   -name "AllTests.java" )
+   popd || die
+   JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+   JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+   java-pkg-simple_src_test
+}
+
+src_install() {
+   docinto html
+   dodoc -r ../docs
+   java-pkg-simple_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2024-01-06 Thread Sam James
commit: 079d8a0c3866953ffba9e036caf126689d7a06f9
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  6 08:10:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  6 08:10:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079d8a0c

dev-java/bcpg: Stabilize 1.77 arm64, #919403

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.77.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.77.ebuild b/dev-java/bcpg/bcpg-1.77.ebuild
index f12d883704d8..d8863e4ef140 100644
--- a/dev-java/bcpg/bcpg-1.77.ebuild
+++ b/dev-java/bcpg/bcpg-1.77.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/bc-java-${MY_PV}/pg"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
+KEYWORDS="~amd64 arm64 ppc64 ~x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2024-01-06 Thread Sam James
commit: 1f638b77b76cbe0c0fee0b7f6732d8291a8b5eb3
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  6 08:09:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  6 08:09:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f638b77

dev-java/bcpg: Stabilize 1.77 ppc64, #919403

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.77.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/bcpg/bcpg-1.77.ebuild b/dev-java/bcpg/bcpg-1.77.ebuild
index 17ce22b47ee7..f12d883704d8 100644
--- a/dev-java/bcpg/bcpg-1.77.ebuild
+++ b/dev-java/bcpg/bcpg-1.77.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ S="${WORKDIR}/bc-java-${MY_PV}/pg"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2023-10-26 Thread Sam James
commit: 1af97098eb654754ce44f2970c15c5f2e447cd1d
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 13:03:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 13:03:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af97098

dev-java/bcpg: Stabilize 1.76 ppc64, #915968

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.76.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.76.ebuild b/dev-java/bcpg/bcpg-1.76.ebuild
index 1ff0b814ff14..343650de4d43 100644
--- a/dev-java/bcpg/bcpg-1.76.ebuild
+++ b/dev-java/bcpg/bcpg-1.76.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2023-10-20 Thread Arthur Zamarin
commit: 26783bf224a3e4de37c05b3089ab24dcd9764f2e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct 20 20:17:23 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct 20 20:17:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26783bf2

dev-java/bcpg: Stabilize 1.76 x86, #915968

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-java/bcpg/bcpg-1.76.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.76.ebuild b/dev-java/bcpg/bcpg-1.76.ebuild
index 5fe2ed0e3ad2..1ff0b814ff14 100644
--- a/dev-java/bcpg/bcpg-1.76.ebuild
+++ b/dev-java/bcpg/bcpg-1.76.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2023-10-19 Thread Sam James
commit: eb21d20950602d62020779a5f6aa85941b7f985d
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 19 13:37:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 19 13:37:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb21d209

dev-java/bcpg: Stabilize 1.76 arm64, #915968

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.76.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.76.ebuild b/dev-java/bcpg/bcpg-1.76.ebuild
index 8591f25c1c7f..5fe2ed0e3ad2 100644
--- a/dev-java/bcpg/bcpg-1.76.ebuild
+++ b/dev-java/bcpg/bcpg-1.76.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2023-10-19 Thread Sam James
commit: 0ff6fea2ccb9c14b1a9f4e70f1743190a3c0781d
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 19 12:16:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 19 12:16:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ff6fea2

dev-java/bcpg: Stabilize 1.76 amd64, #915968

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.76.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.76.ebuild b/dev-java/bcpg/bcpg-1.76.ebuild
index 6c492b168642..8591f25c1c7f 100644
--- a/dev-java/bcpg/bcpg-1.76.ebuild
+++ b/dev-java/bcpg/bcpg-1.76.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-12-15 Thread Miroslav Šulc
commit: 3d9dc46d6c6b1e0209c43282ba792cffe97aaf68
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Thu Dec 15 05:35:40 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Thu Dec 15 08:42:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9dc46d

dev-java/bcpg: drop 1.71

Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/bcpg/Manifest |  1 -
 dev-java/bcpg/bcpg-1.71.ebuild | 58 --
 2 files changed, 59 deletions(-)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index a6beedad13a8..11f3fa328c20 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1,2 +1 @@
-DIST bc-java-r1rv71.tar.gz 117684695 BLAKE2B 
db0a1b2576a55592e0447aa8734e8ecb6fe8452d08dabf010070f3c6b5a3b4caa7a5929baaa52796fed0ef397e18fe58fdb91dfef6da75af8f28efb627d2b808
 SHA512 
c9a095a034863a46027e28754ae96d9750162120bc1af124fa700ad05d23716a606633b674e2e8490bda658d30d30e93f42ba00dcc1ac13596a24f8aa43a666d
 DIST bc-java-r1rv72.tar.gz 380374879 BLAKE2B 
53c593c1d97e9ee56388479dce7386d254f74a8bab9612e802ebe963df84d1a397fe0c5a7a0d0db2ac2cd3252ae43e79c67b9d3ba1b5ffc20cc8727c7e1a6994
 SHA512 
dbfdd9e4f30ab713584830a0fd0d7e4f89904366bf4953a9e722656cc4cd92c9d29238649efa7b4cdab64e2c08f4b3b3c96667d1ade569ade5a5a2c9ad9d5b5c

diff --git a/dev-java/bcpg/bcpg-1.71.ebuild b/dev-java/bcpg/bcpg-1.71.ebuild
deleted file mode 100644
index 8028aba31a23..
--- a/dev-java/bcpg/bcpg-1.71.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.bouncycastle:bcpg-jdk18on:1.71"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="https://www.bouncycastle.org/java.html";
-SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> 
bc-java-r${PV/./rv}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 x86"
-
-CDEPEND="~dev-java/bcprov-${PV}:0"
-DEPEND="${CDEPEND}
-   >=virtual/jdk-11:*"
-RDEPEND="${CDEPEND}
-   >=virtual/jre-1.8:*"
-
-DOCS=( ../{README,SECURITY}.md )
-HTML_DOCS=( ../{CONTRIBUTORS,index}.html )
-
-S="${WORKDIR}/bc-java-r${PV/./rv}/pg"
-
-JAVA_GENTOO_CLASSPATH="bcprov"
-JAVA_SRC_DIR=(
-   "src/main/java"
-   "src/main/jdk1.9"   # https://bugs.gentoo.org/797634
-)
-
-JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-
-JAVA_TEST_RUN_ONLY=(
-   "org.bouncycastle.openpgp.test.AllTests"
-   "org.bouncycastle.openpgp.examples.test.AllTests"
-   "org.bouncycastle.gpg.test.AllTests"
-)
-
-src_prepare() {
-   default
-   java-pkg_clean ..
-}
-
-src_install() {
-   default
-   einstalldocs
-   docinto html
-   dodoc -r ../docs
-   java-pkg-simple_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-12-14 Thread Arthur Zamarin
commit: 72f7bf6e4cfd121d34cfd1e80586521c6ad02050
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 15 04:23:00 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 15 04:23:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f7bf6e

dev-java/bcpg: Stabilize 1.72 x86, #885979

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-java/bcpg/bcpg-1.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.72.ebuild b/dev-java/bcpg/bcpg-1.72.ebuild
index 200ffb2fbecd..6e870d522cd3 100644
--- a/dev-java/bcpg/bcpg-1.72.ebuild
+++ b/dev-java/bcpg/bcpg-1.72.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-12-14 Thread Arthur Zamarin
commit: ea87f33f3e3e138c71536223866d8e853e09aee4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 15 04:22:58 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 15 04:22:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea87f33f

dev-java/bcpg: Stabilize 1.72 amd64, #885979

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-java/bcpg/bcpg-1.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.72.ebuild b/dev-java/bcpg/bcpg-1.72.ebuild
index 4c3de3b960fb..200ffb2fbecd 100644
--- a/dev-java/bcpg/bcpg-1.72.ebuild
+++ b/dev-java/bcpg/bcpg-1.72.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 ~x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-12-14 Thread Sam James
commit: e6c0d458ff0a461d950671f83d5bcea516dc79e4
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 15 02:04:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 15 02:04:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c0d458

dev-java/bcpg: Stabilize 1.72 ppc64, #885979

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.72.ebuild b/dev-java/bcpg/bcpg-1.72.ebuild
index e312aa7867c2..4c3de3b960fb 100644
--- a/dev-java/bcpg/bcpg-1.72.ebuild
+++ b/dev-java/bcpg/bcpg-1.72.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 arm64 ppc64 ~x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-12-14 Thread Sam James
commit: 45ab423ab0e158cc722eae9e764d248e87ef4981
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 15 02:04:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 15 02:04:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45ab423a

dev-java/bcpg: Stabilize 1.72 arm64, #885979

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.72.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.72.ebuild b/dev-java/bcpg/bcpg-1.72.ebuild
index 8f9ae15c6094..e312aa7867c2 100644
--- a/dev-java/bcpg/bcpg-1.72.ebuild
+++ b/dev-java/bcpg/bcpg-1.72.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
 
 CP_DEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CP_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-11-14 Thread Florian Schmaus
commit: bfdb3057e780cb7d73997dce20b4e0c28d5fd5e8
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Thu Sep 29 15:09:42 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Nov 14 14:48:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfdb3057

dev-java/bcpg: add 1.72

Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 dev-java/bcpg/Manifest |  1 +
 dev-java/bcpg/bcpg-1.72.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index 7feaa1f69257..a6beedad13a8 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1 +1,2 @@
 DIST bc-java-r1rv71.tar.gz 117684695 BLAKE2B 
db0a1b2576a55592e0447aa8734e8ecb6fe8452d08dabf010070f3c6b5a3b4caa7a5929baaa52796fed0ef397e18fe58fdb91dfef6da75af8f28efb627d2b808
 SHA512 
c9a095a034863a46027e28754ae96d9750162120bc1af124fa700ad05d23716a606633b674e2e8490bda658d30d30e93f42ba00dcc1ac13596a24f8aa43a666d
+DIST bc-java-r1rv72.tar.gz 380374879 BLAKE2B 
53c593c1d97e9ee56388479dce7386d254f74a8bab9612e802ebe963df84d1a397fe0c5a7a0d0db2ac2cd3252ae43e79c67b9d3ba1b5ffc20cc8727c7e1a6994
 SHA512 
dbfdd9e4f30ab713584830a0fd0d7e4f89904366bf4953a9e722656cc4cd92c9d29238649efa7b4cdab64e2c08f4b3b3c96667d1ade569ade5a5a2c9ad9d5b5c

diff --git a/dev-java/bcpg/bcpg-1.72.ebuild b/dev-java/bcpg/bcpg-1.72.ebuild
new file mode 100644
index ..8f9ae15c6094
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.72.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.bouncycastle:bcpg-jdk18on:1.72"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="https://www.bouncycastle.org/java.html";
+SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> 
bc-java-r${PV/./rv}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+CP_DEPEND="~dev-java/bcprov-${PV}:0"
+DEPEND="${CP_DEPEND}
+   >=virtual/jdk-11:*"
+RDEPEND="${CP_DEPEND}
+   >=virtual/jre-1.8:*"
+
+DOCS=( ../{README,SECURITY}.md )
+HTML_DOCS=( ../{CONTRIBUTORS,index}.html )
+
+S="${WORKDIR}/bc-java-r${PV/./rv}/pg"
+
+JAVA_SRC_DIR=(
+   "src/main/java"
+   "src/main/jdk1.9"
+)
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_prepare() {
+   default
+   java-pkg_clean ..
+}
+
+src_test() {
+   pushd src/test/java || die
+   local JAVA_TEST_RUN_ONLY=$(find * \
+   -name "AllTests.java" )
+   popd || die
+   JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+   JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+   java-pkg-simple_src_test
+}
+
+src_install() {
+   docinto html
+   dodoc -r ../docs
+   java-pkg-simple_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-07-09 Thread Arthur Zamarin
commit: 906fa31609309f56960985879a344e653bf0e194
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Sat Jul  9 12:43:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul  9 13:00:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=906fa316

dev-java/bcpg: drop 1.69

Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-java/bcpg/Manifest |  1 -
 dev-java/bcpg/bcpg-1.69.ebuild | 60 --
 2 files changed, 61 deletions(-)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index ead2869d65a6..7feaa1f69257 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1,2 +1 @@
-DIST bc-java-r1rv69.tar.gz 56587177 BLAKE2B 
be5321f48911840de70d3201c0436cf4147a25999abb605dc4c176ea9292796ca25633635d66dccab685a4bb162258c4495ccc764782119a0750ec1b7456a7db
 SHA512 
5224f424faf549e8e3f2db1134e74647b09bebb654ed23bb0bcd493f065fdb3f2b4f2815be0137ebcc9d62b25a6725b7a26b76d55eb3ad014ad0ce92961126de
 DIST bc-java-r1rv71.tar.gz 117684695 BLAKE2B 
db0a1b2576a55592e0447aa8734e8ecb6fe8452d08dabf010070f3c6b5a3b4caa7a5929baaa52796fed0ef397e18fe58fdb91dfef6da75af8f28efb627d2b808
 SHA512 
c9a095a034863a46027e28754ae96d9750162120bc1af124fa700ad05d23716a606633b674e2e8490bda658d30d30e93f42ba00dcc1ac13596a24f8aa43a666d

diff --git a/dev-java/bcpg/bcpg-1.69.ebuild b/dev-java/bcpg/bcpg-1.69.ebuild
deleted file mode 100644
index 7e9f5e64e5f0..
--- a/dev-java/bcpg/bcpg-1.69.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.bouncycastle:bcpg-jdk15on:1.69"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="https://www.bouncycastle.org/java.html";
-SRC_URI="https://github.com/bcgit/bc-java/archive/refs/tags/r${PV/./rv}.tar.gz 
-> bc-java-r${PV/./rv}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 x86"
-
-CDEPEND="~dev-java/bcprov-${PV}:0"
-DEPEND="${CDEPEND}
-   >=virtual/jdk-1.8:*"
-RDEPEND="${CDEPEND}
-   >=virtual/jre-1.8:*"
-
-DOCS=( ../{README,SECURITY}.md )
-HTML_DOCS=( ../{CONTRIBUTORS,index,LICENSE}.html )
-
-S="${WORKDIR}/bc-java-r${PV/./rv}/pg"
-
-JAVA_GENTOO_CLASSPATH="bcprov"
-JAVA_SRC_DIR=(
-   "src/main/java"
-   "src/main/jdk1.9"   # https://bugs.gentoo.org/797634
-)
-#  JAVA_RESOURCE_DIRS="src/main/resources" # Does not exist
-
-JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-
-JAVA_TEST_RUN_ONLY=(
-   "org.bouncycastle.openpgp.test.AllTests"# OK (19 tests)
-   "org.bouncycastle.openpgp.examples.test.AllTests"   # OK (6 tests)
-   "org.bouncycastle.gpg.test.AllTests"# OK (1 test)
-)
-
-src_prepare() {
-   default
-   cd ../ || die
-   java-pkg_clean
-}
-
-src_install() {
-   default
-   einstalldocs
-   docinto html
-   dodoc -r ../docs
-   java-pkg-simple_src_install
-}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-07-09 Thread Arthur Zamarin
commit: ca30497f14f05289c025b4580d484fd1052bbd9a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jul  9 12:35:21 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul  9 12:35:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca30497f

dev-java/bcpg: Stabilize 1.71 ppc64, #856661

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-java/bcpg/bcpg-1.71.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.71.ebuild b/dev-java/bcpg/bcpg-1.71.ebuild
index e6901863e5a5..8028aba31a23 100644
--- a/dev-java/bcpg/bcpg-1.71.ebuild
+++ b/dev-java/bcpg/bcpg-1.71.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-07-06 Thread Agostino Sarubbo
commit: 9d3125255abaad1cffa89ab7e345cffbc62a77a2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul  7 06:35:29 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul  7 06:35:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d312525

dev-java/bcpg: x86 stable wrt bug #856661

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-java/bcpg/bcpg-1.71.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.71.ebuild b/dev-java/bcpg/bcpg-1.71.ebuild
index 0fcd69271ff6..e6901863e5a5 100644
--- a/dev-java/bcpg/bcpg-1.71.ebuild
+++ b/dev-java/bcpg/bcpg-1.71.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-07-06 Thread Agostino Sarubbo
commit: 0be4c486e64309dc91972102514c6cf6673616aa
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul  7 06:34:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul  7 06:34:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be4c486

dev-java/bcpg: amd64 stable wrt bug #856661

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-java/bcpg/bcpg-1.71.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.71.ebuild b/dev-java/bcpg/bcpg-1.71.ebuild
index 909aeecf382f..0fcd69271ff6 100644
--- a/dev-java/bcpg/bcpg-1.71.ebuild
+++ b/dev-java/bcpg/bcpg-1.71.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-07-06 Thread Arthur Zamarin
commit: b5aba34088ab223bf5882eec3cf3a6819b9bb139
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jul  6 08:39:50 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jul  6 08:39:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5aba340

dev-java/bcpg: Stabilize 1.71 arm64, #856661

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-java/bcpg/bcpg-1.71.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.71.ebuild b/dev-java/bcpg/bcpg-1.71.ebuild
index 7854003f175f..909aeecf382f 100644
--- a/dev-java/bcpg/bcpg-1.71.ebuild
+++ b/dev-java/bcpg/bcpg-1.71.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> bc-java-
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-05-22 Thread Florian Schmaus
commit: 8fae3471f5ae66b0e4bcd6c694dad48a30185a90
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Sun May 15 06:23:28 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun May 22 17:29:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fae3471

dev-java/bcpg: add 1.71

Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 dev-java/bcpg/Manifest |  1 +
 dev-java/bcpg/bcpg-1.71.ebuild | 58 ++
 dev-java/bcpg/metadata.xml |  3 +++
 3 files changed, 62 insertions(+)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index b7586bb46675..ead2869d65a6 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1 +1,2 @@
 DIST bc-java-r1rv69.tar.gz 56587177 BLAKE2B 
be5321f48911840de70d3201c0436cf4147a25999abb605dc4c176ea9292796ca25633635d66dccab685a4bb162258c4495ccc764782119a0750ec1b7456a7db
 SHA512 
5224f424faf549e8e3f2db1134e74647b09bebb654ed23bb0bcd493f065fdb3f2b4f2815be0137ebcc9d62b25a6725b7a26b76d55eb3ad014ad0ce92961126de
+DIST bc-java-r1rv71.tar.gz 117684695 BLAKE2B 
db0a1b2576a55592e0447aa8734e8ecb6fe8452d08dabf010070f3c6b5a3b4caa7a5929baaa52796fed0ef397e18fe58fdb91dfef6da75af8f28efb627d2b808
 SHA512 
c9a095a034863a46027e28754ae96d9750162120bc1af124fa700ad05d23716a606633b674e2e8490bda658d30d30e93f42ba00dcc1ac13596a24f8aa43a666d

diff --git a/dev-java/bcpg/bcpg-1.71.ebuild b/dev-java/bcpg/bcpg-1.71.ebuild
new file mode 100644
index ..7854003f175f
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.71.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.bouncycastle:bcpg-jdk18on:1.71"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="https://www.bouncycastle.org/java.html";
+SRC_URI="https://github.com/bcgit/bc-java/archive/r${PV/./rv}.tar.gz -> 
bc-java-r${PV/./rv}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+CDEPEND="~dev-java/bcprov-${PV}:0"
+DEPEND="${CDEPEND}
+   >=virtual/jdk-11:*"
+RDEPEND="${CDEPEND}
+   >=virtual/jre-1.8:*"
+
+DOCS=( ../{README,SECURITY}.md )
+HTML_DOCS=( ../{CONTRIBUTORS,index}.html )
+
+S="${WORKDIR}/bc-java-r${PV/./rv}/pg"
+
+JAVA_GENTOO_CLASSPATH="bcprov"
+JAVA_SRC_DIR=(
+   "src/main/java"
+   "src/main/jdk1.9"   # https://bugs.gentoo.org/797634
+)
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+
+JAVA_TEST_RUN_ONLY=(
+   "org.bouncycastle.openpgp.test.AllTests"
+   "org.bouncycastle.openpgp.examples.test.AllTests"
+   "org.bouncycastle.gpg.test.AllTests"
+)
+
+src_prepare() {
+   default
+   java-pkg_clean ..
+}
+
+src_install() {
+   default
+   einstalldocs
+   docinto html
+   dodoc -r ../docs
+   java-pkg-simple_src_install
+}

diff --git a/dev-java/bcpg/metadata.xml b/dev-java/bcpg/metadata.xml
index 4221e170cbc0..3cbf364f100a 100644
--- a/dev-java/bcpg/metadata.xml
+++ b/dev-java/bcpg/metadata.xml
@@ -5,4 +5,7 @@
j...@gentoo.org
Java

+   
+   The Bouncy Castle Java API for handling the OpenPGP protocol. 
This jar contains the OpenPGP API for JDK 1.8 and up. The APIs can be used in 
conjunction with a JCE/JCA provider such as the one provided with the Bouncy 
Castle Cryptography APIs.
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2022-01-05 Thread Florian Schmaus
commit: 9896cd35982aa26d94a7f2949e399f714dae8930
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Mon Jan  3 10:58:44 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Jan  5 20:49:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9896cd35

dev-java/bcpg: Remove unneeded slot

Bug: https://bugs.gentoo.org/799749
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Florian Schmaus  gentoo.org>

 dev-java/bcpg/Manifest|  1 -
 dev-java/bcpg/bcpg-1.50-r1.ebuild | 70 -
 dev-java/bcpg/bcpg-1.50-r2.ebuild | 73 ---
 3 files changed, 144 deletions(-)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index 94094e36d49a..b7586bb46675 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1,2 +1 @@
 DIST bc-java-r1rv69.tar.gz 56587177 BLAKE2B 
be5321f48911840de70d3201c0436cf4147a25999abb605dc4c176ea9292796ca25633635d66dccab685a4bb162258c4495ccc764782119a0750ec1b7456a7db
 SHA512 
5224f424faf549e8e3f2db1134e74647b09bebb654ed23bb0bcd493f065fdb3f2b4f2815be0137ebcc9d62b25a6725b7a26b76d55eb3ad014ad0ce92961126de
-DIST bcpg-jdk15on-150.tar.gz 691012 BLAKE2B 
ee566fb6deb44177e31bfe80b6bd1f13d39d6820cffe3693bd85314ccfd65c4805275b3925d52a6bda6b1ad7e3ea267f1f0bed3926420b5920e5f300020ecd9a
 SHA512 
763d253b9bb45b7e7fab75d557daa784c3d4a503ced979adc986e5688c3939db248853c864a2f4bec6d5b1dd9ed668d5f278c91b5607774fc703971d0b330fe6

diff --git a/dev-java/bcpg/bcpg-1.50-r1.ebuild 
b/dev-java/bcpg/bcpg-1.50-r1.ebuild
deleted file mode 100644
index b895d1674885..
--- a/dev-java/bcpg/bcpg-1.50-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-pkg-simple
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html";
-SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="1.50"
-KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-# Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
-# Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.
-RESTRICT="test"
-
-CDEPEND="dev-java/bcprov:${SLOT}"
-
-DEPEND=">=virtual/jdk-1.6
-   app-arch/unzip
-   test? (
-   dev-java/ant-junit:0
-   )
-   ${CDEPEND}"
-
-RDEPEND=">=virtual/jre-1.6
-   ${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
-
-src_unpack() {
-   default
-   cd "${S}"
-   unpack ./src.zip
-}
-
-java_prepare() {
-   if ! use test; then
-   local RM_TEST_FILES=(
-   org/bouncycastle/openpgp/test
-   org/bouncycastle/openpgp/examples/test
-   )
-   rm -rf "${RM_TEST_FILES[@]}" || die
-   fi
-}
-
-src_compile() {
-   java-pkg-simple_src_compile
-}
-
-src_test() {
-   local cp="${PN}.jar:bcprov.jar:junit.jar"
-   local pkg="org.bouncycastle"
-   java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests
-   grep -q FAILURES *.tests && die "Tests failed."
-}
-
-src_install() {
-   java-pkg-simple_src_install
-   use source && java-pkg_dosrc org
-}

diff --git a/dev-java/bcpg/bcpg-1.50-r2.ebuild 
b/dev-java/bcpg/bcpg-1.50-r2.ebuild
deleted file mode 100644
index 6a89f6e93494..
--- a/dev-java/bcpg/bcpg-1.50-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-pkg-simple
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html";
-SRC_URI="http://polydistortion.net/bc/download/${MY_P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="1.50"
-KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-# Tests are currently broken. Appears to need older version of bcprov; but
-# since bcprov is not slotted, this can cause conflicts.  Needs further
-# investigation; though, only a small part has tests and there are no tests for
-# bcpg itself.
-RESTRICT="test"
-
-CDEPEND="dev-java/bcprov:${SLOT}"
-
-DEPEND="
-   ${CDEPEND}
-   >=virtual/jdk-1.6
-   test? ( dev-java/ant-junit:0 )"
-
-RDEPEND="
-   ${CDEPEND}
-   >=virtual/jre-1.6"
-
-S="${WORKDIR}/${MY_P}"
-
-JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
-
-src_unpack() {
-   default
-   cd "${S}" || die
-   unpack ./src.zip
-}
-
-src_prepare() {
-   default
-   if ! use test; then
-   local RM_TEST_FILES=(
-   org/bouncycastle/op

[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2021-11-24 Thread Sam James
commit: 00d35143fe0b782f84df77d44f0b7f561949b5d1
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 25 04:10:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 25 04:10:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d35143

dev-java/bcpg: Stabilize 1.69 x86, #807097

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.69.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.69.ebuild b/dev-java/bcpg/bcpg-1.69.ebuild
index feaddd5360f9..7e9f5e64e5f0 100644
--- a/dev-java/bcpg/bcpg-1.69.ebuild
+++ b/dev-java/bcpg/bcpg-1.69.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/refs/tags/r${PV/./rv}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2021-11-24 Thread Sam James
commit: 001b12223b8cdaeb840092a91c043b868a2f
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 25 02:06:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 25 02:06:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=001b1222

dev-java/bcpg: Stabilize 1.69 ppc64, #807097

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.69.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.69.ebuild b/dev-java/bcpg/bcpg-1.69.ebuild
index e81131c0ec21..feaddd5360f9 100644
--- a/dev-java/bcpg/bcpg-1.69.ebuild
+++ b/dev-java/bcpg/bcpg-1.69.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/refs/tags/r${PV/./rv}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ppc64 ~x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2021-08-11 Thread Sam James
commit: ccb58e1dcdc2384ba95835e3252b7c5d8210a3c9
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 11 19:09:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 11 19:09:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb58e1d

dev-java/bcpg: Stabilize 1.69 arm64, #807097

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.69.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.69.ebuild b/dev-java/bcpg/bcpg-1.69.ebuild
index dc0781dac29..e81131c0ec2 100644
--- a/dev-java/bcpg/bcpg-1.69.ebuild
+++ b/dev-java/bcpg/bcpg-1.69.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/refs/tags/r${PV/./rv}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2021-08-08 Thread Sam James
commit: fa2944fe4b583b2f03d83e460262911a036ae199
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug  9 00:30:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug  9 00:30:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa2944fe

dev-java/bcpg: Stabilize 1.69 amd64, #807097

Signed-off-by: Sam James  gentoo.org>

 dev-java/bcpg/bcpg-1.69.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.69.ebuild b/dev-java/bcpg/bcpg-1.69.ebuild
index 6b97042eda5..dc0781dac29 100644
--- a/dev-java/bcpg/bcpg-1.69.ebuild
+++ b/dev-java/bcpg/bcpg-1.69.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/bcgit/bc-java/archive/refs/tags/r${PV/./rv}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 
 CDEPEND="~dev-java/bcprov-${PV}:0"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2021-07-09 Thread Miroslav Šulc
commit: 1bd7853b79c8664b257034ec34eb15fb5c85410c
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Tue Jun 29 14:58:20 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Fri Jul  9 13:17:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd7853b

dev-java/bcpg: bump to 1.69

Bug: https://bugs.gentoo.org/797634

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/21479/commits/0f0bf8d4d0b4619e965a48b97851c275bd33872f
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/bcpg/Manifest |  1 +
 dev-java/bcpg/bcpg-1.69.ebuild | 60 ++
 2 files changed, 61 insertions(+)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index ae13922d56a..94094e36d49 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1 +1,2 @@
+DIST bc-java-r1rv69.tar.gz 56587177 BLAKE2B 
be5321f48911840de70d3201c0436cf4147a25999abb605dc4c176ea9292796ca25633635d66dccab685a4bb162258c4495ccc764782119a0750ec1b7456a7db
 SHA512 
5224f424faf549e8e3f2db1134e74647b09bebb654ed23bb0bcd493f065fdb3f2b4f2815be0137ebcc9d62b25a6725b7a26b76d55eb3ad014ad0ce92961126de
 DIST bcpg-jdk15on-150.tar.gz 691012 BLAKE2B 
ee566fb6deb44177e31bfe80b6bd1f13d39d6820cffe3693bd85314ccfd65c4805275b3925d52a6bda6b1ad7e3ea267f1f0bed3926420b5920e5f300020ecd9a
 SHA512 
763d253b9bb45b7e7fab75d557daa784c3d4a503ced979adc986e5688c3939db248853c864a2f4bec6d5b1dd9ed668d5f278c91b5607774fc703971d0b330fe6

diff --git a/dev-java/bcpg/bcpg-1.69.ebuild b/dev-java/bcpg/bcpg-1.69.ebuild
new file mode 100644
index 000..6b97042eda5
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.69.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.bouncycastle:bcpg-jdk15on:1.69"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="https://www.bouncycastle.org/java.html";
+SRC_URI="https://github.com/bcgit/bc-java/archive/refs/tags/r${PV/./rv}.tar.gz 
-> bc-java-r${PV/./rv}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+CDEPEND="~dev-java/bcprov-${PV}:0"
+DEPEND="${CDEPEND}
+   >=virtual/jdk-1.8:*"
+RDEPEND="${CDEPEND}
+   >=virtual/jre-1.8:*"
+
+DOCS=( ../{README,SECURITY}.md )
+HTML_DOCS=( ../{CONTRIBUTORS,index,LICENSE}.html )
+
+S="${WORKDIR}/bc-java-r${PV/./rv}/pg"
+
+JAVA_GENTOO_CLASSPATH="bcprov"
+JAVA_SRC_DIR=(
+   "src/main/java"
+   "src/main/jdk1.9"   # https://bugs.gentoo.org/797634
+)
+#  JAVA_RESOURCE_DIRS="src/main/resources" # Does not exist
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+
+JAVA_TEST_RUN_ONLY=(
+   "org.bouncycastle.openpgp.test.AllTests"# OK (19 tests)
+   "org.bouncycastle.openpgp.examples.test.AllTests"   # OK (6 tests)
+   "org.bouncycastle.gpg.test.AllTests"# OK (1 test)
+)
+
+src_prepare() {
+   default
+   cd ../ || die
+   java-pkg_clean
+}
+
+src_install() {
+   default
+   einstalldocs
+   docinto html
+   dodoc -r ../docs
+   java-pkg-simple_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2021-06-07 Thread Miroslav Šulc
commit: 0cf35e0d56ecb0a107169b3f5d69ed578760931e
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Sun Jun  6 18:29:38 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Mon Jun  7 08:52:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf35e0d

dev-java/bcpg: remove obsoleter versions

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-java/bcpg/Manifest|  1 -
 dev-java/bcpg/bcpg-1.52-r1.ebuild | 70 -
 dev-java/bcpg/bcpg-1.52-r2.ebuild | 73 ---
 3 files changed, 144 deletions(-)

diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest
index 9ccda10b7f7..ae13922d56a 100644
--- a/dev-java/bcpg/Manifest
+++ b/dev-java/bcpg/Manifest
@@ -1,2 +1 @@
 DIST bcpg-jdk15on-150.tar.gz 691012 BLAKE2B 
ee566fb6deb44177e31bfe80b6bd1f13d39d6820cffe3693bd85314ccfd65c4805275b3925d52a6bda6b1ad7e3ea267f1f0bed3926420b5920e5f300020ecd9a
 SHA512 
763d253b9bb45b7e7fab75d557daa784c3d4a503ced979adc986e5688c3939db248853c864a2f4bec6d5b1dd9ed668d5f278c91b5607774fc703971d0b330fe6
-DIST bcpg-jdk15on-152.tar.gz 748424 BLAKE2B 
f847fa95ae4eff6c9c95f23ad318d3b967bd224a5dbaea20f8e904a50173076e16723519e8985d4afd2ac02c6a7fe83399e0c6005971bd460b41055c4866a506
 SHA512 
1619a8cd4024129876266415406882ac5df3dd84fd3e01d7593304874ad641fe72ae95150d0e4414b294e2e5ca8eb39e41a25658f9502b4cd9622fbf0f3d45a0

diff --git a/dev-java/bcpg/bcpg-1.52-r1.ebuild 
b/dev-java/bcpg/bcpg-1.52-r1.ebuild
deleted file mode 100644
index 74354a732de..000
--- a/dev-java/bcpg/bcpg-1.52-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-pkg-simple
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html";
-SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="1.52"
-KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-# Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
-# Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.
-RESTRICT="test"
-
-CDEPEND="dev-java/bcprov:${SLOT}"
-
-DEPEND=">=virtual/jdk-1.6
-   app-arch/unzip
-   test? (
-   dev-java/ant-junit:0
-   )
-   ${CDEPEND}"
-
-RDEPEND=">=virtual/jre-1.6
-   ${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
-
-src_unpack() {
-   default
-   cd "${S}"
-   unpack ./src.zip
-}
-
-java_prepare() {
-   if ! use test; then
-   local RM_TEST_FILES=(
-   org/bouncycastle/openpgp/test
-   org/bouncycastle/openpgp/examples/test
-   )
-   rm -rf "${RM_TEST_FILES[@]}" || die
-   fi
-}
-
-src_compile() {
-   java-pkg-simple_src_compile
-}
-
-src_test() {
-   local cp="${PN}.jar:bcprov.jar:junit.jar"
-   local pkg="org.bouncycastle"
-   java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests
-   grep -q FAILURES *.tests && die "Tests failed."
-}
-
-src_install() {
-   java-pkg-simple_src_install
-   use source && java-pkg_dosrc org
-}

diff --git a/dev-java/bcpg/bcpg-1.52-r2.ebuild 
b/dev-java/bcpg/bcpg-1.52-r2.ebuild
deleted file mode 100644
index a819a8dcd7e..000
--- a/dev-java/bcpg/bcpg-1.52-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-pkg-simple
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html";
-SRC_URI="http://polydistortion.net/bc/download/${MY_P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="1.52"
-KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-
-# Tests are currently broken. Appears to need older version of bcprov; but
-# since bcprov is not slotted, this can cause conflicts.  Needs further
-# investigation; though, only a small part has tests and there are no tests for
-# bcpg itself.
-RESTRICT="test"
-
-CDEPEND="dev-java/bcprov:${SLOT}"
-
-DEPEND="
-   ${CDEPEND}
-   >=virtual/jdk-1.6
-   test? ( dev-java/ant-junit:0 )"
-
-RDEPEND="
-   ${CDEPEND}
-   >=virtual/jre-1.6"
-
-S="${WORKDIR}/${MY_P}"
-
-JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
-
-src_unpack() {
-   default
-   cd "${S}" || die
-   unpack ./src.zip
-}
-
-src_prepare() {
-   default
-   if ! use test; then
-   local RM_TEST_FILES=(
-   org/bouncycastle/openpgp/test
-   org/bo

[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2018-04-25 Thread Patrice Clement
commit: 60ae6c67e72e731f4fef4f8e32c9d1ea93a18941
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Apr 24 13:51:00 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Apr 25 07:21:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60ae6c67

dev-java/bcpg: EAPI 6 bump.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-java/bcpg/bcpg-1.50-r2.ebuild | 73 +++
 1 file changed, 73 insertions(+)

diff --git a/dev-java/bcpg/bcpg-1.50-r2.ebuild 
b/dev-java/bcpg/bcpg-1.50-r2.ebuild
new file mode 100644
index 000..6a89f6e9349
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.50-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_P="${PN}-jdk15on-${PV/./}"
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html";
+SRC_URI="http://polydistortion.net/bc/download/${MY_P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="1.50"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+# Tests are currently broken. Appears to need older version of bcprov; but
+# since bcprov is not slotted, this can cause conflicts.  Needs further
+# investigation; though, only a small part has tests and there are no tests for
+# bcpg itself.
+RESTRICT="test"
+
+CDEPEND="dev-java/bcprov:${SLOT}"
+
+DEPEND="
+   ${CDEPEND}
+   >=virtual/jdk-1.6
+   test? ( dev-java/ant-junit:0 )"
+
+RDEPEND="
+   ${CDEPEND}
+   >=virtual/jre-1.6"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
+
+src_unpack() {
+   default
+   cd "${S}" || die
+   unpack ./src.zip
+}
+
+src_prepare() {
+   default
+   if ! use test; then
+   local RM_TEST_FILES=(
+   org/bouncycastle/openpgp/test
+   org/bouncycastle/openpgp/examples/test
+   )
+   rm -rv "${RM_TEST_FILES[@]}" || die
+   fi
+}
+
+src_compile() {
+   java-pkg-simple_src_compile
+}
+
+src_test() {
+   local cp="${PN}.jar:bcprov.jar:junit.jar"
+   local pkg="org.bouncycastle"
+   java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests
+   grep -q FAILURES *.tests && die "Tests failed."
+}
+
+src_install() {
+   einstalldocs
+   java-pkg-simple_src_install
+   use source && java-pkg_dosrc org
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2018-04-25 Thread Patrice Clement
commit: f299005cdbcbb47a29e1ac63052491fc32a5aa7c
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Apr 24 14:01:32 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Apr 25 07:21:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f299005c

dev-java/bcpg: EAPI 6 bump.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-java/bcpg/bcpg-1.52-r2.ebuild | 73 +++
 1 file changed, 73 insertions(+)

diff --git a/dev-java/bcpg/bcpg-1.52-r2.ebuild 
b/dev-java/bcpg/bcpg-1.52-r2.ebuild
new file mode 100644
index 000..a819a8dcd7e
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.52-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_P="${PN}-jdk15on-${PV/./}"
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html";
+SRC_URI="http://polydistortion.net/bc/download/${MY_P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="1.52"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+# Tests are currently broken. Appears to need older version of bcprov; but
+# since bcprov is not slotted, this can cause conflicts.  Needs further
+# investigation; though, only a small part has tests and there are no tests for
+# bcpg itself.
+RESTRICT="test"
+
+CDEPEND="dev-java/bcprov:${SLOT}"
+
+DEPEND="
+   ${CDEPEND}
+   >=virtual/jdk-1.6
+   test? ( dev-java/ant-junit:0 )"
+
+RDEPEND="
+   ${CDEPEND}
+   >=virtual/jre-1.6"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
+
+src_unpack() {
+   default
+   cd "${S}" || die
+   unpack ./src.zip
+}
+
+src_prepare() {
+   default
+   if ! use test; then
+   local RM_TEST_FILES=(
+   org/bouncycastle/openpgp/test
+   org/bouncycastle/openpgp/examples/test
+   )
+   rm -rv "${RM_TEST_FILES[@]}" || die
+   fi
+}
+
+src_compile() {
+   java-pkg-simple_src_compile
+}
+
+src_test() {
+   local cp="${PN}.jar:bcprov.jar:junit.jar"
+   local pkg="org.bouncycastle"
+   java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests
+   grep -q FAILURES *.tests && die "Tests failed."
+}
+
+src_install() {
+   einstalldocs
+   java-pkg-simple_src_install
+   use source && java-pkg_dosrc org
+}



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2018-03-01 Thread Michał Górny
commit: c26054b402d7fa00ddd2a611b0e6f96e95a4f220
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  1 08:37:35 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  1 08:39:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c26054b4

dev-java/bcpg: Dekeyword *-fbsd

 dev-java/bcpg/bcpg-1.50-r1.ebuild | 4 ++--
 dev-java/bcpg/bcpg-1.52-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-java/bcpg/bcpg-1.50-r1.ebuild 
b/dev-java/bcpg/bcpg-1.50-r1.ebuild
index 07ea7c547e7..b895d167488 100644
--- a/dev-java/bcpg/bcpg-1.50-r1.ebuild
+++ b/dev-java/bcpg/bcpg-1.50-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -15,7 +15,7 @@ SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
 
 LICENSE="BSD"
 SLOT="1.50"
-KEYWORDS="amd64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~x64-macos"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos"
 
 # Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
 # Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.

diff --git a/dev-java/bcpg/bcpg-1.52-r1.ebuild 
b/dev-java/bcpg/bcpg-1.52-r1.ebuild
index b6d307d7453..74354a732de 100644
--- a/dev-java/bcpg/bcpg-1.52-r1.ebuild
+++ b/dev-java/bcpg/bcpg-1.52-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -15,7 +15,7 @@ SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
 
 LICENSE="BSD"
 SLOT="1.52"
-KEYWORDS="amd64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~x64-macos"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos"
 
 # Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
 # Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2015-10-24 Thread Patrice Clement
commit: 6ccbdae9e4b7c15be920f3c041c5481c54107671
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Oct 24 10:38:39 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Oct 24 14:14:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ccbdae9

dev-java/bcpg: Fix header. Correct use test condition.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement  gentoo.org>

 dev-java/bcpg/bcpg-1.50-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/bcpg/bcpg-1.50-r1.ebuild 
b/dev-java/bcpg/bcpg-1.50-r1.ebuild
index 83efd14..d52ada5 100644
--- a/dev-java/bcpg/bcpg-1.50-r1.ebuild
+++ b/dev-java/bcpg/bcpg-1.50-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -45,7 +45,7 @@ src_unpack() {
 }
 
 java_prepare() {
-   if ! test; then
+   if ! use test; then
local RM_TEST_FILES=(
org/bouncycastle/openpgp/test
org/bouncycastle/openpgp/examples/test



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2015-10-24 Thread Patrice Clement
commit: 74617885f86cfe9db488fb74bda7d9523adcc8cc
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Oct 24 10:35:36 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Oct 24 14:14:12 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74617885

dev-java/bcpg: Stable for amd64. Stable for ppc+ppc64+x86 using the ALLARCHES 
policy. Fixes bug 563832.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement  gentoo.org>

 dev-java/bcpg/bcpg-1.50-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.50-r1.ebuild 
b/dev-java/bcpg/bcpg-1.50-r1.ebuild
index 79bd27f..83efd14 100644
--- a/dev-java/bcpg/bcpg-1.50-r1.ebuild
+++ b/dev-java/bcpg/bcpg-1.50-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
 
 LICENSE="BSD"
 SLOT="1.50"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~x64-macos"
 
 # Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
 # Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2015-10-08 Thread Patrice Clement
commit: 84d25886c73dd91c146646f6c96dcda4866bd3c8
Author: Patrice Clement  gentoo  org>
AuthorDate: Thu Oct  8 22:05:21 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Oct  8 22:06:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d25886

dev-java/bcpg: Stable for amd64. Stable for ppc+ppc64+x86 using the ALLARCHES 
policy.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement  gentoo.org>

 dev-java/bcpg/bcpg-1.52-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/bcpg/bcpg-1.52-r1.ebuild 
b/dev-java/bcpg/bcpg-1.52-r1.ebuild
index 05fe7b2..1a6a57a 100644
--- a/dev-java/bcpg/bcpg-1.52-r1.ebuild
+++ b/dev-java/bcpg/bcpg-1.52-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
 
 LICENSE="BSD"
 SLOT="1.52"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~x64-macos"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~x64-macos"
 
 # Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
 # Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2015-08-25 Thread Patrice Clement
commit: 10eaeed30aa7d20dcc7cfa51afda18347d1b83c6
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Aug 25 22:12:59 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Aug 25 23:12:25 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10eaeed3

dev-java/bcpg: Correct a typo in a if condition.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement  gentoo.org>

 dev-java/bcpg/bcpg-1.52-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/bcpg/bcpg-1.52-r1.ebuild 
b/dev-java/bcpg/bcpg-1.52-r1.ebuild
index 42f4909..05fe7b2 100644
--- a/dev-java/bcpg/bcpg-1.52-r1.ebuild
+++ b/dev-java/bcpg/bcpg-1.52-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -45,7 +45,7 @@ src_unpack() {
 }
 
 java_prepare() {
-   if ! test; then
+   if ! use test; then
local RM_TEST_FILES=(
org/bouncycastle/openpgp/test
org/bouncycastle/openpgp/examples/test



[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2015-08-10 Thread Patrice Clement
commit: 1e872fdf461f37b1554bc444acbf34cd84f85660
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Aug 10 19:09:54 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Aug 10 19:39:47 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e872fdf

dev-java/bcpg: Drop old.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement  gentoo.org>

 dev-java/bcpg/bcpg-1.50.ebuild | 85 -
 dev-java/bcpg/bcpg-1.52.ebuild | 87 --
 2 files changed, 172 deletions(-)

diff --git a/dev-java/bcpg/bcpg-1.50.ebuild b/dev-java/bcpg/bcpg-1.50.ebuild
deleted file mode 100644
index 0d1560a..000
--- a/dev-java/bcpg/bcpg-1.50.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-ant-2
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html";
-SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~x64-macos"
-
-# Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
-# Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.
-RESTRICT="test"
-
-COMMON_DEPEND="
-   >=dev-java/bcprov-${PV}:0[test?]"
-
-DEPEND=">=virtual/jdk-1.5
-   app-arch/unzip
-   test? ( dev-java/junit:0 )
-   ${COMMON_DEPEND}"
-
-RDEPEND=">=virtual/jre-1.5
-   ${COMMON_DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
-   default
-   cd "${S}"
-   unpack ./src.zip
-}
-
-java_prepare() {
-   mkdir "${S}"/classes
-
-   if use test ; then
-   java-pkg_jar-from --build-only junit
-   fi
-
-   java-pkg_jar-from bcprov
-}
-
-src_compile() {
-   find org -name "*.java" > "${T}"/src.list
-
-   local cp="bcprov.jar"
-   if use test ; then
-   cp="${cp}:junit.jar"
-   else
-   sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove 
test classes"
-   fi
-
-   ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list
-
-   cd "${S}"/classes || die
-
-   jar -cf "${S}"/${PN}.jar * || die "Failed to create jar."
-}
-
-src_test() {
-   local cp="${PN}.jar:bcprov.jar:junit.jar"
-   local pkg="org.bouncycastle"
-
-   java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests
-
-   grep -q FAILURES *.tests && die "Tests failed."
-}
-
-src_install() {
-   java-pkg_dojar "${S}"/${PN}.jar
-
-   use source && java-pkg_dosrc org
-   use doc && java-pkg_dojavadoc docs
-}

diff --git a/dev-java/bcpg/bcpg-1.52.ebuild b/dev-java/bcpg/bcpg-1.52.ebuild
deleted file mode 100644
index d2d42da..000
--- a/dev-java/bcpg/bcpg-1.52.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-ant-2
-
-MY_P="${PN}-jdk15on-${PV/./}"
-
-DESCRIPTION="Java cryptography APIs"
-HOMEPAGE="http://www.bouncycastle.org/java.html";
-SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~x64-macos"
-
-# Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
-# Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.
-RESTRICT="test"
-
-CDEPEND="
-   >=dev-java/bcprov-${PV}:0[test?]"
-
-DEPEND=">=virtual/jdk-1.6
-   app-arch/unzip
-   test? (
-   dev-java/junit:0
-   )
-   ${CDEPEND}"
-
-RDEPEND=">=virtual/jre-1.6
-   ${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
-   default
-   cd "${S}"
-   unpack ./src.zip
-}
-
-java_prepare() {
-   mkdir "${S}"/classes
-
-   if use test; then
-   java-pkg_jar-from --build-only junit
-   fi
-
-   java-pkg_jar-from bcprov
-}
-
-src_compile() {
-   find org -name "*.java" > "${T}"/src.list
-
-   local cp="bcprov.jar"
-   if use test ; then
-   cp="${cp}:junit.jar"
-   else
-   sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove 
test classes"
-   fi
-
-   ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list
-
-   cd "${S}"/classes || die
-
-   jar -cf "${S}"/${PN}.jar * || die "Failed to create jar."
-}
-
-src_test() {
-   local cp="${PN}.jar:bcprov.jar:junit.jar"
-   local pkg="org.bouncycastle"
-
-   java -cp ${cp} ${pkg}.openpgp.test.AllTests | te

[gentoo-commits] repo/gentoo:master commit in: dev-java/bcpg/

2015-08-10 Thread Patrice Clement
commit: 9560c1ee7cfbcfd2a12d6ad63fe15dc6dc1b70c6
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Aug 10 19:01:54 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Aug 10 19:39:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9560c1ee

dev-java/bcpg: Add a new SLOT to version {1.50,1.52}.
Clean up hacks. Simplify build with java-pkg_simple eclass.
Fixes bug 557242.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement  gentoo.org>

 dev-java/bcpg/bcpg-1.50-r1.ebuild | 71 +++
 dev-java/bcpg/bcpg-1.52-r1.ebuild | 71 +++
 2 files changed, 142 insertions(+)

diff --git a/dev-java/bcpg/bcpg-1.50-r1.ebuild 
b/dev-java/bcpg/bcpg-1.50-r1.ebuild
new file mode 100644
index 000..79bd27f
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.50-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_P="${PN}-jdk15on-${PV/./}"
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html";
+SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="1.50"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~x64-macos"
+
+# Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
+# Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.
+RESTRICT="test"
+
+CDEPEND="dev-java/bcprov:${SLOT}"
+
+DEPEND=">=virtual/jdk-1.6
+   app-arch/unzip
+   test? (
+   dev-java/ant-junit:0
+   )
+   ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+   ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
+
+src_unpack() {
+   default
+   cd "${S}"
+   unpack ./src.zip
+}
+
+java_prepare() {
+   if ! test; then
+   local RM_TEST_FILES=(
+   org/bouncycastle/openpgp/test
+   org/bouncycastle/openpgp/examples/test
+   )
+   rm -rf "${RM_TEST_FILES[@]}" || die
+   fi
+}
+
+src_compile() {
+   java-pkg-simple_src_compile
+}
+
+src_test() {
+   local cp="${PN}.jar:bcprov.jar:junit.jar"
+   local pkg="org.bouncycastle"
+   java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests
+   grep -q FAILURES *.tests && die "Tests failed."
+}
+
+src_install() {
+   java-pkg-simple_src_install
+   use source && java-pkg_dosrc org
+}

diff --git a/dev-java/bcpg/bcpg-1.52-r1.ebuild 
b/dev-java/bcpg/bcpg-1.52-r1.ebuild
new file mode 100644
index 000..42f4909
--- /dev/null
+++ b/dev-java/bcpg/bcpg-1.52-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_P="${PN}-jdk15on-${PV/./}"
+
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html";
+SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="1.52"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~x64-macos"
+
+# Tests are currently broken. Appears to need older version of bcprov; but 
since bcprov is not slotted, this can cause conflicts.
+# Needs further investigation; though, only a small part has tests and there 
are no tests for bcpg itself.
+RESTRICT="test"
+
+CDEPEND="dev-java/bcprov:${SLOT}"
+
+DEPEND=">=virtual/jdk-1.6
+   app-arch/unzip
+   test? (
+   dev-java/ant-junit:0
+   )
+   ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+   ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_GENTOO_CLASSPATH="bcprov-${SLOT}"
+
+src_unpack() {
+   default
+   cd "${S}"
+   unpack ./src.zip
+}
+
+java_prepare() {
+   if ! test; then
+   local RM_TEST_FILES=(
+   org/bouncycastle/openpgp/test
+   org/bouncycastle/openpgp/examples/test
+   )
+   rm -rf "${RM_TEST_FILES[@]}" || die
+   fi
+}
+
+src_compile() {
+   java-pkg-simple_src_compile
+}
+
+src_test() {
+   local cp="${PN}.jar:bcprov.jar:junit.jar"
+   local pkg="org.bouncycastle"
+   java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.tests
+   grep -q FAILURES *.tests && die "Tests failed."
+}
+
+src_install() {
+   java-pkg-simple_src_install
+   use source && java-pkg_dosrc org
+}