diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:12 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:12 +0100 |
commit | c695a06ac4ab4ae77399c3d3d5bf0ea1280fd794 (patch) | |
tree | 6cca985ec9e09f4b175acbaa724aa3b671336803 /dev-python/pyinotify | |
parent | dev-python/pygraphviz: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-c695a06ac4ab4ae77399c3d3d5bf0ea1280fd794.tar.gz gentoo-c695a06ac4ab4ae77399c3d3d5bf0ea1280fd794.tar.bz2 gentoo-c695a06ac4ab4ae77399c3d3d5bf0ea1280fd794.zip |
dev-python/pyinotify: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/pyinotify')
-rw-r--r-- | dev-python/pyinotify/pyinotify-0.9.6.ebuild | 7 |
1 files 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 } |