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 8A450158094 for ; Wed, 3 Aug 2022 18:56:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9878E0D05; Wed, 3 Aug 2022 18:56:51 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F402E0D05 for ; Wed, 3 Aug 2022 18:56:51 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CE52633BDE5 for ; Wed, 3 Aug 2022 18:56:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6027A526 for ; Wed, 3 Aug 2022 18:56:49 +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: <1659552964.ac3b18d6dd5d8a7851691c308a6bae77f3a750a6.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: ac3b18d6dd5d8a7851691c308a6bae77f3a750a6 X-VCS-Branch: master Date: Wed, 3 Aug 2022 18:56:49 +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: 064ba23d-76cd-4e1c-a376-800fd4705a5a X-Archives-Hash: a79b28a181920083dab7b9f9f07e2b28 commit: ac3b18d6dd5d8a7851691c308a6bae77f3a750a6 Author: Sam James gentoo org> AuthorDate: Wed Aug 3 18:56:04 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 3 18:56:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3b18d6 metadata/install-qa-check.d: only check images w/ site-packages Avoid noise on all merges even if no Python files installed. No need to use siteimpl function as > Python 2.7 (and .. 3.6? 3.7?) it's all standard anyway. Signed-off-by: Sam James gentoo.org> metadata/install-qa-check.d/60python-pyc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/metadata/install-qa-check.d/60python-pyc b/metadata/install-qa-check.d/60python-pyc index f2d5ff3452dd..4679070328c0 100644 --- a/metadata/install-qa-check.d/60python-pyc +++ b/metadata/install-qa-check.d/60python-pyc @@ -24,6 +24,9 @@ python_pyc_check() { for prog in "${progs[@]}"; do local impl=${prog%/*} impl=${impl##*/} + + [[ -d "${ED}"/usr/lib/${impl}/site-packages ]] || continue + einfo "Verifying compiled files for ${impl}" local kind pyc py while IFS=: read -r kind pyc py extra; do