summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:57:18 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:57:18 +0100
commit8c912d54eaaf4e7d289f40683ae0bb6b340bf969 (patch)
treedbca09aa60c773633aaf26edfe7d3d59c7d3ab67 /dev-python/pyopencl
parentdev-python/pymtp: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-8c912d54eaaf4e7d289f40683ae0bb6b340bf969.tar.gz
gentoo-8c912d54eaaf4e7d289f40683ae0bb6b340bf969.tar.bz2
gentoo-8c912d54eaaf4e7d289f40683ae0bb6b340bf969.zip
dev-python/pyopencl: 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/pyopencl')
-rw-r--r--dev-python/pyopencl/pyopencl-2017.2.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/pyopencl/pyopencl-2017.2.ebuild b/dev-python/pyopencl/pyopencl-2017.2.ebuild
index 16d173abc647..f27666755022 100644
--- a/dev-python/pyopencl/pyopencl-2017.2.ebuild
+++ b/dev-python/pyopencl/pyopencl-2017.2.ebuild
@@ -44,8 +44,9 @@ src_configure() {
python_install_all() {
if use examples; then
- local EXAMPLES=( examples/. )
- einfo "Some of the examples provided by this package require dev-python/matplotlib."
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
fi
+
distutils-r1_python_install_all
}