1 |
commit: 8492bca31b1ddc2e06f4f23affd2c9667ddb693a |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 12:21:39 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 12:23:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8492bca3 |
7 |
|
8 |
dev-python/cangjie: call python_optimize |
9 |
|
10 |
Closes: https://bugs.gentoo.org/727046 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
13 |
|
14 |
dev-python/cangjie/{cangjie-1.3.ebuild => cangjie-1.3-r1.ebuild} | 6 +++++- |
15 |
1 file changed, 5 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/cangjie/cangjie-1.3.ebuild b/dev-python/cangjie/cangjie-1.3-r1.ebuild |
18 |
similarity index 90% |
19 |
rename from dev-python/cangjie/cangjie-1.3.ebuild |
20 |
rename to dev-python/cangjie/cangjie-1.3-r1.ebuild |
21 |
index c3b82137027..646ccfa4177 100644 |
22 |
--- a/dev-python/cangjie/cangjie-1.3.ebuild |
23 |
+++ b/dev-python/cangjie/cangjie-1.3-r1.ebuild |
24 |
@@ -43,7 +43,11 @@ src_test() { |
25 |
} |
26 |
|
27 |
src_install() { |
28 |
- python_foreach_impl run_in_build_dir default |
29 |
+ python_install() { |
30 |
+ default |
31 |
+ python_optimize |
32 |
+ } |
33 |
+ python_foreach_impl run_in_build_dir python_install |
34 |
einstalldocs |
35 |
|
36 |
find "${D}" -name '*.la' -delete || die |