commit: 6fa1cc47a784fa68298e01fb431a02716336b226
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 24 10:40:31 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 24 12:19:53 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa1cc47
dev-python/dbus-python: Modernize doc install
dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild
b/dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild
index 7e79f79b6ff..a79c851ba44 100644
--- a/dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild
+++ b/dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild
@@ -74,13 +74,10 @@ src_test() {
src_install() {
installing() {
default
- [[ ${EPYTHON/.*} = "python2" ]] && use doc && dohtml -r api/*
+ [[ ${EPYTHON/.*} = "python2" ]] && use doc && dodoc -r api
}
python_foreach_impl run_in_build_dir installing
find "${D}" -name "*.la" -delete || die
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
+ use examples && dodoc -r examples
}