From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 11C6B1388C1 for ; Wed, 2 Mar 2016 07:37:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D25B21C00B; Wed, 2 Mar 2016 07:37:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0332E21C00B for ; Wed, 2 Mar 2016 07:37:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B81AB340890 for ; Wed, 2 Mar 2016 07:37:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E55E018A6 for ; Wed, 2 Mar 2016 07:37:45 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1456903644.149e7feec61c28a2bde72b8d1856444b06123655.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/colorama/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/colorama/colorama-0.3.6-r1.ebuild X-VCS-Directories: dev-python/colorama/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 149e7feec61c28a2bde72b8d1856444b06123655 X-VCS-Branch: master Date: Wed, 2 Mar 2016 07:37:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 88cd04fe-ca4c-4753-a0ec-b3d870cbf396 X-Archives-Hash: b290118239d08edb48eb113a892d70d3 commit: 149e7feec61c28a2bde72b8d1856444b06123655 Author: Andrey Grozin gentoo org> AuthorDate: Wed Mar 2 07:27:24 2016 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Mar 2 07:27:24 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=149e7fee dev-python/colorama: fix install with USE=examples Bug: 575896 Package-Manager: portage-2.2.27 dev-python/colorama/colorama-0.3.6-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-python/colorama/colorama-0.3.6-r1.ebuild b/dev-python/colorama/colorama-0.3.6-r1.ebuild index 7cc8884..8083466 100644 --- a/dev-python/colorama/colorama-0.3.6-r1.ebuild +++ b/dev-python/colorama/colorama-0.3.6-r1.ebuild @@ -22,6 +22,11 @@ IUSE="examples" PATCHES=( "${FILESDIR}"/${P}.patch ) python_install_all() { - use examples && local EXAMPLES=( demos/. ) distutils-r1_python_install_all + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r demos/. + docompress -x /usr/share/doc/${PF}/examples + fi }