commit:     d0aa62f8e2540b8d4e6dde951b7415e0e5fbd7e3
Author:     Martin Gysel <me <AT> bearsh <DOT> org>
AuthorDate: Mon Jan 24 20:05:20 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 06:19:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0aa62f8

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

see also https://github.com/gentoo/gentoo/pull/23927

Signed-off-by: Martin Gysel <me <AT> bearsh.org>
Closes: https://github.com/gentoo/gentoo/pull/23887
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/git-cola/git-cola-3.12.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-vcs/git-cola/git-cola-3.12.0.ebuild 
b/dev-vcs/git-cola/git-cola-3.12.0.ebuild
index 1aa8af03490f..51817bdd4a3b 100644
--- a/dev-vcs/git-cola/git-cola-3.12.0.ebuild
+++ b/dev-vcs/git-cola/git-cola-3.12.0.ebuild
@@ -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