From: David Seifert Date: Fri, 20 Mar 2020 09:57:12 +0000 (+0100) Subject: dev-python/pyinotify: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c695a06ac4ab4ae77399c3d3d5bf0ea1280fd794;p=gentoo.git dev-python/pyinotify: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- diff --git a/dev-python/pyinotify/pyinotify-0.9.6.ebuild b/dev-python/pyinotify/pyinotify-0.9.6.ebuild index cec4b5d13b2d..126697e11ff9 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 }