1 |
commit: d0aa62f8e2540b8d4e6dde951b7415e0e5fbd7e3 |
2 |
Author: Martin Gysel <me <AT> bearsh <DOT> org> |
3 |
AuthorDate: Mon Jan 24 20:05:20 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 06:19:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0aa62f8 |
7 |
|
8 |
dev-vcs/git-cola: Disable pytest-flake8 |
9 |
|
10 |
see also https://github.com/gentoo/gentoo/pull/23927 |
11 |
|
12 |
Signed-off-by: Martin Gysel <me <AT> bearsh.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/23887 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-vcs/git-cola/git-cola-3.12.0.ebuild | 4 +++- |
17 |
1 file changed, 3 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-vcs/git-cola/git-cola-3.12.0.ebuild b/dev-vcs/git-cola/git-cola-3.12.0.ebuild |
20 |
index 1aa8af03490f..51817bdd4a3b 100644 |
21 |
--- a/dev-vcs/git-cola/git-cola-3.12.0.ebuild |
22 |
+++ b/dev-vcs/git-cola/git-cola-3.12.0.ebuild |
23 |
@@ -34,7 +34,6 @@ BDEPEND="sys-devel/gettext |
24 |
test? ( |
25 |
${VIRTUALX_DEPEND} |
26 |
dev-python/pytest[\${PYTHON_USEDEP}] |
27 |
- dev-python/pytest-flake8[\${PYTHON_USEDEP}] |
28 |
dev-python/mock[\${PYTHON_USEDEP}] |
29 |
dev-python/PyQt5[\${PYTHON_USEDEP},gui,widgets] |
30 |
) |
31 |
@@ -58,6 +57,9 @@ python_prepare_all() { |
32 |
# fix ssh-askpass directory reference |
33 |
sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die |
34 |
|
35 |
+ # disable flake8 testing, it's not useful for ebuilds |
36 |
+ sed -i -e 's:--flake8::' pytest.ini || die |
37 |
+ |
38 |
distutils-r1_python_prepare_all |
39 |
} |