forked from pool/python-pyflakes
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:
committed by
Git OBS Bridge
parent
da4ff236f4
commit
c89c1fc744
@@ -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
3
pyflakes-2.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:05a85c2872edf37a4ed30b0cce2f6093e1d0581f8c19d7393122da7e25b2b24c
|
||||||
|
size 69101
|
@@ -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>
|
Sun May 9 14:45:39 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -17,9 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
|
||||||
Name: python-pyflakes
|
Name: python-pyflakes
|
||||||
Version: 2.3.1
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Passive checker of Python programs
|
Summary: Passive checker of Python programs
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -52,10 +51,8 @@ modules with side effects. It's also much faster.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/pyflakes/
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/pyflakes/
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pyflakes
|
%python_clone -a %{buildroot}%{_bindir}/pyflakes
|
||||||
|
|
||||||
%if %{with test}
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pyunittest discover -v
|
||||||
%endif
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative pyflakes
|
%python_install_alternative pyflakes
|
||||||
|
Reference in New Issue
Block a user