1 |
commit: a4cf4a7f9d1a9ea0eb425d663e4894687f7093c3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 11:09:34 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 11:09:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cf4a7f |
7 |
|
8 |
dev-python/hatchling: Enable tests on pypy3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hatchling/hatchling-0.22.0.ebuild | 23 ++++++++--------------- |
13 |
1 file changed, 8 insertions(+), 15 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/hatchling/hatchling-0.22.0.ebuild b/dev-python/hatchling/hatchling-0.22.0.ebuild |
16 |
index be8f4b765bce..ccb3b007747a 100644 |
17 |
--- a/dev-python/hatchling/hatchling-0.22.0.ebuild |
18 |
+++ b/dev-python/hatchling/hatchling-0.22.0.ebuild |
19 |
@@ -35,15 +35,13 @@ RDEPEND=" |
20 |
BDEPEND=" |
21 |
${RDEPEND} |
22 |
test? ( |
23 |
- $(python_gen_cond_dep ' |
24 |
- dev-python/atomicwrites[${PYTHON_USEDEP}] |
25 |
- dev-python/click[${PYTHON_USEDEP}] |
26 |
- dev-python/httpx[${PYTHON_USEDEP}] |
27 |
- dev-python/platformdirs[${PYTHON_USEDEP}] |
28 |
- dev-python/rich[${PYTHON_USEDEP}] |
29 |
- dev-python/tomli-w[${PYTHON_USEDEP}] |
30 |
- dev-python/virtualenv[${PYTHON_USEDEP}] |
31 |
- ' 'python*') |
32 |
+ dev-python/atomicwrites[${PYTHON_USEDEP}] |
33 |
+ dev-python/click[${PYTHON_USEDEP}] |
34 |
+ dev-python/httpx[${PYTHON_USEDEP}] |
35 |
+ dev-python/platformdirs[${PYTHON_USEDEP}] |
36 |
+ dev-python/rich[${PYTHON_USEDEP}] |
37 |
+ dev-python/tomli-w[${PYTHON_USEDEP}] |
38 |
+ dev-python/virtualenv[${PYTHON_USEDEP}] |
39 |
) |
40 |
" |
41 |
|
42 |
@@ -56,11 +54,6 @@ python_compile() { |
43 |
} |
44 |
|
45 |
python_test() { |
46 |
- if [[ ${EPYTHON} != python* ]]; then |
47 |
- einfo "Skipping tests on ${EPYTHON}" |
48 |
- return |
49 |
- fi |
50 |
- |
51 |
local -x EPYTEST_DESELECT=( |
52 |
# these run pip to install stuff |
53 |
tests/backend/dep/test_core.py::test_dependency_found |
54 |
@@ -75,5 +68,5 @@ python_test() { |
55 |
# and hatchling |
56 |
cd "${WORKDIR}/${MY_P}" || die |
57 |
local -x PYTHONPATH="src:${PYTHONPATH}" |
58 |
- epytest -x tests/backend |
59 |
+ epytest tests/backend |
60 |
} |