Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-cola/
Date: Mon, 24 Jan 2022 22:14:16
Message-Id: 1643062179.5c13687575b70fdba9b0978c63efaca007dcb5a8.mgorny@gentoo
1 commit: 5c13687575b70fdba9b0978c63efaca007dcb5a8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 23 15:18:54 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 24 22:09:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c136875
7
8 dev-vcs/git-cola: Disable pytest-flake8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-vcs/git-cola/git-cola-3.11.0.ebuild | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-vcs/git-cola/git-cola-3.11.0.ebuild b/dev-vcs/git-cola/git-cola-3.11.0.ebuild
16 index 1aa8af03490f..ebab708004f6 100644
17 --- a/dev-vcs/git-cola/git-cola-3.11.0.ebuild
18 +++ b/dev-vcs/git-cola/git-cola-3.11.0.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=8
25 @@ -34,7 +34,6 @@ BDEPEND="sys-devel/gettext
26 test? (
27 ${VIRTUALX_DEPEND}
28 dev-python/pytest[\${PYTHON_USEDEP}]
29 - dev-python/pytest-flake8[\${PYTHON_USEDEP}]
30 dev-python/mock[\${PYTHON_USEDEP}]
31 dev-python/PyQt5[\${PYTHON_USEDEP},gui,widgets]
32 )
33 @@ -58,6 +57,9 @@ python_prepare_all() {
34 # fix ssh-askpass directory reference
35 sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die
36
37 + # disable flake8 testing, it's not useful for ebuilds
38 + sed -i -e 's:--flake8::' pytest.ini || die
39 +
40 distutils-r1_python_prepare_all
41 }