From e7360bf607ccc2598ae4967ba79a17d40b9ad65f Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Fri, 13 Dec 2024 02:40:54 +0100 Subject: [PATCH] www-misc/urlwatch: fix selectors to skip pycodestyle tests The test suite has changed since 2.28 and the previous exclusion no longer works. Closes: https://bugs.gentoo.org/946328 Signed-off-by: Louis Sautier --- www-misc/urlwatch/urlwatch-2.29.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www-misc/urlwatch/urlwatch-2.29.ebuild b/www-misc/urlwatch/urlwatch-2.29.ebuild index 44b99aa938245..7a33478818837 100644 --- a/www-misc/urlwatch/urlwatch-2.29.ebuild +++ b/www-misc/urlwatch/urlwatch-2.29.ebuild @@ -42,12 +42,15 @@ DOCS=( CHANGELOG.md README.md ) distutils_enable_sphinx docs/source dev-python/alabaster distutils_enable_tests pytest +EPYTEST_IGNORE=( + # Skip code quality check + "lib/urlwatch/tests/test_pep8.py" +) + EPYTEST_DESELECT=( # Require the pdftotext module "lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test.pdf]" "lib/urlwatch/tests/test_filter_documentation.py::test_url[https://example.net/pdf-test-password.pdf]" - # Skip code quality check - "lib/urlwatch/tests/test_handler.py::test_pep8_conformance" ) pkg_postinst() {