1 |
commit: 1116865cd30bd6f94b19cafc023877c9b2e6d4bc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 23 19:56:32 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 21:17:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1116865c |
7 |
|
8 |
dev-python/fields: Enable py3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/fields/fields-5.0.0-r2.ebuild | 12 ++++++------ |
13 |
1 file changed, 6 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/fields/fields-5.0.0-r2.ebuild b/dev-python/fields/fields-5.0.0-r2.ebuild |
16 |
index 15946a9d788..6beb01064bc 100644 |
17 |
--- a/dev-python/fields/fields-5.0.0-r2.ebuild |
18 |
+++ b/dev-python/fields/fields-5.0.0-r2.ebuild |
19 |
@@ -1,11 +1,9 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
-DISTUTILS_USE_SETUPTOOLS=bdepend |
27 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
28 |
- |
29 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
30 |
inherit distutils-r1 |
31 |
|
32 |
DESCRIPTION="Container class boilerplate killer" |
33 |
@@ -28,9 +26,11 @@ python_prepare_all() { |
34 |
sed -r \ |
35 |
-e "/--benchmark-disable/d" \ |
36 |
-e 's|\[pytest\]|\[tool:pytest\]|' \ |
37 |
- -e '/^[[:space:]]*--doctest-modules[[:space:]]*$/ d' \ |
38 |
-i setup.cfg || die |
39 |
|
40 |
- rm -rf tests/test_perf.py || die |
41 |
distutils-r1_python_prepare_all |
42 |
} |
43 |
+ |
44 |
+python_test() { |
45 |
+ epytest --ignore tests/test_perf.py tests |
46 |
+} |