1 |
commit: eb7b5f3225404a80c2a773ac9188b42d674a7e3e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 06:40:45 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 07:21:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb7b5f32 |
7 |
|
8 |
dev-python/subprocess-tee: Enable testing on py3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild | 11 +---------- |
13 |
1 file changed, 1 insertion(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild |
16 |
index 80f643d8365..c715a596b1a 100644 |
17 |
--- a/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild |
18 |
+++ b/dev-python/subprocess-tee/subprocess-tee-0.3.5.ebuild |
19 |
@@ -14,28 +14,19 @@ LICENSE="MIT" |
20 |
SLOT="0" |
21 |
KEYWORDS="~amd64" |
22 |
IUSE="test-full" |
23 |
- |
24 |
REQUIRED_USE="test-full? ( test )" |
25 |
|
26 |
# ansible-molecule is invoked as an executable so no need for PYTHON_USEDEP |
27 |
BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] |
28 |
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] |
29 |
test? ( |
30 |
- $(python_gen_cond_dep ' |
31 |
- dev-python/enrich[${PYTHON_USEDEP}] |
32 |
- ' python3_{8,9}) |
33 |
+ dev-python/enrich[${PYTHON_USEDEP}] |
34 |
test-full? ( app-admin/ansible-molecule ) |
35 |
)" |
36 |
|
37 |
distutils_enable_tests pytest |
38 |
|
39 |
-# dev-python/{,en}rich ebuilds do not support python3_10 yet. |
40 |
-# We test fine (modulo some deprecation warnings) against 3.10 under tox, though. |
41 |
python_test() { |
42 |
- if [[ ${EPYTHON} == "python3.10" ]]; then |
43 |
- ewarn "Skipping tests for ${EPYTHON} due to missing dependencies" |
44 |
- return 0 |
45 |
- fi |
46 |
if ! use test-full; then |
47 |
local -x EPYTEST_DESELECT=( "src/${PN/-/_}/test/test_func.py::test_molecule" ) |
48 |
fi |