From abe311a91a0989a47b409f079fa263c589046ade Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:56:07 +0100 Subject: [PATCH] dev-python/defusedxml: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/defusedxml/defusedxml-0.5.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-python/defusedxml/defusedxml-0.5.0.ebuild b/dev-python/defusedxml/defusedxml-0.5.0.ebuild index 64ed2fda1526..bb5c513d3b57 100644 --- a/dev-python/defusedxml/defusedxml-0.5.0.ebuild +++ b/dev-python/defusedxml/defusedxml-0.5.0.ebuild @@ -24,6 +24,11 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( other/. ) + if use examples; then + docinto examples + dodoc -r other/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } -- 2.26.2