dev-util/babeltrace: only run python_optimize with python enabled

Closes: https://bugs.gentoo.org/962727
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43739
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate 2025-09-11 10:19:53 +03:00 committed by Sam James
parent 168bb4a3c3
commit 347a30ca49
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -88,7 +88,7 @@ src_install() {
default default
# bug #956668 # bug #956668
python_optimize "${ED}" use python && python_optimize "${ED}"
find "${D}" -name '*.la' -delete || die find "${D}" -name '*.la' -delete || die
} }