From a0056ffc2da6be01c99a1fb08c7968260280e8d1 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:56:40 +0100 Subject: [PATCH] dev-python/micawber: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/micawber/micawber-0.3.3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 } -- 2.26.2