Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dbus-python/
Date: Tue, 24 Jul 2018 12:20:16
Message-Id: 1532434793.6fa1cc47a784fa68298e01fb431a02716336b226.mgorny@gentoo
1 commit: 6fa1cc47a784fa68298e01fb431a02716336b226
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 24 10:40:31 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 24 12:19:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa1cc47
7
8 dev-python/dbus-python: Modernize doc install
9
10 dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild | 7 ++-----
11 1 file changed, 2 insertions(+), 5 deletions(-)
12
13 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
14 index 7e79f79b6ff..a79c851ba44 100644
15 --- a/dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild
16 +++ b/dev-python/dbus-python/dbus-python-1.2.6-r2.ebuild
17 @@ -74,13 +74,10 @@ src_test() {
18 src_install() {
19 installing() {
20 default
21 - [[ ${EPYTHON/.*} = "python2" ]] && use doc && dohtml -r api/*
22 + [[ ${EPYTHON/.*} = "python2" ]] && use doc && dodoc -r api
23 }
24 python_foreach_impl run_in_build_dir installing
25 find "${D}" -name "*.la" -delete || die
26
27 - if use examples; then
28 - insinto /usr/share/doc/${PF}
29 - doins -r examples
30 - fi
31 + use examples && dodoc -r examples
32 }