mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-python/pytest-xvfb: add 3.1.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
30
dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
Normal file
30
dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user