commit: e7fc78a3bab8b81253d267dc86886d44ea9c5e1b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jan 5 16:28:59 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jan 8 14:48:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7fc78a3
install-qa-check.d/60python-site: Check for UNKNOWN package name Bug: https://bugs.gentoo.org/836765 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> metadata/install-qa-check.d/60python-site | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site index ffc06edf0960..323539107900 100644 --- a/metadata/install-qa-check.d/60python-site +++ b/metadata/install-qa-check.d/60python-site @@ -55,9 +55,9 @@ python_site_check() { done < <( find "${sitedir}" -maxdepth 1 '(' \ -name '*-0.0.0.dist-info' -o \ - -name '*-UNKNOWN.dist-info' -o \ + -name '*UNKNOWN*.dist-info' -o \ -name '*-0.0.0.egg-info' -o \ - -name '*-UNKNOWN.egg-info' \ + -name '*UNKNOWN*.egg-info' \ ')' -print0 ) @@ -170,7 +170,7 @@ python_site_check() { if [[ ${bad_versions[@]} ]]; then eqawarn eqawarn "QA Notice: The following Python packages were installed with" - eqawarn "invalid/suspicious versions in the site-packages directory:" + eqawarn "invalid/suspicious names or versions in the site-packages directory:" eqawarn eqatag -v python-site.bad_version "${bad_versions[@]}" fi
