From 8b62b8d391bc4eccfc6775132c64e5a90fb63a11 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 17 Feb 2023 09:08:37 +0000 Subject: dev-python/pygccxml: skip pycodestyle tests Closes: https://bugs.gentoo.org/895074 Signed-off-by: Sam James --- dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dev-python/pygccxml') diff --git a/dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild b/dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild index 56110eb0d87b..b2466d83a688 100644 --- a/dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild +++ b/dev-python/pygccxml/pygccxml-2.2.1-r1.ebuild @@ -23,3 +23,11 @@ DEPEND="${RDEPEND}" distutils_enable_tests unittest distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_prepare_all() { + # We're not interested in linter tests in Gentoo, needs pycodestyle + rm unittests/pep8_tester.py || die + sed -i -e '/pep8_tester/d' unittests/test_all.py || die + + distutils-r1_python_prepare_all +} -- cgit v1.2.3-65-gdbad