From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id 769BB1584AD for ; Fri, 18 Apr 2025 17:21:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 5B32E3431B0 for ; Fri, 18 Apr 2025 17:21:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 808DF1104B7; Fri, 18 Apr 2025 17:21:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 781E41104B7 for ; Fri, 18 Apr 2025 17:21:41 +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 31B0034318C for ; Fri, 18 Apr 2025 17:21:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B84AF23F9 for ; Fri, 18 Apr 2025 17:21:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1744996896.cebf71d0f01716909f678154b292ec46d3aeb11a.mgorny@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-site X-VCS-Directories: metadata/install-qa-check.d/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cebf71d0f01716909f678154b292ec46d3aeb11a X-VCS-Branch: master Date: Fri, 18 Apr 2025 17:21:39 +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: 06560cb1-ee42-4c92-a4f8-9f15dc88952a X-Archives-Hash: ce27759800be41d99f816aa188778007 commit: cebf71d0f01716909f678154b292ec46d3aeb11a Author: Michał Górny gentoo org> AuthorDate: Fri Apr 18 15:10:10 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 18 17:21:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebf71d0 metadata/install-qa-check.d: Fix impl matching in 60python-site Fix Python implementation matching code to special-case pypy3 rather than generally applying a glob that caused impl of `python3.13` to match directory for `python3.13t`. Signed-off-by: Michał Górny gentoo.org> metadata/install-qa-check.d/60python-site | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site index e4c2c875ca0f..3791fa80ecdd 100644 --- a/metadata/install-qa-check.d/60python-site +++ b/metadata/install-qa-check.d/60python-site @@ -54,8 +54,8 @@ python_site_check() { local impl=${prog%/*} impl=${impl##*/} - # NB: using ${impl}* to catch pypy3.* for pypy3 - local pydir=( "${ED}"/usr/lib/${impl}* ) + local pydir="${ED}"/usr/lib/${impl} + [[ ${impl} == pypy3 ]] && pydir="${ED}"/usr/lib/pypy3.10 [[ -d ${pydir} ]] || continue # check for packages installing outside site-packages