diff --git a/attrs-15.2.0.tar.gz b/attrs-15.2.0.tar.gz deleted file mode 100644 index fd612bf..0000000 --- a/attrs-15.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f895d2ecefa0be054e29375769f1d0ee88e93ce820088cf5c49390529bf7ee7 -size 36766 diff --git a/attrs-16.0.0.tar.gz b/attrs-16.0.0.tar.gz new file mode 100644 index 0000000..a411761 --- /dev/null +++ b/attrs-16.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de6827a454d23716442b571bb35b0efb32a1b5c1037f09cfc7aaf405c7d68abc +size 42535 diff --git a/python-attrs.changes b/python-attrs.changes index bcbdcbf..f89db6c 100644 --- a/python-attrs.changes +++ b/python-attrs.changes @@ -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 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. + ------------------------------------------------------------------- Thu Jun 2 07:58:54 UTC 2016 - tbechtold@suse.com diff --git a/python-attrs.spec b/python-attrs.spec index e9df028..330f1e3 100644 --- a/python-attrs.spec +++ b/python-attrs.spec @@ -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