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

index 2f0b31c2890c0e1de2aa78e001dc0d363742b429..1da61eeff6ab1724a3c12bf1538f45a894daf8cb 100644 (file)
@@ -29,7 +29,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
 }