From 06d6f7139f56fb5ce630bc72f0b23a856f1a1070ab781377a8099daeab1cbe18 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 11 Apr 2014 19:50:21 +0000 Subject: [PATCH] Accepting request 229773 from home:TheBlackCat:branches:devel:languages:python Update to 0.8.1 OBS-URL: https://build.opensuse.org/request/show/229773 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyflakes?expand=0&rev=24 --- pyflakes-0.7.3.tar.gz | 3 --- pyflakes-0.8.1.tar.gz | 3 +++ python-pyflakes.changes | 28 ++++++++++++++++++++++++++++ python-pyflakes.spec | 11 +++++------ 4 files changed, 36 insertions(+), 9 deletions(-) delete mode 100644 pyflakes-0.7.3.tar.gz create mode 100644 pyflakes-0.8.1.tar.gz diff --git a/pyflakes-0.7.3.tar.gz b/pyflakes-0.7.3.tar.gz deleted file mode 100644 index 4042e3d..0000000 --- a/pyflakes-0.7.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dbd2c940a1030a4f811afc1a04017a44011c0cb54f8f384b66aa624097d9b5e3 -size 30551 diff --git a/pyflakes-0.8.1.tar.gz b/pyflakes-0.8.1.tar.gz new file mode 100644 index 0000000..e6758c6 --- /dev/null +++ b/pyflakes-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fa80a10b36d51686bf7744f5dc99622cd5c98ce8ed64022e629868aafc17769 +size 32981 diff --git a/python-pyflakes.changes b/python-pyflakes.changes index 27894d5..016f00d 100644 --- a/python-pyflakes.changes +++ b/python-pyflakes.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Fri Apr 11 19:17:34 UTC 2014 - toddrme2178@gmail.com + +- Update to 0.8.1: + - Detect the declared encoding in Python 3. + - Do not report redefinition of import in a local scope, if the + global name is used elsewhere in the module. + - Catch undefined variable in loop generator when it is also used as + loop variable. + - Report undefined name for `(a, b) = (1, 2)` but not for the general + unpacking `(a, b) = func()`. + - Correctly detect when an imported module is used in default arguments + of a method, when the method and the module use the same name. + - Distribute a universal wheel file. +- Update to 0.8.0: + - Adapt for the AST in Python 3.4. + - Fix caret position on SyntaxError. + - Fix crash on Python 2.x with some doctest SyntaxError. + - Add tox.ini. + - The `PYFLAKES_NODOCTEST` environment variable has been replaced with the + `PYFLAKES_DOCTEST` environment variable (with the opposite meaning). + Doctest checking is now disabled by default; set the environment variable + to enable it. + - Correctly parse incremental `__all__ += [...]`. + - Catch return with arguments inside a generator (Python <= 3.2). + - Do not complain about `_` in doctests. + - Drop deprecated methods `pushFunctionScope` and `pushClassScope`. + ------------------------------------------------------------------- Tue Nov 19 15:43:47 UTC 2013 - dmueller@suse.com diff --git a/python-pyflakes.spec b/python-pyflakes.spec index bbb44c1..ece3003 100644 --- a/python-pyflakes.spec +++ b/python-pyflakes.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyflakes # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,8 @@ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Name: python-pyflakes -Version: 0.7.3 +Version: 0.8.1 Release: 0 Url: https://launchpad.net/pyflakes Summary: Passive checker of Python programs @@ -36,6 +33,7 @@ BuildRequires: python-setuptools BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description Pyflakes is program to analyze Python programs and detect various errors. It @@ -54,7 +52,8 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc LICENSE NEWS.txt README.rst AUTHORS -%{python_sitelib}/* +%{python_sitelib}/pyflakes/ +%{python_sitelib}/pyflakes-%{version}-py*.egg-info %{_bindir}/pyflakes %changelog