diff options
author | Yixun Lan <dlan@gentoo.org> | 2022-09-06 17:28:56 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2022-09-06 17:30:52 +0800 |
commit | bea7f7e378e362228dbac0bf50fc77b04c75c1f3 (patch) | |
tree | 888387132ba763d56475ada5e7b2c0fb65a0212f /app-i18n/ibus | |
parent | www-client/firefox: add 104.0.2 (diff) | |
download | gentoo-bea7f7e378e362228dbac0bf50fc77b04c75c1f3.tar.gz gentoo-bea7f7e378e362228dbac0bf50fc77b04c75c1f3.tar.bz2 gentoo-bea7f7e378e362228dbac0bf50fc77b04c75c1f3.zip |
app-i18n/ibus: remove stray pyc/pyo files
Closes: https://bugs.gentoo.org/865753
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n/ibus')
-rw-r--r-- | app-i18n/ibus/ibus-1.5.27.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app-i18n/ibus/ibus-1.5.27.ebuild b/app-i18n/ibus/ibus-1.5.27.ebuild index 935a3baa1a42..65119041410e 100644 --- a/app-i18n/ibus/ibus-1.5.27.ebuild +++ b/app-i18n/ibus/ibus-1.5.27.ebuild @@ -184,7 +184,6 @@ src_test() { src_install() { default - find "${ED}" -name '*.la' -delete || die if use python; then python_install() { @@ -207,6 +206,13 @@ 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() { |