diff --git a/pyflakes-2.3.1.tar.gz b/pyflakes-2.3.1.tar.gz deleted file mode 100644 index d99e57a..0000000 --- a/pyflakes-2.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5bc8ecabc05bb9d291eb5203d6810b49040f6ff446a756326104746cc00c1db -size 68567 diff --git a/pyflakes-2.4.0.tar.gz b/pyflakes-2.4.0.tar.gz new file mode 100644 index 0000000..d68c346 --- /dev/null +++ b/pyflakes-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c +size 69101 diff --git a/python-pyflakes.changes b/python-pyflakes.changes index 51a21ab..79f4de1 100644 --- a/python-pyflakes.changes +++ b/python-pyflakes.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Nov 3 09:33:27 UTC 2021 - pgajdos@suse.com + +- version update to 2.4.0 + - Remove unused tracing code (``traceTree``) + - Add support for ``match`` statement + - Detect ``typing`` module attributes when imported with ``import ... as ...`` +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sun May 9 14:45:39 UTC 2021 - Dirk Müller diff --git a/python-pyflakes.spec b/python-pyflakes.spec index 2697e6c..ff71a87 100644 --- a/python-pyflakes.spec +++ b/python-pyflakes.spec @@ -17,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-pyflakes -Version: 2.3.1 +Version: 2.4.0 Release: 0 Summary: Passive checker of Python programs License: MIT @@ -52,10 +51,8 @@ modules with side effects. It's also much faster. %python_expand %fdupes %{buildroot}%{$python_sitelib}/pyflakes/ %python_clone -a %{buildroot}%{_bindir}/pyflakes -%if %{with test} %check -%python_exec setup.py test -%endif +%pyunittest discover -v %post %python_install_alternative pyflakes