summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/http-parser/http-parser-0.8.3.ebuild6
1 files changed, 5 insertions, 1 deletions
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 534c30604b62..5337b6d34946 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
}