1 |
commit: 46f91e7d3679aa252f351d4a1e9a9d78f0a973e7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 29 09:59:29 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 2 18:59:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f91e7d |
7 |
|
8 |
verify-sig.eclass: Enable EAPI 8 support |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/verify-sig.eclass | 16 +++++----------- |
13 |
1 file changed, 5 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass |
16 |
index e3ef7f24028..7f89e5388ba 100644 |
17 |
--- a/eclass/verify-sig.eclass |
18 |
+++ b/eclass/verify-sig.eclass |
19 |
@@ -1,10 +1,10 @@ |
20 |
-# Copyright 2020 Gentoo Authors |
21 |
+# Copyright 2020-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
# @ECLASS: verify-sig.eclass |
25 |
# @MAINTAINER: |
26 |
# Michał Górny <mgorny@g.o> |
27 |
-# @SUPPORTED_EAPIS: 7 |
28 |
+# @SUPPORTED_EAPIS: 7 8 |
29 |
# @BLURB: Eclass to verify upstream signatures on distfiles |
30 |
# @DESCRIPTION: |
31 |
# verify-sig eclass provides a streamlined approach to verifying |
32 |
@@ -32,15 +32,9 @@ |
33 |
# VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/example.asc |
34 |
# @CODE |
35 |
|
36 |
-case "${EAPI:-0}" in |
37 |
- 0|1|2|3|4|5|6) |
38 |
- die "Unsupported EAPI=${EAPI} (obsolete) for ${ECLASS}" |
39 |
- ;; |
40 |
- 7) |
41 |
- ;; |
42 |
- *) |
43 |
- die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" |
44 |
- ;; |
45 |
+case ${EAPI} in |
46 |
+ 7|8) ;; |
47 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
48 |
esac |
49 |
|
50 |
EXPORT_FUNCTIONS src_unpack |