From c695a06ac4ab4ae77399c3d3d5bf0ea1280fd794 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:57:12 +0100 Subject: [PATCH] dev-python/pyinotify: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- 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 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 } -- 2.26.2