From 5a61b8d862b0d8bda196ae98ea922727f6d2f443 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 20 Mar 2020 10:56:34 +0100 Subject: [PATCH] dev-python/livereload: Replace distutils-r1 EXAMPLES use Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- dev-python/livereload/livereload-2.4.1.ebuild | 6 +++++- dev-python/livereload/livereload-2.5.2.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-python/livereload/livereload-2.4.1.ebuild b/dev-python/livereload/livereload-2.4.1.ebuild index e79f6070944f..f0ee8033d667 100644 --- a/dev-python/livereload/livereload-2.4.1.ebuild +++ b/dev-python/livereload/livereload-2.4.1.ebuild @@ -33,7 +33,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 } diff --git a/dev-python/livereload/livereload-2.5.2.ebuild b/dev-python/livereload/livereload-2.5.2.ebuild index eb41b1617613..487fd52dd92b 100644 --- a/dev-python/livereload/livereload-2.5.2.ebuild +++ b/dev-python/livereload/livereload-2.5.2.ebuild @@ -33,7 +33,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 } -- 2.26.2