commit:     97cbfd95965229479d58c1b19557189bb93fdf9d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 11:26:16 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 11:26:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cbfd95

install-qa-check.d: Enable 60python-pyc in EAPI 8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 metadata/install-qa-check.d/60python-pyc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/metadata/install-qa-check.d/60python-pyc 
b/metadata/install-qa-check.d/60python-pyc
index fee033042a3a..47e9a3eea908 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -4,7 +4,9 @@
 # QA check: ensure that Python modules are compiled after installing
 # Maintainer: Python project <[email protected]>
 
-if [[ ${EAPI} == [6-7] ]]; then
+# EAPI guard to prevent errors from trying to import python-utils-r1
+# in unsupported EAPIs.  Please keep the list in sync with the eclass!
+if [[ ${EAPI} == [6-8] ]]; then
        inherit python-utils-r1
 
        python_pyc_check() {

Reply via email to