summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:43 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:43 +0100
commit4b2504bd115a46b43c4df651f3feb01f0bec4677 (patch)
tree5147690d14645c54c405a40f834f952ac8a2d982 /dev-python/nose-testconfig
parentdev-python/micawber: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-4b2504bd115a46b43c4df651f3feb01f0bec4677.tar.gz
gentoo-4b2504bd115a46b43c4df651f3feb01f0bec4677.tar.bz2
gentoo-4b2504bd115a46b43c4df651f3feb01f0bec4677.zip
dev-python/nose-testconfig: 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/nose-testconfig')
-rw-r--r--dev-python/nose-testconfig/nose-testconfig-0.10.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/nose-testconfig/nose-testconfig-0.10.ebuild b/dev-python/nose-testconfig/nose-testconfig-0.10.ebuild
index e407d8216df4..0c1423677c53 100644
--- a/dev-python/nose-testconfig/nose-testconfig-0.10.ebuild
+++ b/dev-python/nose-testconfig/nose-testconfig-0.10.ebuild
@@ -20,6 +20,10 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DOCS=( docs/index.txt )
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
}