dev-python/pyldap: fix examples install
authorMike Gilbert <floppym@gentoo.org>
Thu, 1 Jun 2017 23:59:18 +0000 (19:59 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 1 Jun 2017 23:59:54 +0000 (19:59 -0400)
Bug: https://bugs.gentoo.org/620300
Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

dev-python/pyldap/pyldap-2.4.28.ebuild

index 7689530164718d98127168e4a17a1c1647ac4769..a8f7d202a33b4e780ad14ef7171619af08838b53 100644 (file)
@@ -67,8 +67,10 @@ python_test() {
 }
 
 python_install_all() {
-       use examples && local EXAMPLES=( Demo/. )
        use doc && local HTML_DOCS=( Doc/.build/html/. )
-
        distutils-r1_python_install_all
+       if use examples; then
+               dodoc -r Demo
+               docompress -x /usr/share/doc/${PF}/Demo
+       fi
 }