summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:57:33 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:57:33 +0100
commit8babea42bb4154f06c92de98face4e83875b02e0 (patch)
tree3fd81af91fc2e6ddcd1c1e4b8bcd4847edc80a65 /dev-python/root_numpy
parentdev-python/restkit: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-8babea42bb4154f06c92de98face4e83875b02e0.tar.gz
gentoo-8babea42bb4154f06c92de98face4e83875b02e0.tar.bz2
gentoo-8babea42bb4154f06c92de98face4e83875b02e0.zip
dev-python/root_numpy: 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/root_numpy')
-rw-r--r--dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild b/dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild
index c5305f468915..8333f8841970 100644
--- a/dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild
+++ b/dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild
@@ -36,6 +36,11 @@ python_test() {
}
python_install_all() {
- use examples && local EXAMPLES=( tutorial/. )
+ if use examples; then
+ docinto examples
+ dodoc -r tutorial/.
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
}