From a5ef1eb188701d6924e2cfa2e48a2c8da995c4cc Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:57:30 +0100 Subject: [PATCH] dev-python/restkit: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/restkit/restkit-4.2.2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/restkit/restkit-4.2.2.ebuild b/dev-python/restkit/restkit-4.2.2.ebuild index 3f05d766057d..ba931dd23c91 100644 --- a/dev-python/restkit/restkit-4.2.2.ebuild +++ b/dev-python/restkit/restkit-4.2.2.ebuild @@ -46,6 +46,10 @@ python_test() { python_install_all() { use cli || rm "${D}"/usr/bin/restcli* || die use doc && local HTML_DOCS=( doc/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } -- 2.26.2