Accepting request 929017 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/929017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2021-11-06 17:13:21 +00:00 committed by Git OBS Bridge
commit d5f561efbc
4 changed files with 14 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5bc8ecabc05bb9d291eb5203d6810b49040f6ff446a756326104746cc00c1db
size 68567

3
pyflakes-2.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c
size 69101

View File

@ -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 <dmueller@suse.com>

View File

@ -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