summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/install-qa-check.d/60python-pyc')
-rw-r--r--metadata/install-qa-check.d/60python-pyc4
1 files changed, 3 insertions, 1 deletions
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 <python@gentoo.org>
-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() {