summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gysel <me@bearsh.org>2022-01-24 21:05:20 +0100
committerSam James <sam@gentoo.org>2022-01-29 06:19:22 +0000
commitd0aa62f8e2540b8d4e6dde951b7415e0e5fbd7e3 (patch)
tree9d49521a3df92a0cbac4e39854c13bebd319a755 /dev-vcs/git-cola
parentdev-vcs/git-cola: version bump to 3.12.0 (diff)
downloadgentoo-d0aa62f8e2540b8d4e6dde951b7415e0e5fbd7e3.tar.gz
gentoo-d0aa62f8e2540b8d4e6dde951b7415e0e5fbd7e3.tar.bz2
gentoo-d0aa62f8e2540b8d4e6dde951b7415e0e5fbd7e3.zip
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>
Diffstat (limited to 'dev-vcs/git-cola')
-rw-r--r--dev-vcs/git-cola/git-cola-3.12.0.ebuild4
1 files changed, 3 insertions, 1 deletions
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
}