summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}