From: David Seifert Date: Fri, 20 Mar 2020 09:56:46 +0000 (+0100) Subject: dev-python/pkginfo: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1754004d27f53b6b31d8f37fc67e8fce50cc85ad;p=gentoo.git dev-python/pkginfo: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- diff --git a/dev-python/pkginfo/pkginfo-1.2.1.ebuild b/dev-python/pkginfo/pkginfo-1.2.1.ebuild index 3ca490f830dc..52800837a32d 100644 --- a/dev-python/pkginfo/pkginfo-1.2.1.ebuild +++ b/dev-python/pkginfo/pkginfo-1.2.1.ebuild @@ -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 }