summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:57:03 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:57:03 +0100
commita2becef248405eeb5667c2be43eb31f9ac871f43 (patch)
treeb7acfb9fc649ccccd6cd3f2cabae71690a960247 /dev-python/pydns
parentdev-python/pycxx: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-a2becef248405eeb5667c2be43eb31f9ac871f43.tar.gz
gentoo-a2becef248405eeb5667c2be43eb31f9ac871f43.tar.bz2
gentoo-a2becef248405eeb5667c2be43eb31f9ac871f43.zip
dev-python/pydns: 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/pydns')
-rw-r--r--dev-python/pydns/pydns-2.3.6-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/pydns/pydns-2.3.6-r1.ebuild b/dev-python/pydns/pydns-2.3.6-r1.ebuild
index 8d5bc650d791..39a11692e28b 100644
--- a/dev-python/pydns/pydns-2.3.6-r1.ebuild
+++ b/dev-python/pydns/pydns-2.3.6-r1.ebuild
@@ -42,6 +42,11 @@ python_test() {
}
python_install_all() {
- use examples && local EXAMPLES=( ./{tests,tools}/. )
+ if use examples; then
+ docinto examples
+ dodoc -r tests/. tools/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
}