From 97cbfd95965229479d58c1b19557189bb93fdf9d Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 16 Jul 2022 13:26:16 +0200 Subject: install-qa-check.d: Enable 60python-pyc in EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- metadata/install-qa-check.d/60python-pyc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'metadata') 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 -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() { -- cgit v1.2.3-65-gdbad