1 |
commit: 8024ec5154cc897759379bde7b1dcb863843e6d4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 25 18:19:48 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 25 18:44:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8024ec51 |
7 |
|
8 |
dev-python/pytest-subtesthack: Enable py3.{7,8}, modernize |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild | 8 +++++--- |
13 |
1 file changed, 5 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild |
16 |
index 8de886930db..87ae193d067 100644 |
17 |
--- a/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild |
18 |
+++ b/dev-python/pytest-subtesthack/pytest-subtesthack-0.1.1.ebuild |
19 |
@@ -1,9 +1,11 @@ |
20 |
# Copyright 1999-2020 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=6 |
24 |
+EAPI=7 |
25 |
+ |
26 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
27 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
28 |
|
29 |
-PYTHON_COMPAT=( python3_6 ) |
30 |
inherit distutils-r1 |
31 |
|
32 |
DESCRIPTION="A hack for test fixtures, needed for hypothesis inside py.test" |
33 |
@@ -27,5 +29,5 @@ DEPEND="${RDEPEND} |
34 |
|
35 |
python_test() { |
36 |
distutils_install_for_testing |
37 |
- py.test -v || die "Tests fail with ${EPYTHON}" |
38 |
+ pytest -vv || die "Tests fail with ${EPYTHON}" |
39 |
} |