Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/manhole/
Date: Sun, 03 Oct 2021 22:55:36
Message-Id: 1633299757.649b6269243b88fc75ecba8a21d958d60637cdb7.Alessandro-Barbieri@gentoo
1 commit: 649b6269243b88fc75ecba8a21d958d60637cdb7
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 3 22:22:37 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Oct 3 22:22:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=649b6269
7
8 dev-python/manhole: EPYTEST_DESELECT
9
10 Package-Manager: Portage-3.0.26, Repoman-3.0.3
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 dev-python/manhole/manhole-1.8.0-r1.ebuild | 46 ++++++++++++++++++++++++++++
14 dev-python/manhole/manhole-1.8.0.ebuild | 49 ------------------------------
15 2 files changed, 46 insertions(+), 49 deletions(-)
16
17 diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild
18 new file mode 100644
19 index 000000000..a49107d05
20 --- /dev/null
21 +++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild
22 @@ -0,0 +1,46 @@
23 +# Copyright 1999-2021 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=8
27 +
28 +DISTUTILS_USE_SETUPTOOLS=rdepend
29 +EPYTEST_DESELECT=(
30 + "tests/test_manhole.py::test_non_daemon_connection"
31 + "tests/test_manhole.py::test_daemon_connection"
32 + "tests/test_manhole.py::test_uwsgi"
33 + "tests/test_manhole.py::test_fork_exec"
34 + "tests/test_manhole.py::test_connection_handler_exec[str]"
35 + "tests/test_manhole.py::test_connection_handler_exec[func]"
36 + "tests/test_manhole.py::test_environ_variable_activation"
37 + "tests/test_manhole.py::test_stderr_doesnt_deadlock"
38 + "tests/test_manhole_cli.py"
39 +)
40 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="Debugging manhole for python application"
45 +HOMEPAGE="
46 + https://github.com/ionelmc/python-manhole
47 + https://pypi.org/project/manhole
48 +"
49 +SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 +S="${WORKDIR}/python-${PN}-${PV}"
51 +
52 +LICENSE="BSD-2"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
55 +
56 +DEPEND="
57 + 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 'dev-python/eventlet[${PYTHON_USEDEP}]' python3.8 python3.9)
62 + )
63 +"
64 +
65 +DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
66 +
67 +distutils_enable_tests --install pytest
68 +distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
69
70 diff --git a/dev-python/manhole/manhole-1.8.0.ebuild b/dev-python/manhole/manhole-1.8.0.ebuild
71 deleted file mode 100644
72 index eae6b4e6c..000000000
73 --- a/dev-python/manhole/manhole-1.8.0.ebuild
74 +++ /dev/null
75 @@ -1,49 +0,0 @@
76 -# Copyright 1999-2021 Gentoo Authors
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=8
80 -
81 -PYTHON_COMPAT=( python3_{8..10} )
82 -DISTUTILS_USE_SETUPTOOLS=rdepend
83 -inherit distutils-r1
84 -
85 -DESCRIPTION="Debugging manhole for python application"
86 -HOMEPAGE="
87 - https://github.com/ionelmc/python-manhole
88 - https://pypi.org/project/manhole
89 -"
90 -SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
91 -S="${WORKDIR}/python-${PN}-${PV}"
92 -
93 -LICENSE="BSD-2"
94 -SLOT="0"
95 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
96 -
97 -BDEPEND="test? (
98 - dev-python/gevent[${PYTHON_USEDEP}]
99 - dev-python/process-tests[${PYTHON_USEDEP}]
100 - dev-python/requests[${PYTHON_USEDEP}]
101 - $(python_gen_cond_dep \
102 - 'dev-python/eventlet[${PYTHON_USEDEP}]' python3.8 python3.9)
103 -)"
104 -
105 -DOCS=( AUTHORS.rst CHANGELOG.rst README.rst )
106 -
107 -distutils_enable_tests --install pytest
108 -distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme
109 -
110 -python_test() {
111 - epytest_args=(
112 - --deselect tests/test_manhole.py::test_non_daemon_connection
113 - --deselect tests/test_manhole.py::test_daemon_connection
114 - --deselect tests/test_manhole.py::test_uwsgi
115 - --deselect tests/test_manhole.py::test_fork_exec
116 - --deselect tests/test_manhole.py::test_connection_handler_exec[str]
117 - --deselect tests/test_manhole.py::test_connection_handler_exec[func]
118 - --deselect tests/test_manhole.py::test_environ_variable_activation
119 - --deselect tests/test_manhole.py::test_stderr_doesnt_deadlock
120 - --deselect tests/test_manhole_cli.py
121 - )
122 -
123 - epytest "${epytest_args[@]}"
124 -}