14
0

Accepting request 928976 from home:pgajdos:python

- 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

OBS-URL: https://build.opensuse.org/request/show/928976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=55
This commit is contained in:
John Vandenberg
2021-11-03 12:35:45 +00:00
committed by Git OBS Bridge
parent da4ff236f4
commit c89c1fc744
4 changed files with 14 additions and 8 deletions

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