commit:     8923428c4c1f41cf713000934ab4a8192e4a37d1
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Jun 24 09:42:32 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 07:34:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8923428c

dev-java/xz-java: verify-sig, EAPI 7 -> 8

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/31591
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/xz-java/Manifest                           |  1 +
 .../{xz-java-1.9.ebuild => xz-java-1.9-r1.ebuild}   | 21 ++++++++++++---------
 2 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/dev-java/xz-java/Manifest b/dev-java/xz-java/Manifest
index 624ff54095fb..56fcf0e06d10 100644
--- a/dev-java/xz-java/Manifest
+++ b/dev-java/xz-java/Manifest
@@ -1 +1,2 @@
 DIST xz-java-1.9.zip 155868 BLAKE2B 
e1e355e75b3d14cae9a12dd00105ff38e25ab9c270cecafc83f27a7a03b36aa7a33647b40b7458b3592319a2b574e10cef9786413f0a12af585199a8f00731de
 SHA512 
743f81ac715d7ac2760af8cee4c62d8fbeef156c0d3e0e85e4605ae08d6a71d1e6f6675e0558e7906a92d5fb3ca1feab9db015a1d42b5df73de2dec770a339cb
+DIST xz-java-1.9.zip.sig 566 BLAKE2B 
9702fa3021c4274aacc74ef84903429ed5301eac11cae6bf79014a5bad590c51b169c35f64add85c964cb815129acf920a014e5601acfcd075147f5fb8e9df1e
 SHA512 
5f511260da0f5a9338106ac56511b7a105996852103a3f40cc4a44a7e4e03dc39a645bb0a57ae99bcde8267d5a2d514a7c956a8bfe226c0472e1fa3c7d28e3d5

diff --git a/dev-java/xz-java/xz-java-1.9.ebuild 
b/dev-java/xz-java/xz-java-1.9-r1.ebuild
similarity index 57%
rename from dev-java/xz-java/xz-java-1.9.ebuild
rename to dev-java/xz-java/xz-java-1.9-r1.ebuild
index 0a65a660b650..1c5bcb7c9831 100644
--- a/dev-java/xz-java/xz-java-1.9.ebuild
+++ b/dev-java/xz-java/xz-java-1.9-r1.ebuild
@@ -1,29 +1,32 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 JAVA_PKG_IUSE="doc examples source"
 MAVEN_ID="org.tukaani:xz:1.9"
 
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2 java-pkg-simple verify-sig
 
 DESCRIPTION="Implementation of xz data compression in pure java"
 HOMEPAGE="https://tukaani.org/xz/java.html";
-SRC_URI="https://tukaani.org/xz/${P}.zip";
+SRC_URI="https://tukaani.org/xz/${P}.zip
+       verify-sig? ( https://tukaani.org/xz/${P}.zip.sig )"
+S="${WORKDIR}"
 
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 
-RDEPEND="
-       >=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
 
-DEPEND="
+BDEPEND="
        app-arch/unzip
-       >=virtual/jdk-1.8:*"
+       verify-sig? ( sec-keys/openpgp-keys-lassecollin )
+"
 
-S="${WORKDIR}"
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/lassecollin.asc"
 
 JAVA_SRC_DIR="src/org"
 

Reply via email to