From: David Seifert Date: Fri, 20 Mar 2020 09:57:42 +0000 (+0100) Subject: dev-python/tweepy: Replace distutils-r1 EXAMPLES use X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=012dd22d1dd5878dd9fed6a0ce265b4ceff5b51e;p=gentoo.git dev-python/tweepy: Replace distutils-r1 EXAMPLES use Closes: https://github.com/gentoo/gentoo/pull/15018 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- diff --git a/dev-python/tweepy/tweepy-3.5.0.ebuild b/dev-python/tweepy/tweepy-3.5.0.ebuild index 603f325a84ee..f5c8f65b38de 100644 --- a/dev-python/tweepy/tweepy-3.5.0.ebuild +++ b/dev-python/tweepy/tweepy-3.5.0.ebuild @@ -47,6 +47,10 @@ python_compile_all() { python_install_all() { use doc && local HTML_DOCS=( docs/_build/html/. ) - 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 }