1 |
commit: cc61be582964252d30c272be493136391dbf9d9f |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 1 23:59:18 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 1 23:59:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc61be58 |
7 |
|
8 |
dev-python/pyldap: fix examples install |
9 |
|
10 |
Bug: https://bugs.gentoo.org/620300 |
11 |
Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69 |
12 |
|
13 |
dev-python/pyldap/pyldap-2.4.28.ebuild | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pyldap/pyldap-2.4.28.ebuild b/dev-python/pyldap/pyldap-2.4.28.ebuild |
17 |
index 76895301647..a8f7d202a33 100644 |
18 |
--- a/dev-python/pyldap/pyldap-2.4.28.ebuild |
19 |
+++ b/dev-python/pyldap/pyldap-2.4.28.ebuild |
20 |
@@ -67,8 +67,10 @@ python_test() { |
21 |
} |
22 |
|
23 |
python_install_all() { |
24 |
- use examples && local EXAMPLES=( Demo/. ) |
25 |
use doc && local HTML_DOCS=( Doc/.build/html/. ) |
26 |
- |
27 |
distutils-r1_python_install_all |
28 |
+ if use examples; then |
29 |
+ dodoc -r Demo |
30 |
+ docompress -x /usr/share/doc/${PF}/Demo |
31 |
+ fi |
32 |
} |