summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zachary.medico@sony.com>2019-06-25 19:55:41 -0700
committerZac Medico <zmedico@gentoo.org>2019-06-25 19:56:38 -0700
commit07fc7ebbb455c924e1f57c345d58144019fdf0f4 (patch)
tree9c1c7a67b0418e53b8f8c82d7950c508bb6c110f /dev-python
parentdev-python/eventlet: Use best_version -b for EAPI 7 (diff)
downloadgentoo-07fc7ebbb455c924e1f57c345d58144019fdf0f4.tar.gz
gentoo-07fc7ebbb455c924e1f57c345d58144019fdf0f4.tar.bz2
gentoo-07fc7ebbb455c924e1f57c345d58144019fdf0f4.zip
dev-python/eventlet: Fix EXAMPLES are banned in EAPI 7
Reported-by: Toralf Förster <toralf@gentoo.org> Closes: https://bugs.gentoo.org/677160 Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/eventlet/eventlet-0.24.1-r1.ebuild6
-rw-r--r--dev-python/eventlet/eventlet-0.24.1.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/eventlet/eventlet-0.24.1-r1.ebuild b/dev-python/eventlet/eventlet-0.24.1-r1.ebuild
index 53a7b690c00d..3ba860818805 100644
--- a/dev-python/eventlet/eventlet-0.24.1-r1.ebuild
+++ b/dev-python/eventlet/eventlet-0.24.1-r1.ebuild
@@ -65,6 +65,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
}
diff --git a/dev-python/eventlet/eventlet-0.24.1.ebuild b/dev-python/eventlet/eventlet-0.24.1.ebuild
index 8ec774402b7b..dc239a70b4a9 100644
--- a/dev-python/eventlet/eventlet-0.24.1.ebuild
+++ b/dev-python/eventlet/eventlet-0.24.1.ebuild
@@ -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
}