dev-python/pygraphviz: Replace distutils-r1 EXAMPLES use
authorDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:57:09 +0000 (10:57 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:57:09 +0000 (10:57 +0100)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/pygraphviz/pygraphviz-1.5.ebuild

index ebb016167c1f7def7fe48041868566ab79acaf86..e13abbc3ce6def8237d544fdcdb7d3e6f88ba549 100644 (file)
@@ -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
 }