forked from pool/python-pyflakes
Accepting request 229775 from devel:languages:python
Update to 0.8.1 (forwarded request 229773 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/229775 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyflakes?expand=0&rev=13
This commit is contained in:
commit
18a6d31a42
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbd2c940a1030a4f811afc1a04017a44011c0cb54f8f384b66aa624097d9b5e3
|
||||
size 30551
|
3
pyflakes-0.8.1.tar.gz
Normal file
3
pyflakes-0.8.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fa80a10b36d51686bf7744f5dc99622cd5c98ce8ed64022e629868aafc17769
|
||||
size 32981
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user