summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-05 18:53:08 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-08 15:48:21 +0100
commit777859c3f5fd4bc9802f7677b19960323abe4901 (patch)
tree56a1af2b63119de1f2afa21b798d9add6841f165 /metadata/install-qa-check.d
parentinstall-qa-check.d/60python-site: Check for out-of-sitepkg install (diff)
downloadgentoo-777859c3f5fd4bc9802f7677b19960323abe4901.tar.gz
gentoo-777859c3f5fd4bc9802f7677b19960323abe4901.tar.bz2
gentoo-777859c3f5fd4bc9802f7677b19960323abe4901.zip
install-qa-check.d/60python-site: allow site-packages/README.txt
This is installed by dev-lang/python and dev-python/pypy*. Historically, we didn't need to exempt them since the check was in distutils-r1 and these ebuilds did not use it. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'metadata/install-qa-check.d')
-rw-r--r--metadata/install-qa-check.d/60python-site3
1 files changed, 2 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site
index 00962b0448b0..b130b6768dad 100644
--- a/metadata/install-qa-check.d/60python-site
+++ b/metadata/install-qa-check.d/60python-site
@@ -88,7 +88,8 @@ python_site_check() {
-name '*.pth' -o \
-name '*.py' -o \
-name '*.pyi' -o \
- -name "*$(get_modname)" \
+ -name "*$(get_modname)" -o \
+ -name 'README.txt' \
')' -print0
)
# check for forbidden packages