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>
This commit is contained in:
David Seifert
2020-03-20 10:57:12 +01:00
parent c857363c3b
commit c695a06ac4

View File

@@ -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
}