diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:00 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:57:00 +0100 |
commit | 57b66bba2a9f877e4204368e60de32a938cca71e (patch) | |
tree | 8d61ad12e710f3ef40ad89796b13f0de15e8313c /dev-python/pycxx | |
parent | dev-python/pycurl: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-57b66bba2a9f877e4204368e60de32a938cca71e.tar.gz gentoo-57b66bba2a9f877e4204368e60de32a938cca71e.tar.bz2 gentoo-57b66bba2a9f877e4204368e60de32a938cca71e.zip |
dev-python/pycxx: 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/pycxx')
-rw-r--r-- | dev-python/pycxx/pycxx-6.2.6.ebuild | 7 | ||||
-rw-r--r-- | dev-python/pycxx/pycxx-7.1.2.ebuild | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/pycxx/pycxx-6.2.6.ebuild b/dev-python/pycxx/pycxx-6.2.6.ebuild index c90dbab688d3..1baa0be8acc3 100644 --- a/dev-python/pycxx/pycxx-6.2.6.ebuild +++ b/dev-python/pycxx/pycxx-6.2.6.ebuild @@ -31,6 +31,11 @@ python_prepare_all() { python_install_all() { use doc && local HTML_DOCS=( Doc/. ) - use examples && local EXAMPLES=( Demo/Python{2,3}/. ) + if use examples; then + docinto examples + dodoc -r Demo/Python{2,3}/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } diff --git a/dev-python/pycxx/pycxx-7.1.2.ebuild b/dev-python/pycxx/pycxx-7.1.2.ebuild index d9581f73d9f4..9e61adbe736c 100644 --- a/dev-python/pycxx/pycxx-7.1.2.ebuild +++ b/dev-python/pycxx/pycxx-7.1.2.ebuild @@ -25,6 +25,11 @@ python_prepare_all() { python_install_all() { use doc && local HTML_DOCS=( Doc/. ) - use examples && local EXAMPLES=( Demo/Python{2,3}/. ) + if use examples; then + docinto examples + dodoc -r Demo/Python{2,3}/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all } |