summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:40 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:40 +0100
commita0056ffc2da6be01c99a1fb08c7968260280e8d1 (patch)
tree983ba1d0801e5d810bbaf13f8b05aa1d187b9ffc /dev-python/micawber
parentdev-python/mando: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-a0056ffc2da6be01c99a1fb08c7968260280e8d1.tar.gz
gentoo-a0056ffc2da6be01c99a1fb08c7968260280e8d1.tar.bz2
gentoo-a0056ffc2da6be01c99a1fb08c7968260280e8d1.zip
dev-python/micawber: 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/micawber')
-rw-r--r--dev-python/micawber/micawber-0.3.3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/micawber/micawber-0.3.3.ebuild b/dev-python/micawber/micawber-0.3.3.ebuild
index e49d553ef81b..3c3c076355b0 100644
--- a/dev-python/micawber/micawber-0.3.3.ebuild
+++ b/dev-python/micawber/micawber-0.3.3.ebuild
@@ -16,10 +16,14 @@ IUSE="examples"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-EXAMPLES=( examples/ )
PATCHES=( "${FILESDIR}"/${PN}-0.3.2-remove-examples-from-setup.py.patch ) #555250
python_install_all() {
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
dodoc -r docs
}