summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:37 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:37 +0100
commitdd860e780cb0b4a5597a499df9fde9071d5b4250 (patch)
tree4286fab7d285246aefb695a2d35da7d8fd94457d /dev-python/mando
parentdev-python/livereload: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-dd860e780cb0b4a5597a499df9fde9071d5b4250.tar.gz
gentoo-dd860e780cb0b4a5597a499df9fde9071d5b4250.tar.bz2
gentoo-dd860e780cb0b4a5597a499df9fde9071d5b4250.zip
dev-python/mando: 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/mando')
-rw-r--r--dev-python/mando/mando-0.3.2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/mando/mando-0.3.2.ebuild b/dev-python/mando/mando-0.3.2.ebuild
index 6eb96d61546e..5e16ff3b6b0d 100644
--- a/dev-python/mando/mando-0.3.2.ebuild
+++ b/dev-python/mando/mando-0.3.2.ebuild
@@ -33,7 +33,10 @@ python_test() {
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
- 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
}