commit: e7360bf607ccc2598ae4967ba79a17d40b9ad65f Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> AuthorDate: Fri Dec 13 01:40:54 2024 +0000 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> CommitDate: Fri Dec 13 01:43:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7360bf6
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 <sbraz <AT> gentoo.org> 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 44b99aa93824..7a3347881883 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() {
