summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:55 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:55 +0100
commit8471300b8cc5dcfe567c7b0cba947f394fe28ca8 (patch)
treead7b160fbdb95050639daffa02f2d67e4dcf713a /dev-python/pybluez
parentdev-python/pyalsaaudio: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-8471300b8cc5dcfe567c7b0cba947f394fe28ca8.tar.gz
gentoo-8471300b8cc5dcfe567c7b0cba947f394fe28ca8.tar.bz2
gentoo-8471300b8cc5dcfe567c7b0cba947f394fe28ca8.zip
dev-python/pybluez: 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/pybluez')
-rw-r--r--dev-python/pybluez/pybluez-0.18-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/pybluez/pybluez-0.18-r1.ebuild b/dev-python/pybluez/pybluez-0.18-r1.ebuild
index 8227841674e7..6aa45aad474e 100644
--- a/dev-python/pybluez/pybluez-0.18-r1.ebuild
+++ b/dev-python/pybluez/pybluez-0.18-r1.ebuild
@@ -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
}