summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-20 10:56:46 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-20 10:56:46 +0100
commit1754004d27f53b6b31d8f37fc67e8fce50cc85ad (patch)
tree7c49d22fead4b19be128429eb2acb3bc49002940 /dev-python/pkginfo
parentdev-python/nose-testconfig: Replace distutils-r1 EXAMPLES use (diff)
downloadgentoo-1754004d27f53b6b31d8f37fc67e8fce50cc85ad.tar.gz
gentoo-1754004d27f53b6b31d8f37fc67e8fce50cc85ad.tar.bz2
gentoo-1754004d27f53b6b31d8f37fc67e8fce50cc85ad.zip
dev-python/pkginfo: 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/pkginfo')
-rw-r--r--dev-python/pkginfo/pkginfo-1.2.1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/pkginfo/pkginfo-1.2.1.ebuild b/dev-python/pkginfo/pkginfo-1.2.1.ebuild
index 3ca490f830dc..52800837a32d 100644
--- a/dev-python/pkginfo/pkginfo-1.2.1.ebuild
+++ b/dev-python/pkginfo/pkginfo-1.2.1.ebuild
@@ -42,6 +42,10 @@ python_test() {
python_install_all() {
use doc && local HTML_DOCS=( docs/.build/html/. )
- use examples && local EXAMPLES=( docs/examples/. )
+ if use examples; then
+ dodoc -r docs/examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
}