commit:     9392c7fa82bd89278b231f8517688c98c080d18c
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 16:50:21 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 16:50:51 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9392c7fa

dev-python/clint: Install examples properly

Closes: https://bugs.gentoo.org/648520
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/clint/clint-0.5.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/clint/clint-0.5.1.ebuild 
b/dev-python/clint/clint-0.5.1.ebuild
index a7d30299689..31d0ad0583a 100644
--- a/dev-python/clint/clint-0.5.1.ebuild
+++ b/dev-python/clint/clint-0.5.1.ebuild
@@ -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
 }

Reply via email to