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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C33B158099 for ; Sat, 25 Nov 2023 16:14:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 674542BC04D; Sat, 25 Nov 2023 16:14:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4BF2B2BC04D for ; Sat, 25 Nov 2023 16:14:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89AA334027D for ; Sat, 25 Nov 2023 16:14:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED131A64 for ; Sat, 25 Nov 2023 16:14:26 +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: <1700928864.50edb13ea5920b231dc841b339a608b27c677d4b.mgorny@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-3.0.0.ebuild X-VCS-Directories: dev-python/pytest-xvfb/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 50edb13ea5920b231dc841b339a608b27c677d4b X-VCS-Branch: master Date: Sat, 25 Nov 2023 16:14:26 +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: eef6e837-496b-4874-9909-8b0900686a3a X-Archives-Hash: a2538e3b5cb0002e5236ad7812dd9c22 commit: 50edb13ea5920b231dc841b339a608b27c677d4b Author: Michał Górny gentoo org> AuthorDate: Sat Nov 25 16:13:31 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 25 16:14:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50edb13e dev-python/pytest-xvfb: Fix tests with random plugins Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild index 88cb81666803..d81d8ba05ccd 100644 --- a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild +++ b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild @@ -7,10 +7,14 @@ DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="tk" + inherit distutils-r1 pypi DESCRIPTION="Pytest plugin to run Xvfb for tests" -HOMEPAGE="https://pypi.org/project/pytest-xvfb/" +HOMEPAGE=" + https://github.com/The-Compiler/pytest-xvfb/ + https://pypi.org/project/pytest-xvfb/ +" LICENSE="MIT" SLOT="0" @@ -19,10 +23,13 @@ KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] dev-python/pyvirtualdisplay[${PYTHON_USEDEP}] - x11-base/xorg-server[xvfb]" + x11-base/xorg-server[xvfb] +" distutils_enable_tests pytest python_test() { - epytest -p xvfb --runpytest=subprocess + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_xvfb + epytest --runpytest=subprocess }