1 |
commit: c27c4e59f67a9751d838dd97d40b2c4f02c2680e |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sun Jun 5 00:20:41 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Sun Jun 5 06:12:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c27c4e59 |
7 |
|
8 |
dev-python/manhole: PEP517 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/manhole/Manifest | 2 +- |
13 |
dev-python/manhole/manhole-1.8.0-r1.ebuild | 14 ++++---------- |
14 |
2 files changed, 5 insertions(+), 11 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/manhole/Manifest b/dev-python/manhole/Manifest |
17 |
index 940de3533..b710026eb 100644 |
18 |
--- a/dev-python/manhole/Manifest |
19 |
+++ b/dev-python/manhole/Manifest |
20 |
@@ -1 +1 @@ |
21 |
-DIST manhole-1.8.0.tar.gz 30823 BLAKE2B 7de4966faaa5a386097d9e3015318f3df5422f9f4525347ea93bc1b3cc988236e2db9dcdf7c5e4f058ad816c74beebab210af65fd331e2347da9c05035a22128 SHA512 041452d602895f7ceaafc74ac50713acd470120b022a942946de83f90d2d839ee15b333dfc329f88597b13e0b3fee436af526beae95a3ff94e51376fd2cc27e6 |
22 |
+DIST manhole-1.8.0.gh.tar.gz 30823 BLAKE2B 7de4966faaa5a386097d9e3015318f3df5422f9f4525347ea93bc1b3cc988236e2db9dcdf7c5e4f058ad816c74beebab210af65fd331e2347da9c05035a22128 SHA512 041452d602895f7ceaafc74ac50713acd470120b022a942946de83f90d2d839ee15b333dfc329f88597b13e0b3fee436af526beae95a3ff94e51376fd2cc27e6 |
23 |
|
24 |
diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild |
25 |
index 94e34d898..c16056549 100644 |
26 |
--- a/dev-python/manhole/manhole-1.8.0-r1.ebuild |
27 |
+++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild |
28 |
@@ -4,7 +4,7 @@ |
29 |
EAPI=8 |
30 |
|
31 |
PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
32 |
- |
33 |
+DISTUTILS_USE_PEP517=setuptools |
34 |
inherit distutils-r1 |
35 |
|
36 |
DESCRIPTION="Debugging manhole for python application" |
37 |
@@ -12,7 +12,7 @@ HOMEPAGE=" |
38 |
https://github.com/ionelmc/python-manhole |
39 |
https://pypi.org/project/manhole/ |
40 |
" |
41 |
-SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
43 |
S="${WORKDIR}/python-${P}" |
44 |
|
45 |
LICENSE="BSD-2" |
46 |
@@ -35,8 +35,6 @@ distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
47 |
distutils_enable_tests pytest |
48 |
|
49 |
python_test() { |
50 |
- distutils_install_for_testing |
51 |
- |
52 |
local -x PYTHONPATH="${S}/src:${PYTHONPATH}" |
53 |
local EPYTEST_DESELECT=( |
54 |
tests/test_manhole.py::test_connection_handler_exec |
55 |
@@ -51,11 +49,7 @@ python_test() { |
56 |
tests/test_manhole.py::test_stderr_doesnt_deadlock |
57 |
) |
58 |
|
59 |
- if [[ ${EPYTHON} == pypy3 ]]; then |
60 |
- EPYTEST_DESELECT+=( |
61 |
- tests/test_manhole.py::test_log_fh |
62 |
- ) |
63 |
- fi |
64 |
+ [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( tests/test_manhole.py::test_log_fh ) |
65 |
|
66 |
- epytest |
67 |
+ distutils-r1_python_test |
68 |
} |