diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:56:34 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:56:34 +0100 |
commit | 5a61b8d862b0d8bda196ae98ea922727f6d2f443 (patch) | |
tree | ec71ec32019a94263c5693e653e4e5421e743ac5 /dev-python/livereload | |
parent | dev-python/kid: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-5a61b8d862b0d8bda196ae98ea922727f6d2f443.tar.gz gentoo-5a61b8d862b0d8bda196ae98ea922727f6d2f443.tar.bz2 gentoo-5a61b8d862b0d8bda196ae98ea922727f6d2f443.zip |
dev-python/livereload: 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/livereload')
-rw-r--r-- | dev-python/livereload/livereload-2.4.1.ebuild | 6 | ||||
-rw-r--r-- | 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 } |