commit:     c695a06ac4ab4ae77399c3d3d5bf0ea1280fd794
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 20 09:57:12 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 09:57:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c695a06a

dev-python/pyinotify: Replace distutils-r1 EXAMPLES use

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/pyinotify/pyinotify-0.9.6.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/pyinotify/pyinotify-0.9.6.ebuild 
b/dev-python/pyinotify/pyinotify-0.9.6.ebuild
index cec4b5d13b2..126697e11ff 100644
--- a/dev-python/pyinotify/pyinotify-0.9.6.ebuild
+++ b/dev-python/pyinotify/pyinotify-0.9.6.ebuild
@@ -21,7 +21,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND=""
 
 python_install_all() {
-       use examples && local EXAMPLES=( python2/examples/. )
-       EXAMPLES+=( python3/examples/. )
+       if use examples; then
+               dodoc -r python3/examples
+               docompress -x /usr/share/doc/${PF}/examples
+       fi
+
        distutils-r1_python_install_all
 }

Reply via email to