1 |
commit: 07cb63a1c6ccd046d33c27d5b7e7d6d708878744 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 27 08:42:07 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 27 08:42:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cb63a1 |
7 |
|
8 |
dev-python/pyhamcrest: Port to py39 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild | 8 ++++---- |
13 |
1 file changed, 4 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild b/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild |
16 |
index 46bbf1b22e5..6c7080cb324 100644 |
17 |
--- a/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild |
18 |
+++ b/dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) |
24 |
+PYTHON_COMPAT=( python2_7 python3_{6..9} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -21,9 +21,9 @@ IUSE="examples test" |
29 |
RESTRICT="!test? ( test )" |
30 |
|
31 |
RDEPEND=">=dev-python/six-1.4[${PYTHON_USEDEP}]" |
32 |
-DEPEND="${RDEPEND} |
33 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
34 |
+DEPEND=" |
35 |
test? ( |
36 |
+ ${RDEPEND} |
37 |
>=dev-python/pytest-2.6[${PYTHON_USEDEP}] |
38 |
dev-python/mock[${PYTHON_USEDEP}] |
39 |
)" |
40 |
@@ -50,7 +50,7 @@ python_prepare_all() { |
41 |
} |
42 |
|
43 |
python_test() { |
44 |
- py.test -vv || die "Tests failed under ${EPYTHON}" |
45 |
+ pytest -vv || die "Tests failed under ${EPYTHON}" |
46 |
"${EPYTHON}" tests/object_import.py || die "Tests failed under ${EPYTHON}" |
47 |
} |