From: Zac Medico Date: Wed, 26 Jun 2019 02:55:41 +0000 (-0700) Subject: dev-python/eventlet: Fix EXAMPLES are banned in EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=07fc7ebbb455c924e1f57c345d58144019fdf0f4;p=gentoo.git dev-python/eventlet: Fix EXAMPLES are banned in EAPI 7 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/677160 Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Zac Medico --- 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 }