commit:     5c13687575b70fdba9b0978c63efaca007dcb5a8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 15:18:54 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 22:09:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c136875

dev-vcs/git-cola: Disable pytest-flake8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-vcs/git-cola/git-cola-3.11.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-vcs/git-cola/git-cola-3.11.0.ebuild 
b/dev-vcs/git-cola/git-cola-3.11.0.ebuild
index 1aa8af03490f..ebab708004f6 100644
--- a/dev-vcs/git-cola/git-cola-3.11.0.ebuild
+++ b/dev-vcs/git-cola/git-cola-3.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -34,7 +34,6 @@ BDEPEND="sys-devel/gettext
                test? (
                        ${VIRTUALX_DEPEND}
                        dev-python/pytest[\${PYTHON_USEDEP}]
-                       dev-python/pytest-flake8[\${PYTHON_USEDEP}]
                        dev-python/mock[\${PYTHON_USEDEP}]
                        dev-python/PyQt5[\${PYTHON_USEDEP},gui,widgets]
                )
@@ -58,6 +57,9 @@ python_prepare_all() {
        # fix ssh-askpass directory reference
        sed -i -e 's/resources\.share/resources\.prefix/' cola/app.py || die
 
+       # disable flake8 testing, it's not useful for ebuilds
+       sed -i -e 's:--flake8::' pytest.ini || die
+
        distutils-r1_python_prepare_all
 }
 

Reply via email to