diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-05 11:50:51 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-08 15:48:14 +0100 |
commit | d466b3b94a8149cfb7ef4f7ac34d373b0ae4447f (patch) | |
tree | d6f043b1b473a5ef539dc83f739c275e0ca2a282 /eclass | |
parent | dev-python/pythran: Bump to 0.15.0 (diff) | |
download | gentoo-d466b3b94a8149cfb7ef4f7ac34d373b0ae4447f.tar.gz gentoo-d466b3b94a8149cfb7ef4f7ac34d373b0ae4447f.tar.bz2 gentoo-d466b3b94a8149cfb7ef4f7ac34d373b0ae4447f.zip |
verify-sig.eclass: Remove <dev-python/gemato-20 support
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/verify-sig.eclass | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass index d5f71669538e..88fb17c31652 100644 --- a/eclass/verify-sig.eclass +++ b/eclass/verify-sig.eclass @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: verify-sig.eclass @@ -68,7 +68,7 @@ case ${VERIFY_SIG_METHOD} in BDEPEND=" verify-sig? ( app-crypt/gnupg - >=app-portage/gemato-16 + >=app-portage/gemato-20 ) " ;; @@ -159,16 +159,10 @@ verify-sig_verify_detached() { # gpg can't handle very long TMPDIR # https://bugs.gentoo.org/854492 local -x TMPDIR=/tmp - if has_version ">=app-portage/gemato-20"; then - gemato openpgp-verify-detached -K "${key}" \ - "${extra_args[@]}" \ - "${sig}" "${file}" || - die "PGP signature verification failed" - else - gemato gpg-wrap -K "${key}" "${extra_args[@]}" -- \ - gpg --verify "${sig}" "${file}" || - die "PGP signature verification failed" - fi + gemato openpgp-verify-detached -K "${key}" \ + "${extra_args[@]}" \ + "${sig}" "${file}" || + die "PGP signature verification failed" ;; signify) signify -V -p "${key}" -m "${file}" -x "${sig}" || |