1 |
commit: a24778ba62941ecabfe5459005cf003afb85163b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 30 19:41:02 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 30 19:45:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24778ba |
7 |
|
8 |
dev-python/socketpool: Enable py3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/socketpool/socketpool-0.5.3-r3.ebuild | 14 +++++++------- |
13 |
1 file changed, 7 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild |
16 |
index 9e39a53f35d..7ef6347c493 100644 |
17 |
--- a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild |
18 |
+++ b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild |
19 |
@@ -1,9 +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 |
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
27 |
+PYTHON_COMPAT=( python3_{7..10} pypy3 ) |
28 |
|
29 |
inherit distutils-r1 |
30 |
|
31 |
@@ -20,12 +20,12 @@ RDEPEND=" |
32 |
eventlet? ( |
33 |
$(python_gen_cond_dep ' |
34 |
dev-python/eventlet[${PYTHON_USEDEP}] |
35 |
- ' 'python3*') |
36 |
+ ' python3_{7..9}) |
37 |
) |
38 |
gevent? ( |
39 |
$(python_gen_cond_dep ' |
40 |
dev-python/gevent[${PYTHON_USEDEP}] |
41 |
- ' 'python*') |
42 |
+ ' python3_{7..9}) |
43 |
)" |
44 |
|
45 |
BDEPEND=" |
46 |
@@ -33,10 +33,10 @@ BDEPEND=" |
47 |
!alpha? ( !hppa? ( !ia64? ( |
48 |
$(python_gen_cond_dep ' |
49 |
dev-python/eventlet[${PYTHON_USEDEP}] |
50 |
- ' 'python3*') |
51 |
+ ' python3_{7..9}) |
52 |
$(python_gen_cond_dep ' |
53 |
dev-python/gevent[${PYTHON_USEDEP}] |
54 |
- ' 'python*') |
55 |
+ ' python3_{7..9}) |
56 |
) ) ) |
57 |
)" |
58 |
|
59 |
@@ -55,7 +55,7 @@ python_test() { |
60 |
cp -r examples tests "${BUILD_DIR}" || die |
61 |
|
62 |
pushd "${BUILD_DIR}" >/dev/null || die |
63 |
- pytest -vv tests || die "Tests fail with ${EPYTHON}" |
64 |
+ epytest tests |
65 |
popd >/dev/null || die |
66 |
} |