1 |
commit: 6e77fafe2368893124a4d0b5d140572e544318b8 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 10:46:04 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 10:55:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e77fafe |
7 |
|
8 |
dev-python/pytest-xvfb: update EAPI 7 -> 8, enable py3.11, pep517 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild | 25 ++++++++++++++++++++++ |
13 |
1 file changed, 25 insertions(+) |
14 |
|
15 |
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 |
16 |
new file mode 100644 |
17 |
index 000000000000..1de8de0246d2 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild |
20 |
@@ -0,0 +1,25 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+PYTHON_REQ_USE="tk" |
27 |
+PYTHON_COMPAT=( python3_{8..11} ) |
28 |
+DISTUTILS_USE_PEP517=setuptools |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="A pytest plugin to run Xvfb for tests" |
32 |
+HOMEPAGE="https://pypi.org/project/pytest-xvfb/" |
33 |
+SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}] |
41 |
+ >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}] |
42 |
+ x11-base/xorg-server[xvfb] |
43 |
+" |
44 |
+ |
45 |
+distutils_enable_tests pytest |