• [gentoo-dev] [PATCH 9/9] install-qa-check.d/60python-site: allow site-p

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sat Jan 6 14:50:01 2024
    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 <[email protected]>
    ---
    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 cb31c7f98e08..afef445ad715 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
    --
    2.43.0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)