From: David Seifert Date: Fri, 20 Mar 2020 09:57:09 +0000 (+0100) Subject: dev-python/pygraphviz: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c857363c3bf06be0bca2adb39161ce04d8e15a08;p=gentoo.git dev-python/pygraphviz: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- diff --git a/dev-python/pygraphviz/pygraphviz-1.5.ebuild b/dev-python/pygraphviz/pygraphviz-1.5.ebuild index ebb016167c1f..e13abbc3ce6d 100644 --- a/dev-python/pygraphviz/pygraphviz-1.5.ebuild +++ b/dev-python/pygraphviz/pygraphviz-1.5.ebuild @@ -42,7 +42,10 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi distutils-r1_python_install_all }