Accepting request 406822 from home:frispete:python

- update to 16.0.0
  Backward-incompatible changes:
  * Python 3.3 and 2.6 aren’t supported anymore. They may work by chance but
    any effort to keep them working has ceased.
    The last Python 2.6 release was on October 29, 2013 and isn’t supported by
    the CPython core team anymore. Major Python packages like Django and Twisted
    dropped Python 2.6 a while ago already.
    Python 3.3 never had a significant user base and wasn’t part of any
    distribution’s LTS release.
  Changes:
  * __slots__ have arrived! Classes now can automatically be slots-style (and
    save your precious memory) just by passing slots=True. #35
  * Allow the case of initializing attributes that are set to init=False. This
    allows for clean initializer parameter lists while being able to initialize
    attributes to default values. #32
  * attr.asdict can now produce arbitrary mappings instead of Python dicts when
    provided with a dict_factory argument. #40 Multiple performance improvements.

OBS-URL: https://build.opensuse.org/request/show/406822
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=3
This commit is contained in:
Thomas Bechtold 2016-07-06 15:56:05 +00:00 committed by Git OBS Bridge
parent 44660962d2
commit ba8f3fdaba
4 changed files with 31 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f895d2ecefa0be054e29375769f1d0ee88e93ce820088cf5c49390529bf7ee7
size 36766

3
attrs-16.0.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Jul 5 17:20:56 UTC 2016 - hpj@urpla.net
- update to 16.0.0
Backward-incompatible changes:
* Python 3.3 and 2.6 arent supported anymore. They may work by chance but
any effort to keep them working has ceased.
The last Python 2.6 release was on October 29, 2013 and isnt supported by
the CPython core team anymore. Major Python packages like Django and Twisted
dropped Python 2.6 a while ago already.
Python 3.3 never had a significant user base and wasnt part of any
distributions LTS release.
Changes:
* __slots__ have arrived! Classes now can automatically be slots-style (and
save your precious memory) just by passing slots=True. #35
* Allow the case of initializing attributes that are set to init=False. This
allows for clean initializer parameter lists while being able to initialize
attributes to default values. #32
* attr.asdict can now produce arbitrary mappings instead of Python dicts when
provided with a dict_factory argument. #40 Multiple performance improvements.
-------------------------------------------------------------------
Thu Jun 2 07:58:54 UTC 2016 - tbechtold@suse.com

View File

@ -17,7 +17,7 @@
Name: python-attrs
Version: 15.2.0
Version: 16.0.0
Release: 0
Summary: Attributes without boilerplate
License: MIT
@ -34,7 +34,8 @@ BuildArch: noarch
%endif
%description
attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols.
attrs is an MIT-licensed Python package with class decorators that ease the
chores of implementing the most common attribute-related object protocols.
You just specify the attributes to work with and attrs gives you:
- a nice human-readable __repr__,
@ -44,9 +45,11 @@ You just specify the attributes to work with and attrs gives you:
without writing dull boilerplate code again and again.
This gives you the power to use actual classes with actual types in your code instead of confusing tuples or confusingly behaving namedtuples.
This gives you the power to use actual classes with actual types in your code
instead of confusing tuples or confusingly behaving namedtuples.
So put down that type-less data structures and welcome some class into your life!
So put down that type-less data structures and welcome some class into your
life!
python-attrs is the successor to python-characterstic