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

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

Signed-off-by: Martin Gysel <me@bearsh.org>
Closes: https://github.com/gentoo/gentoo/pull/23887
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Martin Gysel
2022-01-24 21:05:20 +01:00
committed by Sam James
parent 4a60b4b2e9
commit d0aa62f8e2

View File

@@ -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
}