From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F8951382C5 for ; Mon, 26 Mar 2018 10:10:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56BC8E086A; Mon, 26 Mar 2018 10:09:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D51DE086A for ; Mon, 26 Mar 2018 10:09:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B61C2335C2E for ; Mon, 26 Mar 2018 10:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2909259 for ; Mon, 26 Mar 2018 10:09:55 +0000 (UTC) From: "Maxim Koltsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maxim Koltsov" Message-ID: <1522058951.85db31f0291b8a329e26a9535e8e4733eab3de85.maksbotan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/socketpool/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/socketpool/socketpool-0.5.3.ebuild X-VCS-Directories: dev-python/socketpool/ X-VCS-Committer: maksbotan X-VCS-Committer-Name: Maxim Koltsov X-VCS-Revision: 85db31f0291b8a329e26a9535e8e4733eab3de85 X-VCS-Branch: master Date: Mon, 26 Mar 2018 10:09:55 +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: 2938d56b-e47c-4952-9a12-15a1336a37d0 X-Archives-Hash: 6d0929f1d9ca32ef60d1eee928a03b0a commit: 85db31f0291b8a329e26a9535e8e4733eab3de85 Author: Maxim Koltsov gentoo org> AuthorDate: Mon Mar 26 10:09:11 2018 +0000 Commit: Maxim Koltsov gentoo org> CommitDate: Mon Mar 26 10:09:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85db31f0 dev-python/socketpool: fix EXAMPLES in EAPI 6 Also don't install unneeded files in /usr/socketpool Closes: https://bugs.gentoo.org/651064 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-python/socketpool/socketpool-0.5.3.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/socketpool/socketpool-0.5.3.ebuild b/dev-python/socketpool/socketpool-0.5.3.ebuild index 60c307504a9..e73308b6f45 100644 --- a/dev-python/socketpool/socketpool-0.5.3.ebuild +++ b/dev-python/socketpool/socketpool-0.5.3.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 @@ -26,6 +26,12 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( examples/. ) + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi distutils-r1_python_install_all + + # package installs unneeded LICENSE files here + rm -rf "${ED}"/usr/socketpool || die }