diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-05 16:39:27 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-08 15:48:18 +0100 |
commit | 33d990af2c52a4adb9a50976c324d66c66cd1804 (patch) | |
tree | 7eadf5ef8e92cd2297ef573127f82e47f5d61455 /metadata/install-qa-check.d | |
parent | install-qa-check.d/60python-site: Add bad version check (diff) | |
download | gentoo-33d990af2c52a4adb9a50976c324d66c66cd1804.tar.gz gentoo-33d990af2c52a4adb9a50976c324d66c66cd1804.tar.bz2 gentoo-33d990af2c52a4adb9a50976c324d66c66cd1804.zip |
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@gentoo.org>
Diffstat (limited to 'metadata/install-qa-check.d')
-rw-r--r-- | metadata/install-qa-check.d/60python-site | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) |