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 1aa8af03490fd..51817bdd4a3b6 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 }