diff options
author | Sam James <sam@gentoo.org> | 2022-09-19 04:50:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-19 04:51:51 +0100 |
commit | 4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd (patch) | |
tree | c5fbe35d62207bb4df9e23f80c92699040335f7a /metadata | |
parent | media-libs/libmypaint: add missing babl[introspection?] dep (diff) | |
download | gentoo-4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd.tar.gz gentoo-4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd.tar.bz2 gentoo-4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd.zip |
metadata/install-qa-check.d: don't use nonfatal on older EAPIs in 60python-pyc
Bug: https://bugs.gentoo.org/869182
Fixes: c310e44692ad91777c71394dda97cd1f33f72589
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/install-qa-check.d/60python-pyc | 4 |
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%/*} |