From: David Seifert Date: Fri, 20 Mar 2020 09:56:49 +0000 (+0100) Subject: dev-python/polygon: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e1865fbf8df073af0b9f73e86277ffd20ed9661b;p=gentoo.git dev-python/polygon: 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/polygon/polygon-3.0.7.ebuild b/dev-python/polygon/polygon-3.0.7.ebuild index b62923113930..e3e7bcdb4135 100644 --- a/dev-python/polygon/polygon-3.0.7.ebuild +++ b/dev-python/polygon/polygon-3.0.7.ebuild @@ -34,6 +34,10 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all }