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

index 3ca490f830dc23c8565c56b89e44ef0fe009b979..52800837a32deb1f6e22b92eae0adcefaa163a11 100644 (file)
@@ -42,6 +42,10 @@ python_test() {
 
 python_install_all() {
        use doc && local HTML_DOCS=( docs/.build/html/. )
-       use examples && local EXAMPLES=( docs/examples/. )
+       if use examples; then
+               dodoc -r docs/examples
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
+
        distutils-r1_python_install_all
 }