commit:     6e77fafe2368893124a4d0b5d140572e544318b8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  1 10:46:04 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun  1 10:55:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e77fafe

dev-python/pytest-xvfb: update EAPI 7 -> 8, enable py3.11, pep517

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
new file mode 100644
index 000000000000..1de8de0246d2
--- /dev/null
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_REQ_USE="tk"
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="A pytest plugin to run Xvfb for tests"
+HOMEPAGE="https://pypi.org/project/pytest-xvfb/";
+SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+       >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
+       >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
+       x11-base/xorg-server[xvfb]
+"
+
+distutils_enable_tests pytest

Reply via email to