commit:     4f6ee31297db1b78bd84b5404463172c3b6e37fb
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  6 04:08:44 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug  7 16:37:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6ee312

sec-keys/openpgp-keys-eschwartz: port to sec-keys.eclass

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sec-keys/openpgp-keys-eschwartz/Manifest                 |  2 +-
 ....ebuild => openpgp-keys-eschwartz-20250723-r1.ebuild} | 16 +++++++---------
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/sec-keys/openpgp-keys-eschwartz/Manifest 
b/sec-keys/openpgp-keys-eschwartz/Manifest
index 2c68b5a12999..f670bd0594fc 100644
--- a/sec-keys/openpgp-keys-eschwartz/Manifest
+++ b/sec-keys/openpgp-keys-eschwartz/Manifest
@@ -1,2 +1,2 @@
 DIST eli-schwartz-20250405.gpg 9325 BLAKE2B 
c93871bf0044c77339d5601b44463d38300f6ac56d459da7df2d239ed540b0d69894b0834a8891119f337a0f677f65c9ff75a1beef251b8e322d529e81098925
 SHA512 
449404f8b7a72eda0930eda2c3078d389e1fecfa030621bebdc882242b486e2d1d763f455222cbf80adf176df8f9085de08bc3c329d882a07a3cdddcb54a6e51
-DIST eli-schwartz-20250723.gpg 9325 BLAKE2B 
ade7d497938e2d4357b3e96ab8736bf97105b7d2f1312b5a030ab9841b9e71a6f492016db938fa16c210e083fa4fa4aa3e94b616b0b163a0d159100d6ac6a7a1
 SHA512 
3467c73acc909d6b597c66cc526560e19fdeeb501c95f3f9a28f4c148275f071594d5bcfd5ddb0f92d4c245c3b41d8a463c6725ee419c712f406226034a15487
+DIST openpgp-keys-eli-schwartz-github-20250723.asc 9325 BLAKE2B 
ade7d497938e2d4357b3e96ab8736bf97105b7d2f1312b5a030ab9841b9e71a6f492016db938fa16c210e083fa4fa4aa3e94b616b0b163a0d159100d6ac6a7a1
 SHA512 
3467c73acc909d6b597c66cc526560e19fdeeb501c95f3f9a28f4c148275f071594d5bcfd5ddb0f92d4c245c3b41d8a463c6725ee419c712f406226034a15487

diff --git 
a/sec-keys/openpgp-keys-eschwartz/openpgp-keys-eschwartz-20250723.ebuild 
b/sec-keys/openpgp-keys-eschwartz/openpgp-keys-eschwartz-20250723-r1.ebuild
similarity index 61%
rename from 
sec-keys/openpgp-keys-eschwartz/openpgp-keys-eschwartz-20250723.ebuild
rename to 
sec-keys/openpgp-keys-eschwartz/openpgp-keys-eschwartz-20250723-r1.ebuild
index 6c25f930e4e9..261174427a88 100644
--- a/sec-keys/openpgp-keys-eschwartz/openpgp-keys-eschwartz-20250723.ebuild
+++ b/sec-keys/openpgp-keys-eschwartz/openpgp-keys-eschwartz-20250723-r1.ebuild
@@ -3,16 +3,14 @@
 
 EAPI=8
 
+SEC_KEYS_VALIDPGPKEYS=(
+       'BD27B07A5EF45C2ADAF70E0484818A6819AF4A9B:eli-schwartz:github'
+       'EF51D308B1CE230888BE0D84EA423E93A16343F1:eli-schwartz2:manual'
+)
+
+inherit sec-keys
+
 DESCRIPTION="OpenPGP keys used by Eli Schwartz"
 HOMEPAGE="https://github.com/eli-schwartz";
-SRC_URI="https://github.com/eli-schwartz.gpg -> eli-schwartz-${PV}.gpg"
-S="${WORKDIR}"
 
-LICENSE="public-domain"
-SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos 
~x64-solaris"
-
-src_install() {
-       insinto /usr/share/openpgp-keys
-       newins "${DISTDIR}"/eli-schwartz-${PV}.gpg eschwartz.gpg
-}

Reply via email to