diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:55:55 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:55:55 +0100 |
commit | dbb6ac90532582a48e67aef9d482969ccea9a8d8 (patch) | |
tree | d0506f5ea110f1c41d3e55b8c79f64f42cac59ab /dev-python/apipkg | |
parent | app-text/pdfminer: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-dbb6ac90532582a48e67aef9d482969ccea9a8d8.tar.gz gentoo-dbb6ac90532582a48e67aef9d482969ccea9a8d8.tar.bz2 gentoo-dbb6ac90532582a48e67aef9d482969ccea9a8d8.zip |
dev-python/apipkg: 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/apipkg')
-rw-r--r-- | dev-python/apipkg/apipkg-1.4.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/apipkg/apipkg-1.4.ebuild b/dev-python/apipkg/apipkg-1.4.ebuild index 09ee8a513b92..b3a5ca20f45d 100644 --- a/dev-python/apipkg/apipkg-1.4.ebuild +++ b/dev-python/apipkg/apipkg-1.4.ebuild @@ -25,6 +25,11 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( example/. ) + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } |