1 |
commit: 393b8cf31c1b79b3c923413b9661d40df7c8f828 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 13 20:19:40 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 14 13:58:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393b8cf3 |
7 |
|
8 |
dev-python/pytest-xvfb: enable py3.10, cleanup python_test |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/22284 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild | 13 ++----------- |
14 |
1 file changed, 2 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild |
17 |
index dd8953d8bdb..efd50e3c0ec 100644 |
18 |
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild |
19 |
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
EAPI=7 |
22 |
|
23 |
PYTHON_REQ_USE="tk" |
24 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
25 |
+PYTHON_COMPAT=( python3_{8..10} ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
@@ -22,13 +22,4 @@ RDEPEND=" |
30 |
x11-base/xorg-server[xvfb] |
31 |
" |
32 |
|
33 |
-distutils_enable_tests pytest |
34 |
- |
35 |
-python_test() { |
36 |
- local -x PYTHONPATH="${BUILD_DIR}/install/lib" |
37 |
- esetup.py install \ |
38 |
- --root="${BUILD_DIR}/install" \ |
39 |
- --install-lib=lib |
40 |
- |
41 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
42 |
-} |
43 |
+distutils_enable_tests --install pytest |