summaryrefslogtreecommitdiff
path: root/metadata/install-qa-check.d/60python-pyc
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 fdd232422880..d1eae65e1b58 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-pyc
@@ -19,7 +19,9 @@ python_pyc_check() {
# Avoid running the check if sufficiently new gpep517 is not installed
# yet. It's valid to schedule (for merge order) >=gpep517-8 after
# packages which have this check run if they don't use distutils-r1.
- nonfatal has_version ">=dev-python/gpep517-8" || return
+ if [[ ${EAPI} == [0123] ]] || ! nonfatal has_version ">=dev-python/gpep517-8" ; then
+ return
+ fi
for prog in "${progs[@]}"; do
local impl=${prog%/*}