diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-29 11:59:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-02 20:59:12 +0200 |
commit | 46f91e7d3679aa252f351d4a1e9a9d78f0a973e7 (patch) | |
tree | 28256e6cfbff44334a9d04ac56475a079ef7495b /eclass/verify-sig.eclass | |
parent | dev-qt/qtwebengine: Add pkg_preinst() disclaimer (diff) | |
download | gentoo-46f91e7d3679aa252f351d4a1e9a9d78f0a973e7.tar.gz gentoo-46f91e7d3679aa252f351d4a1e9a9d78f0a973e7.tar.bz2 gentoo-46f91e7d3679aa252f351d4a1e9a9d78f0a973e7.zip |
verify-sig.eclass: Enable EAPI 8 support
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/verify-sig.eclass')
-rw-r--r-- | eclass/verify-sig.eclass | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass index e3ef7f240283..7f89e5388ba3 100644 --- a/eclass/verify-sig.eclass +++ b/eclass/verify-sig.eclass @@ -1,10 +1,10 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: verify-sig.eclass # @MAINTAINER: # Michał Górny <mgorny@gentoo.org> -# @SUPPORTED_EAPIS: 7 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: Eclass to verify upstream signatures on distfiles # @DESCRIPTION: # verify-sig eclass provides a streamlined approach to verifying @@ -32,15 +32,9 @@ # VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/example.asc # @CODE -case "${EAPI:-0}" in - 0|1|2|3|4|5|6) - die "Unsupported EAPI=${EAPI} (obsolete) for ${ECLASS}" - ;; - 7) - ;; - *) - die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" - ;; +case ${EAPI} in + 7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac EXPORT_FUNCTIONS src_unpack |