diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:21 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:21 +0100 |
commit | 5dcefb7b0320323d43c1090ecccdfecf9f4e7f41 (patch) | |
tree | b35129173688500b61aabee6783dc732172fefb8 /dev-python/pysvn | |
parent | dev-python/pyopencl: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-5dcefb7b0320323d43c1090ecccdfecf9f4e7f41.tar.gz gentoo-5dcefb7b0320323d43c1090ecccdfecf9f4e7f41.tar.bz2 gentoo-5dcefb7b0320323d43c1090ecccdfecf9f4e7f41.zip |
dev-python/pysvn: 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/pysvn')
-rw-r--r-- | dev-python/pysvn/pysvn-1.8.0.ebuild | 7 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.9.11.ebuild | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/pysvn/pysvn-1.8.0.ebuild b/dev-python/pysvn/pysvn-1.8.0.ebuild index e5d65aa19fa9..f64c4e01c59c 100644 --- a/dev-python/pysvn/pysvn-1.8.0.ebuild +++ b/dev-python/pysvn/pysvn-1.8.0.ebuild @@ -54,6 +54,11 @@ python_install() { python_install_all() { use doc && local HTML_DOCS=( Docs/. ) - use examples && local EXAMPLES=( Examples/Client/. ) + if use examples; then + docinto examples + dodoc -r Examples/Client/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } diff --git a/dev-python/pysvn/pysvn-1.9.11.ebuild b/dev-python/pysvn/pysvn-1.9.11.ebuild index 2e18b73b9b47..1f1576d73835 100644 --- a/dev-python/pysvn/pysvn-1.9.11.ebuild +++ b/dev-python/pysvn/pysvn-1.9.11.ebuild @@ -54,6 +54,11 @@ python_install() { python_install_all() { use doc && local HTML_DOCS=( Docs/. ) - use examples && local EXAMPLES=( Examples/Client/. ) + if use examples; then + docinto examples + dodoc -r Examples/Client/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } |