From c0a7889115890bfc1011568bc20381cd77f24e69 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Wed, 7 Sep 2022 09:24:24 +0800 Subject: app-i18n/ibus: fix not byte-compiled issue Closes: https://bugs.gentoo.org/868699 Signed-off-by: Yixun Lan --- app-i18n/ibus/ibus-1.5.27.ebuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'app-i18n/ibus') diff --git a/app-i18n/ibus/ibus-1.5.27.ebuild b/app-i18n/ibus/ibus-1.5.27.ebuild index 65119041410e..57b8aa524735 100644 --- a/app-i18n/ibus/ibus-1.5.27.ebuild +++ b/app-i18n/ibus/ibus-1.5.27.ebuild @@ -184,6 +184,12 @@ src_test() { src_install() { default + # Remove la files + find "${ED}" -name '*.la' -delete || die + + # Remove stray python files generated by the build system + find "${ED}" -name '*.pyc' -exec rm -f {} \; || die + find "${ED}" -name '*.pyo' -exec rm -f {} \; || die if use python; then python_install() { @@ -206,13 +212,6 @@ src_install() { # Undo compression of man page find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die - - # Remove stray python files generated by the build system - find "${ED}" -name '*.pyc' -exec rm -f {} \; || die - find "${ED}" -name '*.pyo' -exec rm -f {} \; || die - - # Remove la files - find "${ED}" -name '*.la' -delete || die } pkg_postinst() { -- cgit v1.2.3-65-gdbad