mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user