summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:57:15 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:57:15 +0100
commit2d4f22bcb172e5e50d9316a44885be4f0d93420d (patch)
tree727af7c70281229f922333ffd17758d7f2e4acbe /dev-python/pymtp
parentdev-python/pyinotify: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-2d4f22bcb172e5e50d9316a44885be4f0d93420d.tar.gz
gentoo-2d4f22bcb172e5e50d9316a44885be4f0d93420d.tar.bz2
gentoo-2d4f22bcb172e5e50d9316a44885be4f0d93420d.zip
dev-python/pymtp: 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/pymtp')
-rw-r--r--dev-python/pymtp/pymtp-0.0.6.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/pymtp/pymtp-0.0.6.ebuild b/dev-python/pymtp/pymtp-0.0.6.ebuild
index 68a0ac427adc..40c2e540f304 100644
--- a/dev-python/pymtp/pymtp-0.0.6.ebuild
+++ b/dev-python/pymtp/pymtp-0.0.6.ebuild
@@ -23,6 +23,10 @@ DEPEND=${RDEPEND}
S="${WORKDIR}"/PyMTP-${PV}
python_install_all() {
- 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
}