diff --git a/dev-python/defusedxml/defusedxml-0.5.0.ebuild b/dev-python/defusedxml/defusedxml-0.5.0.ebuild index 64ed2fda15264..bb5c513d3b575 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 }