From ceea3c550708d0c1bf33aa4a576f39a3c8bb3cba Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:57:24 +0100 Subject: [PATCH] dev-python/pythondialog: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild | 5 ++++- dev-python/pythondialog/pythondialog-3.3.0.ebuild | 5 ++++- dev-python/pythondialog/pythondialog-3.4.0-r200.ebuild | 5 ++++- dev-python/pythondialog/pythondialog-3.4.0.ebuild | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild b/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild index ba7858ff7a3c..78b66f086094 100644 --- a/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild +++ b/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild @@ -30,7 +30,10 @@ python_compile_all() { } python_install_all() { - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi use doc && local HTML_DOCS=( doc/_build/html/. ) distutils-r1_python_install_all diff --git a/dev-python/pythondialog/pythondialog-3.3.0.ebuild b/dev-python/pythondialog/pythondialog-3.3.0.ebuild index ec5ff06e4cdc..0da689d23eb7 100644 --- a/dev-python/pythondialog/pythondialog-3.3.0.ebuild +++ b/dev-python/pythondialog/pythondialog-3.3.0.ebuild @@ -28,7 +28,10 @@ python_compile_all() { } python_install_all() { - use examples && local EXAMPLES=( examples/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi use doc && local HTML_DOCS=( doc/_build/html/. ) distutils-r1_python_install_all diff --git a/dev-python/pythondialog/pythondialog-3.4.0-r200.ebuild b/dev-python/pythondialog/pythondialog-3.4.0-r200.ebuild index e14a399c3c39..5b669d227eb9 100644 --- a/dev-python/pythondialog/pythondialog-3.4.0-r200.ebuild +++ b/dev-python/pythondialog/pythondialog-3.4.0-r200.ebuild @@ -31,7 +31,10 @@ python_compile_all() { } python_install_all() { - use examples && dodoc -r examples + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi use doc && local HTML_DOCS=( doc/_build/html/. ) distutils-r1_python_install_all diff --git a/dev-python/pythondialog/pythondialog-3.4.0.ebuild b/dev-python/pythondialog/pythondialog-3.4.0.ebuild index 3731822493e3..6463cb0c30b8 100644 --- a/dev-python/pythondialog/pythondialog-3.4.0.ebuild +++ b/dev-python/pythondialog/pythondialog-3.4.0.ebuild @@ -29,7 +29,10 @@ python_compile_all() { } python_install_all() { - use examples && dodoc -r examples + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi use doc && local HTML_DOCS=( doc/_build/html/. ) distutils-r1_python_install_all -- 2.26.2