commit: 33d990af2c52a4adb9a50976c324d66c66cd1804 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jan 5 15:39:27 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jan 8 14:48:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d990af
install-qa-check.d/60python-site: Forbid lib & usr package names Forbid `lib`, `$(get_libdir)` and `usr` as package names, to catch accidentally duplicating sitedir as prefix. Bug: https://bugs.gentoo.org/618134 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> metadata/install-qa-check.d/60python-site | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site index d73c881d3ad1..3ac1dc91669e 100644 --- a/metadata/install-qa-check.d/60python-site +++ b/metadata/install-qa-check.d/60python-site @@ -15,6 +15,8 @@ python_site_check() { # NB: setuptools/discovery.py is a good source of ideas benchmark benchmarks dist doc docs examples scripts tasks test tests tools util utils + # catch double-prefix installs, e.g. https://bugs.gentoo.org/618134 + lib $(get_libdir) usr .pytest_cache .hypothesis _trial_temp )
