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 6DCB51382C5 for ; Tue, 1 Dec 2020 10:32:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52C65E0857; Tue, 1 Dec 2020 10:32:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 1C22FE084E for ; Tue, 1 Dec 2020 10:32:10 +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 330073410D5 for ; Tue, 1 Dec 2020 10:32:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7169476 for ; Tue, 1 Dec 2020 10:32:07 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1606818713.9d4f780a50d64f19a1ce0c090de98bb04e24f3a3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flake8/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flake8/flake8-3.8.3-r1.ebuild X-VCS-Directories: dev-python/flake8/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9d4f780a50d64f19a1ce0c090de98bb04e24f3a3 X-VCS-Branch: master Date: Tue, 1 Dec 2020 10:32:07 +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: 5a6fde48-3f4d-40dd-ab5c-3b70985aaca0 X-Archives-Hash: af396f01d696dbe0a5e90375342594cc commit: 9d4f780a50d64f19a1ce0c090de98bb04e24f3a3 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 28 23:45:53 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Dec 1 10:31:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d4f780a dev-python/flake8: Use distutils_enable_tests --install Signed-off-by: Michał Górny gentoo.org> dev-python/flake8/flake8-3.8.3-r1.ebuild | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dev-python/flake8/flake8-3.8.3-r1.ebuild b/dev-python/flake8/flake8-3.8.3-r1.ebuild index 55e6d64f8d8..1bfc0de5354 100644 --- a/dev-python/flake8/flake8-3.8.3-r1.ebuild +++ b/dev-python/flake8/flake8-3.8.3-r1.ebuild @@ -38,10 +38,4 @@ BDEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${P}-pytest6.patch" ) distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme -distutils_enable_tests pytest - -python_test() { - # Otherwise some tests fail if the package isn't installed - distutils_install_for_testing - pytest -vv || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests --install pytest