From 2d89477326667d45aff8d2c5870929112643d5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 8 Feb 2024 16:58:02 +0100 Subject: [PATCH] gpy-verify-deps: Update for split dev-python/pypy3_* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- gpyutils/scripts/verify_deps.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gpyutils/scripts/verify_deps.py b/gpyutils/scripts/verify_deps.py index bd1c9d5..5741fab 100755 --- a/gpyutils/scripts/verify_deps.py +++ b/gpyutils/scripts/verify_deps.py @@ -151,7 +151,12 @@ def process(pkgs): if matched_pkg is None: missing_dists[dist.name][dep_name].add(pyver) continue - expected_deps.add(str(matched_pkg.key)) + matched_dep = str(matched_pkg.key) + # map dev-python/pypy3_* subpackages into the common + # dev-python/pypy3 dependency + if matched_dep.startswith("dev-python/pypy3_"): + matched_dep = "dev-python/pypy3" + expected_deps.add(matched_dep) expected_usedeps = set(expected_deps)