1 |
commit: ac25ebc123a22ec255b519099470336e55d41430 |
2 |
Author: Anna Vyalkova <cyber <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon May 3 19:27:27 2021 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Mon May 3 23:27:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac25ebc1 |
7 |
|
8 |
dev-python/manhole: fix tests and bump to 1.8.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/784041 |
11 |
Signed-off-by: Anna Vyalkova <cyber <AT> sysrq.in> |
12 |
|
13 |
dev-python/manhole/Manifest | 2 +- |
14 |
.../{manhole-1.6.0.ebuild => manhole-1.8.0.ebuild} | 20 ++++++++++++-------- |
15 |
2 files changed, 13 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/manhole/Manifest b/dev-python/manhole/Manifest |
18 |
index 2d8dd7fb8..940de3533 100644 |
19 |
--- a/dev-python/manhole/Manifest |
20 |
+++ b/dev-python/manhole/Manifest |
21 |
@@ -1 +1 @@ |
22 |
-DIST manhole-1.6.0.tar.gz 30111 BLAKE2B e6cffb465d72d579d3c901b5f163248ea28f3a208d2b487207a4f2d949994b7b778808b19a3bde0047bc71c2fe1865a12f9dcc5ac4f5407745879c8648df6c89 SHA512 179a87529e371c4480b6ab0ad6cc6cc9e3942f4be339cacaf1f1b100e447b8b1f2903a03879e9df3376c86ced4421aa5a16d934c9b250f91715b28d03dca000a |
23 |
+DIST manhole-1.8.0.tar.gz 30823 BLAKE2B 7de4966faaa5a386097d9e3015318f3df5422f9f4525347ea93bc1b3cc988236e2db9dcdf7c5e4f058ad816c74beebab210af65fd331e2347da9c05035a22128 SHA512 041452d602895f7ceaafc74ac50713acd470120b022a942946de83f90d2d839ee15b333dfc329f88597b13e0b3fee436af526beae95a3ff94e51376fd2cc27e6 |
24 |
|
25 |
diff --git a/dev-python/manhole/manhole-1.6.0.ebuild b/dev-python/manhole/manhole-1.8.0.ebuild |
26 |
similarity index 75% |
27 |
rename from dev-python/manhole/manhole-1.6.0.ebuild |
28 |
rename to dev-python/manhole/manhole-1.8.0.ebuild |
29 |
index 8c035eb8e..ff8d55f96 100644 |
30 |
--- a/dev-python/manhole/manhole-1.6.0.ebuild |
31 |
+++ b/dev-python/manhole/manhole-1.8.0.ebuild |
32 |
@@ -8,27 +8,29 @@ DISTUTILS_USE_SETUPTOOLS=rdepend |
33 |
|
34 |
inherit distutils-r1 |
35 |
|
36 |
-MYPN="python-${PN}" |
37 |
+MY_PN="python-${PN}" |
38 |
|
39 |
DESCRIPTION="Debugging manhole for python application" |
40 |
HOMEPAGE=" |
41 |
https://github.com/ionelmc/python-manhole |
42 |
- https://pypi.org/project/python-manhole |
43 |
+ https://pypi.org/project/manhole |
44 |
" |
45 |
-SRC_URI="https://github.com/ionelmc/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+SRC_URI="https://github.com/ionelmc/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
|
48 |
LICENSE="BSD-2" |
49 |
SLOT="0" |
50 |
KEYWORDS="~amd64 ~x86" |
51 |
|
52 |
-DEPEND="test? ( |
53 |
+DEPEND=" |
54 |
+ test? ( |
55 |
dev-python/eventlet[${PYTHON_USEDEP}] |
56 |
dev-python/gevent[${PYTHON_USEDEP}] |
57 |
dev-python/process-tests[${PYTHON_USEDEP}] |
58 |
dev-python/requests[${PYTHON_USEDEP}] |
59 |
-)" |
60 |
+ ) |
61 |
+" |
62 |
|
63 |
-S="${WORKDIR}/${MYPN}-${PV}" |
64 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
65 |
|
66 |
distutils_enable_tests pytest |
67 |
distutils_enable_sphinx docs \ |
68 |
@@ -36,13 +38,15 @@ distutils_enable_sphinx docs \ |
69 |
dev-python/sphinxcontrib-napoleon |
70 |
|
71 |
python_test() { |
72 |
- pytest -vv \ |
73 |
+ distutils_install_for_testing |
74 |
+ epytest \ |
75 |
--deselect tests/test_manhole.py::test_non_daemon_connection \ |
76 |
--deselect tests/test_manhole.py::test_daemon_connection \ |
77 |
--deselect tests/test_manhole.py::test_uwsgi \ |
78 |
--deselect tests/test_manhole.py::test_fork_exec \ |
79 |
--deselect tests/test_manhole.py::test_connection_handler_exec[str] \ |
80 |
--deselect tests/test_manhole.py::test_connection_handler_exec[func] \ |
81 |
- --deselect tests/test_manhole_cli.py::test_help || die |
82 |
+ --deselect tests/test_manhole.py::test_environ_variable_activation \ |
83 |
+ --deselect tests/test_manhole_cli.py::test_help |
84 |
|
85 |
} |