From: David Seifert Date: Fri, 20 Mar 2020 09:57:06 +0000 (+0100) Subject: dev-python/pyglet: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ba5f0978f10c92489b3d7c988973fa27846eef1;p=gentoo.git dev-python/pyglet: 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/pyglet/pyglet-1.2.4.ebuild b/dev-python/pyglet/pyglet-1.2.4.ebuild index 399948d3dbbd..c207ab21ecb6 100644 --- a/dev-python/pyglet/pyglet-1.2.4.ebuild +++ b/dev-python/pyglet/pyglet-1.2.4.ebuild @@ -36,6 +36,10 @@ python_test() { python_install_all() { DOCS=( NOTICE ) - use examples && EXAMPLES=( examples ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all }