commit:     7180c63093c03ee0bba246ac657d13fbe4763a14
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 23:16:04 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 23:16:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7180c630

dev-python/graph-tool: Sync live ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/graph-tool/graph-tool-9999.ebuild | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-python/graph-tool/graph-tool-9999.ebuild 
b/dev-python/graph-tool/graph-tool-9999.ebuild
index 0b9a248e370..20fbfe4e557 100644
--- a/dev-python/graph-tool/graph-tool-9999.ebuild
+++ b/dev-python/graph-tool/graph-tool-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit check-reqs python-r1 toolchain-funcs
 
@@ -74,6 +74,11 @@ src_compile() {
 }
 
 src_install() {
-       python_foreach_impl run_in_build_dir default
-       find "${D}" -name '*.la' -delete || die
+       python_install() {
+               default
+               python_optimize
+       }
+       python_foreach_impl run_in_build_dir python_install
+
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to