summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:57:24 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:57:24 +0100
commitceea3c550708d0c1bf33aa4a576f39a3c8bb3cba (patch)
tree3bee3d4c7e6c92c30195f028808fb967e462e010 /dev-python/pythondialog
parentdev-python/pysvn: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-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')
-rw-r--r--dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild5
-rw-r--r--dev-python/pythondialog/pythondialog-3.3.0.ebuild5
-rw-r--r--dev-python/pythondialog/pythondialog-3.4.0-r200.ebuild5
-rw-r--r--dev-python/pythondialog/pythondialog-3.4.0.ebuild5
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