• [gentoo-dev] [PATCH 2/9] install-qa-check.d/60python-site: Add invalid

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Sat Jan 6 14:50:01 2024
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    metadata/install-qa-check.d/60python-site | 45 ++++++++++++++++++++++-
    1 file changed, 44 insertions(+), 1 deletion(-)

    diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site
    index 5f812ecd01e1..459509f8a136 100644
    --- a/metadata/install-qa-check.d/60python-site
    +++ b/metadata/install-qa-check.d/60python-site
    @@ -11,12 +11,21 @@ python_site_check() {
    local progs=( "${EPREFIX}"/usr/lib/python-exec/*/gpep517 )
    ${save}

    + local forbidden_package_names=(
    + # NB: setuptools/discovery.py is a good source of ideas
    + benchmark benchmarks dist doc docs examples scripts tasks
    + test tests tools util utils
    + .pytest_cache .hypothesis _trial_temp
    + )
    +
    local invalid=()
    local mismatched_timestamp=()
    local mismatched_data=()
    local missing=()
    local stray=()

    + local stray_packages=()
    +
    # Avoid running the check if sufficiently new gpep517 is not installed
    # yet. It's valid to schedule (for merge order) >=gpep517-8 after
    #