1 |
commit: 018db33350b625d15e6d5db517e1cd019afbf80d |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon Oct 18 11:45:00 2021 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 18 11:45:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=018db333 |
7 |
|
8 |
dev-python/manhole: correct DISTUTILS_USE_SETUPTOOLS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/808699 |
11 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
12 |
|
13 |
dev-python/manhole/manhole-1.8.0-r1.ebuild | 43 +++++++++++++++--------------- |
14 |
1 file changed, 22 insertions(+), 21 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 a49107d05..191643bea 100644 |
18 |
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild |
19 |
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild |
20 |
@@ -3,18 +3,6 @@ |
21 |
|
22 |
EAPI=8 |
23 |
|
24 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
25 |
-EPYTEST_DESELECT=( |
26 |
- "tests/test_manhole.py::test_non_daemon_connection" |
27 |
- "tests/test_manhole.py::test_daemon_connection" |
28 |
- "tests/test_manhole.py::test_uwsgi" |
29 |
- "tests/test_manhole.py::test_fork_exec" |
30 |
- "tests/test_manhole.py::test_connection_handler_exec[str]" |
31 |
- "tests/test_manhole.py::test_connection_handler_exec[func]" |
32 |
- "tests/test_manhole.py::test_environ_variable_activation" |
33 |
- "tests/test_manhole.py::test_stderr_doesnt_deadlock" |
34 |
- "tests/test_manhole_cli.py" |
35 |
-) |
36 |
PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
|
38 |
inherit distutils-r1 |
39 |
@@ -25,22 +13,35 @@ HOMEPAGE=" |
40 |
https://pypi.org/project/manhole |
41 |
" |
42 |
SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
-S="${WORKDIR}/python-${PN}-${PV}" |
44 |
+S="${WORKDIR}/python-${P}" |
45 |
|
46 |
LICENSE="BSD-2" |
47 |
SLOT="0" |
48 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
49 |
|
50 |
-DEPEND=" |
51 |
- test? ( |
52 |
- dev-python/gevent[${PYTHON_USEDEP}] |
53 |
- dev-python/process-tests[${PYTHON_USEDEP}] |
54 |
- dev-python/requests[${PYTHON_USEDEP}] |
55 |
- $(python_gen_cond_dep 'dev-python/eventlet[${PYTHON_USEDEP}]' python3.8 python3.9) |
56 |
- ) |
57 |
+BDEPEND="test? ( |
58 |
+ dev-python/gevent[${PYTHON_USEDEP}] |
59 |
+ dev-python/process-tests[${PYTHON_USEDEP}] |
60 |
+ dev-python/requests[${PYTHON_USEDEP}] |
61 |
+ $(python_gen_cond_dep \ |
62 |
+ 'dev-python/eventlet[${PYTHON_USEDEP}]' \ |
63 |
+ python3.8 python3.9) |
64 |
+) |
65 |
" |
66 |
|
67 |
DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) |
68 |
|
69 |
-distutils_enable_tests --install pytest |
70 |
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
71 |
+distutils_enable_tests --install pytest |
72 |
+ |
73 |
+EPYTEST_DESELECT=( |
74 |
+ "tests/test_manhole.py::test_non_daemon_connection" |
75 |
+ "tests/test_manhole.py::test_daemon_connection" |
76 |
+ "tests/test_manhole.py::test_uwsgi" |
77 |
+ "tests/test_manhole.py::test_fork_exec" |
78 |
+ "tests/test_manhole.py::test_connection_handler_exec[str]" |
79 |
+ "tests/test_manhole.py::test_connection_handler_exec[func]" |
80 |
+ "tests/test_manhole.py::test_environ_variable_activation" |
81 |
+ "tests/test_manhole.py::test_stderr_doesnt_deadlock" |
82 |
+ "tests/test_manhole_cli.py" |
83 |
+) |