1 |
commit: fec3a1ebbe1b74519bbb910e6d436f079694602f |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 11:44:47 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 12:12:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec3a1eb |
7 |
|
8 |
dev-python/numpydoc: enable py3.10, cleaner test deselect |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/numpydoc/numpydoc-1.1.0.ebuild | 14 +++++++------- |
13 |
1 file changed, 7 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/numpydoc/numpydoc-1.1.0.ebuild b/dev-python/numpydoc/numpydoc-1.1.0.ebuild |
16 |
index ff388752840..5693d12146f 100644 |
17 |
--- a/dev-python/numpydoc/numpydoc-1.1.0.ebuild |
18 |
+++ b/dev-python/numpydoc/numpydoc-1.1.0.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{7..9} ) |
24 |
+PYTHON_COMPAT=( python3_{8..10} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -30,14 +30,14 @@ distutils_enable_tests pytest |
29 |
src_prepare() { |
30 |
sed -i -e 's:--cov-report= --cov=numpydoc::' setup.cfg || die |
31 |
|
32 |
- # these require Internet (intersphinx) |
33 |
- sed -e 's:test_MyClass:_&:' \ |
34 |
- -e 's:test_my_function:_&:' \ |
35 |
- -i numpydoc/tests/test_full.py || die |
36 |
- |
37 |
distutils-r1_src_prepare |
38 |
} |
39 |
|
40 |
python_test() { |
41 |
- pytest -vv --pyargs numpydoc || die "Tests failed with ${EPYTHON}" |
42 |
+ local EPYTEST_DESELECT=( |
43 |
+ # these require Internet (intersphinx) |
44 |
+ numpydoc/tests/test_full.py::test_MyClass |
45 |
+ numpydoc/tests/test_full.py::test_my_function |
46 |
+ ) |
47 |
+ epytest --pyargs numpydoc |
48 |
} |