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

index 8d5bc650d79144466dddf810664ad9f82789b310..39a11692e28b2a0b39d8745898e6cd961c07c843 100644 (file)
@@ -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
 }