commit:     777859c3f5fd4bc9802f7677b19960323abe4901
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  5 17:53:08 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 14:48:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777859c3

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 <AT> gentoo.org>

 metadata/install-qa-check.d/60python-site | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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

Reply via email to