summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:31 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:31 +0100
commitd52e13f11af10628d4b1bf0ec05222f48882f3f5 (patch)
treebd7833b8c3c7f35dcfabf78a95039b7a750a4b94 /dev-python
parentdev-python/jpype: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-d52e13f11af10628d4b1bf0ec05222f48882f3f5.tar.gz
gentoo-d52e13f11af10628d4b1bf0ec05222f48882f3f5.tar.bz2
gentoo-d52e13f11af10628d4b1bf0ec05222f48882f3f5.zip
dev-python/kid: 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')
-rw-r--r--dev-python/kid/kid-0.9.6-r1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-python/kid/kid-0.9.6-r1.ebuild b/dev-python/kid/kid-0.9.6-r1.ebuild
index 6a1ce66efaae..49769fe16155 100644
--- a/dev-python/kid/kid-0.9.6-r1.ebuild
+++ b/dev-python/kid/kid-0.9.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -34,7 +34,10 @@ python_install_all() {
# dobin bin/*
use doc && local HTML_DOCS=( doc/html/. )
- 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
}