Accepting request 259679 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/259679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2014-11-05 14:55:05 +00:00 committed by Git OBS Bridge
commit e4781e1879
4 changed files with 30 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:589e738d2e94bac938bd88e2b7331188c550c04b41ff516ca3ace5b143c71d75
size 127194

3
astroid-1.2.1.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9021b44cae60f38c3a7ecccc458bd92b9d73244699ffc41750ef848d62514f64
size 169131

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Nov 4 16:24:17 UTC 2014 - mcihar@suse.cz
- Update to 1.2.1:
* Fix a crash occurred when inferring decorator call chain.
Closes issue #42.
* Set the parent of vararg and kwarg nodes when inferring them.
Closes issue #43.
* namedtuple inference knows about '_fields' attribute.
* enum members knows about the methods from the enum class.
* Name inference will lookup in the parent function
of the current scope, in case searching in the current scope
fails.
* Inference of the functional form of the enums takes into
consideration the various inputs that enums accepts.
* The inference engine handles binary operations (add, mul etc.)
between instances.
* Fix an infinite loop in the inference, by returning a copy
of instance attributes, when calling 'instance_attr'.
Closes issue #34 (patch by Emile Anclin).
* Don't crash when trying to infer unbound object.__new__ call.
Closes issue #11.
- Use upstream zip for packaging as .tar.gz is no longer provided
-------------------------------------------------------------------
Tue Aug 12 09:24:19 UTC 2014 - mcihar@suse.com

View File

@ -17,16 +17,17 @@
Name: python-astroid
Version: 1.2.0
Version: 1.2.1
Release: 0
Url: http://bitbucket.org/logilab/astroid
Summary: Rebuild a new abstract syntax tree from Python's ast
License: LGPL-2.1+
Group: Development/Libraries/Python
Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.tar.gz
Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-logilab-common
BuildRequires: unzip
Requires: python-logilab-common
%if 0%{?suse_version}
%py_requires