summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:58 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:58 +0100
commitf27b9b4303d7c2e0f61d0a81c7c7920e75c3e09f (patch)
tree08afe31acc53d0177dcdd8e8a1993d959b468064 /dev-python/pycurl
parentdev-python/pybluez: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-f27b9b4303d7c2e0f61d0a81c7c7920e75c3e09f.tar.gz
gentoo-f27b9b4303d7c2e0f61d0a81c7c7920e75c3e09f.tar.bz2
gentoo-f27b9b4303d7c2e0f61d0a81c7c7920e75c3e09f.zip
dev-python/pycurl: 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/pycurl')
-rw-r--r--dev-python/pycurl/pycurl-7.43.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/pycurl/pycurl-7.43.0.ebuild b/dev-python/pycurl/pycurl-7.43.0.ebuild
index 709ce8c1f28c..6d0938ac0101 100644
--- a/dev-python/pycurl/pycurl-7.43.0.ebuild
+++ b/dev-python/pycurl/pycurl-7.43.0.ebuild
@@ -72,6 +72,10 @@ python_test() {
python_install_all() {
local HTML_DOCS=( doc/. )
- 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
}