mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
metadata/install-qa-check.d: only check images w/ site-packages
Avoid noise on all merges even if no Python files installed. No need to use siteimpl function as > Python 2.7 (and .. 3.6? 3.7?) it's all standard anyway. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -24,6 +24,9 @@ python_pyc_check() {
|
||||
for prog in "${progs[@]}"; do
|
||||
local impl=${prog%/*}
|
||||
impl=${impl##*/}
|
||||
|
||||
[[ -d "${ED}"/usr/lib/${impl}/site-packages ]] || continue
|
||||
|
||||
einfo "Verifying compiled files for ${impl}"
|
||||
local kind pyc py
|
||||
while IFS=: read -r kind pyc py extra; do
|
||||
|
||||
Reference in New Issue
Block a user