From: David Seifert Date: Fri, 20 Mar 2020 09:56:40 +0000 (+0100) Subject: dev-python/micawber: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0056ffc2da6be01c99a1fb08c7968260280e8d1;p=gentoo.git dev-python/micawber: 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/micawber/micawber-0.3.3.ebuild b/dev-python/micawber/micawber-0.3.3.ebuild index e49d553ef81b..3c3c076355b0 100644 --- a/dev-python/micawber/micawber-0.3.3.ebuild +++ b/dev-python/micawber/micawber-0.3.3.ebuild @@ -16,10 +16,14 @@ IUSE="examples" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -EXAMPLES=( examples/ ) PATCHES=( "${FILESDIR}"/${PN}-0.3.2-remove-examples-from-setup.py.patch ) #555250 python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all dodoc -r docs }