From 5039b2115bd52736d32f928dd9b9a4e9c02d8f9a651d5abc0402c5c32d052da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 26 Jan 2019 21:40:28 +0000 Subject: [PATCH] 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 --- pyflakes-2.0.0.tar.gz | 3 --- pyflakes-2.1.0.tar.gz | 3 +++ python-pyflakes.changes | 29 +++++++++++++++++++++++++++++ python-pyflakes.spec | 13 ++++++------- 4 files changed, 38 insertions(+), 10 deletions(-) delete mode 100644 pyflakes-2.0.0.tar.gz create mode 100644 pyflakes-2.1.0.tar.gz diff --git a/pyflakes-2.0.0.tar.gz b/pyflakes-2.0.0.tar.gz deleted file mode 100644 index cb92de8..0000000 --- a/pyflakes-2.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b356eff19126a49 -size 49002 diff --git a/pyflakes-2.1.0.tar.gz b/pyflakes-2.1.0.tar.gz new file mode 100644 index 0000000..6f28b30 --- /dev/null +++ b/pyflakes-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e8c00e30c464c99e0b501dc160b13a14af7f27d4dffb529c556e30a159e231d +size 56588 diff --git a/python-pyflakes.changes b/python-pyflakes.changes index 52d1218..a05aa70 100644 --- a/python-pyflakes.changes +++ b/python-pyflakes.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Sat Jan 26 17:37:43 UTC 2019 - Arun Persaud + +- 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 diff --git a/python-pyflakes.spec b/python-pyflakes.spec index 085b197..590acd1 100644 --- a/python-pyflakes.spec +++ b/python-pyflakes.spec @@ -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