diff --git a/dev-python/pyldap/pyldap-2.4.28.ebuild b/dev-python/pyldap/pyldap-2.4.28.ebuild index 7689530164718..a8f7d202a33b4 100644 --- a/dev-python/pyldap/pyldap-2.4.28.ebuild +++ b/dev-python/pyldap/pyldap-2.4.28.ebuild @@ -67,8 +67,10 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( Demo/. ) use doc && local HTML_DOCS=( Doc/.build/html/. ) - distutils-r1_python_install_all + if use examples; then + dodoc -r Demo + docompress -x /usr/share/doc/${PF}/Demo + fi }