1 |
commit: 9f2ce690d3f794135872703f85365ffec5c3dc30 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon Dec 6 09:18:43 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Mon Dec 6 10:19:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9f2ce690 |
7 |
|
8 |
dev-python/manhole: distutils_install_for_testing |
9 |
|
10 |
Closes: https://bugs.gentoo.org/828022 |
11 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
12 |
|
13 |
dev-python/manhole/manhole-1.8.0-r1.ebuild | 12 +++++++----- |
14 |
1 file changed, 7 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild |
17 |
index 4497fdc9a..dfdfad7db 100644 |
18 |
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild |
19 |
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild |
20 |
@@ -32,26 +32,28 @@ BDEPEND="test? ( |
21 |
DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) |
22 |
|
23 |
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
24 |
-distutils_enable_tests --install pytest |
25 |
+distutils_enable_tests pytest |
26 |
|
27 |
python_test() { |
28 |
+ distutils_install_for_testing |
29 |
+ |
30 |
local -x PYTHONPATH="${S}/src:${PYTHONPATH}" |
31 |
local EPYTEST_DESELECT=( |
32 |
tests/test_manhole.py::test_connection_handler_exec |
33 |
tests/test_manhole.py::test_non_daemon_connection |
34 |
tests/test_manhole.py::test_daemon_connection |
35 |
+ tests/test_manhole.py::test_environ_variable_activation |
36 |
tests/test_manhole.py::test_fork_exec |
37 |
tests/test_manhole.py::test_uwsgi |
38 |
tests/test_manhole_cli.py::test_help |
39 |
- ) |
40 |
|
41 |
- # usually passes but sometimes fails (bug #792225) |
42 |
- EPYTEST_DESELECT+=( tests/test_manhole.py::test_stderr_doesnt_deadlock ) |
43 |
+ # usually passes but sometimes fails (bug #792225) |
44 |
+ tests/test_manhole.py::test_stderr_doesnt_deadlock |
45 |
+ ) |
46 |
|
47 |
if [[ ${EPYTHON} == pypy3 ]]; then |
48 |
EPYTEST_DESELECT+=( |
49 |
tests/test_manhole.py::test_log_fh |
50 |
- tests/test_manhole.py::test_environ_variable_activation |
51 |
) |
52 |
fi |