diff --git a/dev-python/pyinotify/pyinotify-0.9.6.ebuild b/dev-python/pyinotify/pyinotify-0.9.6.ebuild index cec4b5d13b2d4..126697e11ff98 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 }