1 |
commit: 9d4f780a50d64f19a1ce0c090de98bb04e24f3a3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 23:45:53 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 10:31:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d4f780a |
7 |
|
8 |
dev-python/flake8: Use distutils_enable_tests --install |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flake8/flake8-3.8.3-r1.ebuild | 8 +------- |
13 |
1 file changed, 1 insertion(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/flake8/flake8-3.8.3-r1.ebuild b/dev-python/flake8/flake8-3.8.3-r1.ebuild |
16 |
index 55e6d64f8d8..1bfc0de5354 100644 |
17 |
--- a/dev-python/flake8/flake8-3.8.3-r1.ebuild |
18 |
+++ b/dev-python/flake8/flake8-3.8.3-r1.ebuild |
19 |
@@ -38,10 +38,4 @@ BDEPEND="${RDEPEND} |
20 |
PATCHES=( "${FILESDIR}/${P}-pytest6.patch" ) |
21 |
|
22 |
distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme |
23 |
-distutils_enable_tests pytest |
24 |
- |
25 |
-python_test() { |
26 |
- # Otherwise some tests fail if the package isn't installed |
27 |
- distutils_install_for_testing |
28 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
29 |
-} |
30 |
+distutils_enable_tests --install pytest |