commit:     5c9177bc9fb059a7bcd026b2ec52053c79846d2b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  1 07:03:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr  1 07:03:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9177bc

dev-python/pyflakes: Bump to 3.3.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyflakes/Manifest              |  1 +
 dev-python/pyflakes/pyflakes-3.3.2.ebuild | 47 +++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/pyflakes/Manifest b/dev-python/pyflakes/Manifest
index eb7a1060863b..da9da06e35b5 100644
--- a/dev-python/pyflakes/Manifest
+++ b/dev-python/pyflakes/Manifest
@@ -1,3 +1,4 @@
 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
+DIST pyflakes-3.3.2.tar.gz 64175 BLAKE2B 
d1fe4713ce62e3cce0f54724113546c8025457b09ad2d20176f011de8654f48b24981aa7ecfddb3ab3fc65b8f974411560be78cfc319c45f15acb14020d0866a
 SHA512 
1cf65584e77a70a17dea0b66dc3e4e4a202cf6501f0209025eac2ce34925e229b28b6a66e09c536692a6ce5ce895c5b7451dbd6b44dd77994e4c0701653c6251

diff --git a/dev-python/pyflakes/pyflakes-3.3.2.ebuild 
b/dev-python/pyflakes/pyflakes-3.3.2.ebuild
new file mode 100644
index 000000000000..5f1098eb4c7e
--- /dev/null
+++ b/dev-python/pyflakes/pyflakes-3.3.2.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
+}

Reply via email to