diff --git a/dev-python/http-parser/http-parser-0.8.3.ebuild b/dev-python/http-parser/http-parser-0.8.3.ebuild index 534c30604b62e..5337b6d349467 100644 --- a/dev-python/http-parser/http-parser-0.8.3.ebuild +++ b/dev-python/http-parser/http-parser-0.8.3.ebuild @@ -32,6 +32,10 @@ python_compile() { python_install_all() { local DOCS=( README.rst ) - 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 }