Subject: CVS commit: pkgsrc/devel/py-attrs
From: Adam Ciarcinski
Date: 2017-02-13 19:57:06
Message id: 20170213185706.18B38FBE3@cvs.NetBSD.org

Log Message:
Changes 16.3.0:
* Attributes now can have user-defined metadata which greatly improves \ 
attrs‘s extensibility.

* Allow for a __attrs_post_init__ method that – if defined – will get \ 
called at the end of the attrs-generated __init__ method.

* Add @attr.s(str=True) that will optionally create a __str__ method that is \ 
identical to __repr__. This is mainly useful with Exceptions and other classes \ 
that rely on a useful __str__ implementation but overwrite the default one \ 
through a poor own one. Default Python class behavior is to use __repr__ as \ 
__str__ anyways.

If you tried using attrs with Exceptions and were puzzled by the tracebacks: \ 
this option is for you.

* Don’t overwrite __name__ with __qualname__ for attr.s(slots=True) classes.

Files:
RevisionActionfile
1.3modifypkgsrc/devel/py-attrs/Makefile
1.2modifypkgsrc/devel/py-attrs/PLIST
1.2modifypkgsrc/devel/py-attrs/distinfo