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

index 8227841674e727ac7ec353dcea64356dcb27019c..6aa45aad474e1aebd75b7bab2b3d87c28680b9d1 100644 (file)
@@ -24,7 +24,10 @@ RDEPEND="${DEPEND}"
 S=${WORKDIR}/${MY_P}
 
 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
 }