Rename `60python-pyc` check to `60python-site`, as it will be used
to perform other checks on the site-packages directory.
Signed-off-by: Michał Górny <
mgorny@gentoo.org>
---
.../{60python-pyc => 60python-site} | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
rename metadata/install-qa-check.d/{60python-pyc => 60python-site} (86%)
diff --git a/metadata/install-qa-check.d/60python-pyc b/metadata/install-qa-check.d/60python-site
similarity index 86%
rename from metadata/install-qa-check.d/60python-pyc
rename to metadata/install-qa-check.d/60python-site
index fe4f3f62c4ef..5f812ecd01e1 100644
--- a/metadata/install-qa-check.d/60python-pyc
+++ b/metadata/install-qa-check.d/60python-site
@@ -1,10 +1,11 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# QA check: ensure that Python modules are compiled after installing
+# QA checks related to site-packages directory:
+# - missing, mismatched or stray .pyc files
# Maintainer: Python project <
python@gentoo.org>
-python_pyc_check() {
+python_site_check() {
local save=$(sh