From 8668c0f6c5fd1d084b8b2bdac1cfa1fcba412f65 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Sep 2022 11:21:41 +0100 Subject: gentoo auto-resync : 19:09:2022 - 11:21:41 --- metadata/install-qa-check.d/60python-pyc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'metadata/install-qa-check.d/60python-pyc') 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%/*} -- cgit v1.2.3