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

index 399948d3dbbde5907077887a4d0834fcc03f2324..c207ab21ecb6e3ffbe6f6e9cb73a9b1e2a59181d 100644 (file)
@@ -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
 }