From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 30CF5158094 for ; Mon, 19 Sep 2022 03:52:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 611A9E0895; Mon, 19 Sep 2022 03:52:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BA81E0895 for ; Mon, 19 Sep 2022 03:52:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88792340E22 for ; Mon, 19 Sep 2022 03:52:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F15E55D5 for ; Mon, 19 Sep 2022 03:52:07 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1663559511.4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: metadata/install-qa-check.d/ X-VCS-Repository: repo/gentoo X-VCS-Files: metadata/install-qa-check.d/60python-pyc X-VCS-Directories: metadata/install-qa-check.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd X-VCS-Branch: master Date: Mon, 19 Sep 2022 03:52:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8bdc924-feb7-4fea-85b5-1c0ff57d9983 X-Archives-Hash: 17b61a33e4ff96dfa165cbb081fe3bca commit: 4d9b14a0bc5b66b1397efc0ada1a791f5b0adadd Author: Sam James gentoo org> AuthorDate: Mon Sep 19 03:50:46 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 19 03:51:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9b14a0 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 gentoo.org> metadata/install-qa-check.d/60python-pyc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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%/*}