Accepting request 668823 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/668823 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=44
This commit is contained in:
parent
9a84ee3138
commit
5039b2115b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b356eff19126a49
|
||||
size 49002
|
3
pyflakes-2.1.0.tar.gz
Normal file
3
pyflakes-2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5e8c00e30c464c99e0b501dc160b13a14af7f27d4dffb529c556e30a159e231d
|
||||
size 56588
|
@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 26 17:37:43 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* update copyright year
|
||||
* renamed NEWS.txt -> NEWS.rst
|
||||
|
||||
- update to version 2.1.0:
|
||||
* Allow intentional assignment to variables named _
|
||||
* Recognize __module__ as a valid name in class scope
|
||||
* pyflakes.checker.Checker supports checking of partial ast trees
|
||||
* Detect assign-before-use for local variables which shadow builtin
|
||||
names
|
||||
* Detect invalid print syntax using >> operator
|
||||
* Treat async for the same as a for loop for introducing variables
|
||||
* Add detection for list concatenation in __all__
|
||||
* Exempt @typing.overload from duplicate function declaration
|
||||
* Importing a submodule of an as-aliased import-import is marked as
|
||||
used
|
||||
* Report undefined names from __all__ as possibly coming from a *
|
||||
import
|
||||
* Add support for changes in Python 3.8-dev
|
||||
* Add support for PEP 563 (from __future__ import annotations)
|
||||
* Include Python version and platform information in pyflakes
|
||||
--version
|
||||
* Recognize __annotations__ as a valid magic global in Python 3.6+
|
||||
* Mark names used in PEP 484 # type: ... comments as used
|
||||
* Add check for use of is operator with str, bytes, and int literals
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 15:07:24 UTC 2018 - t.gruner@katodev.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyflakes
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,19 +12,19 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-pyflakes
|
||||
Version: 2.0.0
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Url: https://github.com/PyCQA/pyflakes
|
||||
Summary: Passive checker of Python programs
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/PyCQA/pyflakes
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyflakes/pyflakes-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@ -34,7 +34,6 @@ Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -65,8 +64,8 @@ modules with side effects. It's also much faster.
|
||||
%python_uninstall_alternative pyflakes
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE NEWS.txt README.rst AUTHORS
|
||||
%license LICENSE
|
||||
%doc NEWS.rst README.rst AUTHORS
|
||||
%python_alternative %{_bindir}/pyflakes
|
||||
%{python_sitelib}/pyflakes/
|
||||
%{python_sitelib}/pyflakes-%{version}-py*.egg-info
|
||||
|
Loading…
Reference in New Issue
Block a user