summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:22 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:22 +0100
commita655625d8992f01ce95776708bab2bea093172af (patch)
treee3d0222563e28a8221b9e92d7611822a610daf98 /dev-python/http-parser
parentdev-python/hglib: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-a655625d8992f01ce95776708bab2bea093172af.tar.gz
gentoo-a655625d8992f01ce95776708bab2bea093172af.tar.bz2
gentoo-a655625d8992f01ce95776708bab2bea093172af.zip
dev-python/http-parser: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/http-parser')
-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
}