commit:     eedb0630896fdef5ac99ac028b92cf05577dac83
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 05:36:29 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 06:03:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eedb0630

dev-python/pytest-xvfb: add 3.1.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/pytest-xvfb/Manifest                 |  1 +
 dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild | 30 +++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/pytest-xvfb/Manifest b/dev-python/pytest-xvfb/Manifest
index 707a7f4647a3..afd78111f093 100644
--- a/dev-python/pytest-xvfb/Manifest
+++ b/dev-python/pytest-xvfb/Manifest
@@ -1 +1,2 @@
 DIST pytest-xvfb-3.0.0.tar.gz 8607 BLAKE2B 
a1256b121a66c0b778a45f695754363ec241699197000f6237473dc2d54c0eeff499722073b00280ca242d695c192ff4fd985931a42bbb52a0f8e2424867b60a
 SHA512 
9aec1681656badf81fbac3a0d621b163810001e155a1cb8fd35e0f8c8d3ee52556e622adc0468d8e7455b15ba0f5103622fae1aa2493a7053ca78f092e582cf1
+DIST pytest_xvfb-3.1.1.tar.gz 9022 BLAKE2B 
22615f066e3e92604416cd0f04c2556ee8807529408e5268826a065a728b18bbe8ace2f540d7c16ad6450dced4c02b50b84da58008040bcabf0cb37883647b0d
 SHA512 
703a8523e6d496d1bddb9dafbc594c180fa5647903cba71a6ab561ba40184d2ce9c54e5b1f3122d14575216e4d55bccef14f0241810f48bb870b2dc410b9f3ab

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
new file mode 100644
index 000000000000..e847b57bcb89
--- /dev/null
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="tk"
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pytest plugin to run Xvfb for tests"
+HOMEPAGE="https://github.com/The-Compiler/pytest-xvfb/";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+       dev-python/pytest[${PYTHON_USEDEP}]
+       dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
+       x11-base/xorg-server[xvfb]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       local -x PYTEST_PLUGINS=pytest_xvfb
+       epytest
+}

Reply via email to