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 8E410138334 for ; Mon, 8 Apr 2019 19:16:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD71AE099B; Mon, 8 Apr 2019 19:16:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 A5E7AE099B for ; Mon, 8 Apr 2019 19:16:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 37D57335D36 for ; Mon, 8 Apr 2019 19:16:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A370B5A1 for ; Mon, 8 Apr 2019 19:16:48 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1554750978.6334fb0c2c6ed9dc4efb5e82169c4f2a3407a78d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/workerpool/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/workerpool/workerpool-0.9.4.ebuild X-VCS-Directories: dev-python/workerpool/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 6334fb0c2c6ed9dc4efb5e82169c4f2a3407a78d X-VCS-Branch: master Date: Mon, 8 Apr 2019 19:16:48 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 58cfbced-dde4-4a69-a8c7-cf2b6bb9b378 X-Archives-Hash: 222285a46a28001883db7bbd52215431 commit: 6334fb0c2c6ed9dc4efb5e82169c4f2a3407a78d Author: David Seifert gentoo org> AuthorDate: Mon Apr 8 19:16:18 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Mon Apr 8 19:16:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6334fb0c dev-python/workerpool: [QA] Call distutils-r1_python_install_all * Also remove USE=examples, as it was completely broken. Closes: https://bugs.gentoo.org/682648 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: David Seifert gentoo.org> dev-python/workerpool/workerpool-0.9.4.ebuild | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/dev-python/workerpool/workerpool-0.9.4.ebuild b/dev-python/workerpool/workerpool-0.9.4.ebuild index 84dc0f5b229..05004de15b0 100644 --- a/dev-python/workerpool/workerpool-0.9.4.ebuild +++ b/dev-python/workerpool/workerpool-0.9.4.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 + PYTHON_COMPAT=( python2_7 pypy ) inherit distutils-r1 @@ -13,20 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test examples" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="" DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" python_test() { nosetests -v test || die } - -python_install_all() { - if use examples; then - docompress -x usr/share/doc/${P}/samples - insinto usr/share/doc/${P}/ - doins -r samples - fi -}