diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:24 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:24 +0100 |
commit | ceea3c550708d0c1bf33aa4a576f39a3c8bb3cba (patch) | |
tree | 3bee3d4c7e6c92c30195f028808fb967e462e010 /dev-python/pythondialog | |
parent | dev-python/pysvn: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-ceea3c550708d0c1bf33aa4a576f39a3c8bb3cba.tar.gz gentoo-ceea3c550708d0c1bf33aa4a576f39a3c8bb3cba.tar.bz2 gentoo-ceea3c550708d0c1bf33aa4a576f39a3c8bb3cba.zip |
dev-python/pythondialog: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/pythondialog')
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 |