1 |
commit: eb3a15f2348527a41e97c85452e01ed246ce4258 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 28 08:01:09 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 28 08:03:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb3a15f2 |
7 |
|
8 |
dev-python/setuptools: Reenable tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/725492 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/setuptools/setuptools-46.4.0-r1.ebuild | 19 ++++++------------- |
14 |
1 file changed, 6 insertions(+), 13 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/setuptools/setuptools-46.4.0-r1.ebuild b/dev-python/setuptools/setuptools-46.4.0-r1.ebuild |
17 |
index 3e7d069b4f8..07b818e2943 100644 |
18 |
--- a/dev-python/setuptools/setuptools-46.4.0-r1.ebuild |
19 |
+++ b/dev-python/setuptools/setuptools-46.4.0-r1.ebuild |
20 |
@@ -21,14 +21,12 @@ RESTRICT="!test? ( test )" |
21 |
BDEPEND=" |
22 |
app-arch/unzip |
23 |
test? ( |
24 |
- $(python_gen_cond_dep ' |
25 |
- dev-python/mock[${PYTHON_USEDEP}] |
26 |
- dev-python/pip[${PYTHON_USEDEP}] |
27 |
- >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
28 |
- dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
29 |
- dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
30 |
- dev-python/wheel[${PYTHON_USEDEP}] |
31 |
- ' python2_7 python3_{6,7,8} pypy3) |
32 |
+ dev-python/mock[${PYTHON_USEDEP}] |
33 |
+ dev-python/pip[${PYTHON_USEDEP}] |
34 |
+ >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}] |
35 |
+ dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
36 |
+ dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
37 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
38 |
$(python_gen_cond_dep ' |
39 |
dev-python/futures[${PYTHON_USEDEP}] |
40 |
' -2) |
41 |
@@ -65,11 +63,6 @@ python_prepare_all() { |
42 |
} |
43 |
|
44 |
python_test() { |
45 |
- if [[ ${EPYTHON} == python3.9 ]]; then |
46 |
- einfo "Tests are skipped on py3.9 due to unported deps" |
47 |
- return |
48 |
- fi |
49 |
- |
50 |
distutils_install_for_testing |
51 |
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
52 |
# It tries to sandbox the test in a tempdir |