commit: a5ef1eb188701d6924e2cfa2e48a2c8da995c4cc
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 20 09:57:30 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 09:57:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ef1eb1
dev-python/restkit: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-python/restkit/restkit-4.2.2.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-python/restkit/restkit-4.2.2.ebuild
b/dev-python/restkit/restkit-4.2.2.ebuild
index 3f05d766057..ba931dd23c9 100644
--- a/dev-python/restkit/restkit-4.2.2.ebuild
+++ b/dev-python/restkit/restkit-4.2.2.ebuild
@@ -46,6 +46,10 @@ python_test() {
python_install_all() {
use cli || rm "${D}"/usr/bin/restcli* || die
use doc && local HTML_DOCS=( doc/_build/html/. )
- use examples && local EXAMPLES=( examples/. )
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
distutils-r1_python_install_all
}