summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:57:09 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:57:09 +0100
commitc857363c3bf06be0bca2adb39161ce04d8e15a08 (patch)
tree34b3c8c98916c3c983435ae7e26230ba46a3ba9a /dev-python/pygraphviz
parentdev-python/pyglet: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-c857363c3bf06be0bca2adb39161ce04d8e15a08.tar.gz
gentoo-c857363c3bf06be0bca2adb39161ce04d8e15a08.tar.bz2
gentoo-c857363c3bf06be0bca2adb39161ce04d8e15a08.zip
dev-python/pygraphviz: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/pygraphviz')
-rw-r--r--dev-python/pygraphviz/pygraphviz-1.5.ebuild5
1 files changed, 4 insertions, 1 deletions
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
}