dev-python/clint: Install examples properly
authorMikle Kolyada <zlogene@gentoo.org>
Mon, 19 Mar 2018 16:50:21 +0000 (19:50 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Mon, 19 Mar 2018 16:50:51 +0000 (19:50 +0300)
Closes: https://bugs.gentoo.org/648520
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-python/clint/clint-0.5.1.ebuild

index a7d30299689d085ac527ee3e033ab1bf6b5858c1..31d0ad0583a313046d8311fd5189b26e9650a657 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,7 +32,10 @@ python_test() {
 
 python_install_all() {
        use doc && local HTML_DOCS=( docs/_build/html/. )
-       use examples && local EXAMPLES=( examples/. )
+       if use examples; then
+               insinto /usr/share/doc/${PF}
+               doins -r examples
+       fi
 
        distutils-r1_python_install_all
 }