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 00BF8158012 for ; Tue, 14 Sep 2021 13:59:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31BABE09AD; Tue, 14 Sep 2021 13:58:57 +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-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B027E09AD for ; Tue, 14 Sep 2021 13:58:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA4D8342FC2 for ; Tue, 14 Sep 2021 13:58:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93041EE for ; Tue, 14 Sep 2021 13:58:53 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1631627903.393b8cf31c1b79b3c923413b9661d40df7c8f828.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xvfb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild X-VCS-Directories: dev-python/pytest-xvfb/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 393b8cf31c1b79b3c923413b9661d40df7c8f828 X-VCS-Branch: master Date: Tue, 14 Sep 2021 13:58:53 +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: b86d252e-693a-468a-aaef-909b819db7d5 X-Archives-Hash: 109fb99d9b63c79c912cf7f52c431095 commit: 393b8cf31c1b79b3c923413b9661d40df7c8f828 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Sep 13 20:19:40 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Sep 14 13:58:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393b8cf3 dev-python/pytest-xvfb: enable py3.10, cleanup python_test Closes: https://github.com/gentoo/gentoo/pull/22284 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild index dd8953d8bdb..efd50e3c0ec 100644 --- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild +++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 PYTHON_REQ_USE="tk" -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -22,13 +22,4 @@ RDEPEND=" x11-base/xorg-server[xvfb] " -distutils_enable_tests pytest - -python_test() { - local -x PYTHONPATH="${BUILD_DIR}/install/lib" - esetup.py install \ - --root="${BUILD_DIR}/install" \ - --install-lib=lib - - pytest -vv || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests --install pytest