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

index fb5a08994a09e6a14cf89ff25c5c162757d70e84..584730d5ae3b7d4c8d882a1e2f910d48691c5f8a 100644 (file)
@@ -26,6 +26,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
 }