commit:     8492bca31b1ddc2e06f4f23affd2c9667ddb693a
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  1 12:21:39 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Aug  1 12:23:01 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8492bca3

dev-python/cangjie: call python_optimize

Closes: https://bugs.gentoo.org/727046
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 dev-python/cangjie/{cangjie-1.3.ebuild => cangjie-1.3-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/cangjie/cangjie-1.3.ebuild 
b/dev-python/cangjie/cangjie-1.3-r1.ebuild
similarity index 90%
rename from dev-python/cangjie/cangjie-1.3.ebuild
rename to dev-python/cangjie/cangjie-1.3-r1.ebuild
index c3b82137027..646ccfa4177 100644
--- a/dev-python/cangjie/cangjie-1.3.ebuild
+++ b/dev-python/cangjie/cangjie-1.3-r1.ebuild
@@ -43,7 +43,11 @@ src_test() {
 }
 
 src_install() {
-       python_foreach_impl run_in_build_dir default
+       python_install() {
+               default
+               python_optimize
+       }
+       python_foreach_impl run_in_build_dir python_install
        einstalldocs
 
        find "${D}" -name '*.la' -delete || die

Reply via email to