diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-03-31 08:07:09 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-03-31 09:10:07 +0200 |
| commit | d0f9066daee30fa106e8a37640be99281f40b310 (patch) | |
| tree | 2d818f9784fb0dbe18de23497041d90e8df22d69 /dev-python | |
| parent | f65a4b42d2cb232e3a611f94d904883c6752004f (diff) | |
| download | gentoo-d0f9066daee30fa106e8a37640be99281f40b310.tar.gz gentoo-d0f9066daee30fa106e8a37640be99281f40b310.tar.bz2 gentoo-d0f9066daee30fa106e8a37640be99281f40b310.zip | |
dev-python/pyflakes: Bump to 3.3.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pyflakes/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyflakes/pyflakes-3.3.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pyflakes/Manifest b/dev-python/pyflakes/Manifest index bd86616ab3ea..eb7a1060863b 100644 --- a/dev-python/pyflakes/Manifest +++ b/dev-python/pyflakes/Manifest @@ -1,2 +1,3 @@ DIST pyflakes-3.2.0.tar.gz 63788 BLAKE2B 12547bc1ef69d11efb86198c091072085df8a5435608aace18eab9da92b428980ad62fc4b7b6e182bee7963c511b637c17191db9138fc811256f553b902dbd66 SHA512 bd413b2ad80ae942bc13cef5ecb3a47b09abb0641fe468d427717b32895eb1702c9e8831867fbaa1de6fff71ab16bc3dae96f745bbc3e7d99de104a008f397ba DIST pyflakes-3.3.0.tar.gz 64021 BLAKE2B e516b08a03b97f5b04377cb34b403c01259463199a84d8ae555fa42fadf7f6bbecf56662814535876173d81e9b789a9ba514f78701ce8f2f535d5094b807398b SHA512 8f22aff3cdac803e4ffc93a0da8317625d624c23ad53428148c9579c3b61b4838b5c1a2c7835c5005d6f73dfa75fb9fb1038e6b55e01c55f2b81d550ad677157 +DIST pyflakes-3.3.1.tar.gz 64135 BLAKE2B e4a28b909446441b19ab5ed11165f0b596d4c9a4595fb7115cddc74c7d0585c07e8dda0a0c0be542892fb31c18ebd9b7eeb0beab1728c9cd2e4dc1ffc71cc148 SHA512 3cbee3b6b18909c6fc18539141068261745c7ca2d3966c79244b5077f0750356ca19dc4b0a112c37f554320f4cd38589fdfdf41683565106915ee7b97b896790 diff --git a/dev-python/pyflakes/pyflakes-3.3.1.ebuild b/dev-python/pyflakes/pyflakes-3.3.1.ebuild new file mode 100644 index 000000000000..5f1098eb4c7e --- /dev/null +++ b/dev-python/pyflakes/pyflakes-3.3.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Passive checker for Python programs" +HOMEPAGE=" + https://github.com/PyCQA/pyflakes/ + https://pypi.org/project/pyflakes/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3*) + # regressions with pypy3.10 + # https://github.com/PyCQA/pyflakes/issues/779 + EPYTEST_DESELECT+=( + pyflakes/test/test_api.py::CheckTests::test_eofSyntaxError + pyflakes/test/test_api.py::CheckTests::test_misencodedFileUTF8 + pyflakes/test/test_api.py::CheckTests::test_multilineSyntaxError + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # failing due to improved error message + # https://github.com/PyCQA/pyflakes/issues/812 + pyflakes/test/test_api.py::IntegrationTests::test_errors_syntax + pyflakes/test/test_api.py::TestMain::test_errors_syntax + ) + ;; + esac + + local -X PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
