From 939c31646db64cecd5b2dbbe608fac3b381c03fe Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:56:01 +0100 Subject: [PATCH] dev-python/cliff-tablib: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/cliff-tablib/cliff-tablib-1.1-r2.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-python/cliff-tablib/cliff-tablib-1.1-r2.ebuild b/dev-python/cliff-tablib/cliff-tablib-1.1-r2.ebuild index 7cae8ec8c0cd..401d2a5a48eb 100644 --- a/dev-python/cliff-tablib/cliff-tablib-1.1-r2.ebuild +++ b/dev-python/cliff-tablib/cliff-tablib-1.1-r2.ebuild @@ -20,8 +20,12 @@ RDEPEND="dev-python/tablib[${PYTHON_USEDEP}] DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" python_install_all() { - # Use IUSE examples for installing the demoapp - use examples && local EXAMPLES=( demoapp/. ) use doc && local HTML_DOCS=( docs/build/html/. ) + if use examples; then + docinto examples + dodoc -r demoapp/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } -- 2.26.2