dev-python/pyopencl: Replace distutils-r1 EXAMPLES use
authorDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:57:18 +0000 (10:57 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Mar 2020 09:57:18 +0000 (10:57 +0100)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/pyopencl/pyopencl-2017.2.ebuild

index 16d173abc647dbd25473218579e4af72a53aa710..f2766675502206b58777e27f040783f96aba9291 100644 (file)
@@ -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
 }