Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus/
Date: Wed, 07 Sep 2022 01:25:49
Message-Id: 1662513864.c0a7889115890bfc1011568bc20381cd77f24e69.dlan@gentoo
1 commit: c0a7889115890bfc1011568bc20381cd77f24e69
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 7 01:24:24 2022 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 7 01:24:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a78891
7
8 app-i18n/ibus: fix not byte-compiled issue
9
10 Closes: https://bugs.gentoo.org/868699
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 app-i18n/ibus/ibus-1.5.27.ebuild | 13 ++++++-------
14 1 file changed, 6 insertions(+), 7 deletions(-)
15
16 diff --git a/app-i18n/ibus/ibus-1.5.27.ebuild b/app-i18n/ibus/ibus-1.5.27.ebuild
17 index 65119041410e..57b8aa524735 100644
18 --- a/app-i18n/ibus/ibus-1.5.27.ebuild
19 +++ b/app-i18n/ibus/ibus-1.5.27.ebuild
20 @@ -184,6 +184,12 @@ src_test() {
21
22 src_install() {
23 default
24 + # Remove la files
25 + find "${ED}" -name '*.la' -delete || die
26 +
27 + # Remove stray python files generated by the build system
28 + find "${ED}" -name '*.pyc' -exec rm -f {} \; || die
29 + find "${ED}" -name '*.pyo' -exec rm -f {} \; || die
30
31 if use python; then
32 python_install() {
33 @@ -206,13 +212,6 @@ src_install() {
34
35 # Undo compression of man page
36 find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die
37 -
38 - # Remove stray python files generated by the build system
39 - find "${ED}" -name '*.pyc' -exec rm -f {} \; || die
40 - find "${ED}" -name '*.pyo' -exec rm -f {} \; || die
41 -
42 - # Remove la files
43 - find "${ED}" -name '*.la' -delete || die
44 }
45
46 pkg_postinst() {