diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /dev-python/eventlet/eventlet-0.24.1.ebuild | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'dev-python/eventlet/eventlet-0.24.1.ebuild')
-rw-r--r-- | dev-python/eventlet/eventlet-0.24.1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/eventlet/eventlet-0.24.1.ebuild b/dev-python/eventlet/eventlet-0.24.1.ebuild index 4b8cd5678214..dc239a70b4a9 100644 --- a/dev-python/eventlet/eventlet-0.24.1.ebuild +++ b/dev-python/eventlet/eventlet-0.24.1.ebuild @@ -33,7 +33,7 @@ python_prepare_all() { sed -i '/enum-compat/d' setup.py || die if use doc; then - local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) + local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" @@ -66,6 +66,10 @@ python_test() { python_install_all() { use doc && local HTML_DOCS=( doc/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi distutils-r1_python_install_all } |