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

index e407d8216df4bd1eeaa4633256efe4492826c078..0c1423677c53ab7d0622ca60985306ddd9fd2ecc 100644 (file)
@@ -20,6 +20,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 DOCS=( docs/index.txt )
 
 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
 }