summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-11-26 12:58:59 -0500
committerMike Gilbert <floppym@gentoo.org>2016-11-26 12:59:42 -0500
commit66b2ab8f5f64ca3e7a4835477620c25d736d6bad (patch)
tree3edd6fe59777e40ff781404b3eea16130912107b /dev-python/dnspython
parentgames-misc/bsd-games: remove unused patches (diff)
downloadgentoo-66b2ab8f5f64ca3e7a4835477620c25d736d6bad.tar.gz
gentoo-66b2ab8f5f64ca3e7a4835477620c25d736d6bad.tar.bz2
gentoo-66b2ab8f5f64ca3e7a4835477620c25d736d6bad.zip
dev-python/dnspython: fix examples installation
Bug: https://bugs.gentoo.org/600890 Package-Manager: portage-2.3.2_p8
Diffstat (limited to 'dev-python/dnspython')
-rw-r--r--dev-python/dnspython/dnspython-1.15.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/dnspython/dnspython-1.15.0.ebuild b/dev-python/dnspython/dnspython-1.15.0.ebuild
index 5b873dd79474..b3fe2614be58 100644
--- a/dev-python/dnspython/dnspython-1.15.0.ebuild
+++ b/dev-python/dnspython/dnspython-1.15.0.ebuild
@@ -31,6 +31,9 @@ python_test() {
}
python_install_all() {
- use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
}