pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-attrs
Module Name: pkgsrc
Committed By: adam
Date: Mon Feb 13 18:57:06 UTC 2017
Modified Files:
pkgsrc/devel/py-attrs: Makefile PLIST distinfo
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-attrs/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-attrs/PLIST \
pkgsrc/devel/py-attrs/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-attrs/Makefile
diff -u pkgsrc/devel/py-attrs/Makefile:1.2 pkgsrc/devel/py-attrs/Makefile:1.3
--- pkgsrc/devel/py-attrs/Makefile:1.2 Wed Jun 1 12:30:45 2016
+++ pkgsrc/devel/py-attrs/Makefile Mon Feb 13 18:57:05 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2016/06/01 12:30:45 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/02/13 18:57:05 adam Exp $
-DISTNAME= attrs-15.2.0
+DISTNAME= attrs-16.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PYPI:=a/attrs/}
Index: pkgsrc/devel/py-attrs/PLIST
diff -u pkgsrc/devel/py-attrs/PLIST:1.1 pkgsrc/devel/py-attrs/PLIST:1.2
--- pkgsrc/devel/py-attrs/PLIST:1.1 Thu Apr 14 11:06:27 2016
+++ pkgsrc/devel/py-attrs/PLIST Mon Feb 13 18:57:05 2017
@@ -1,4 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2016/04/14 11:06:27 leot Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/02/13 18:57:05 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/attr/__init__.py
${PYSITELIB}/attr/__init__.pyc
${PYSITELIB}/attr/__init__.pyo
@@ -14,14 +19,12 @@ ${PYSITELIB}/attr/_funcs.pyo
${PYSITELIB}/attr/_make.py
${PYSITELIB}/attr/_make.pyc
${PYSITELIB}/attr/_make.pyo
+${PYSITELIB}/attr/exceptions.py
+${PYSITELIB}/attr/exceptions.pyc
+${PYSITELIB}/attr/exceptions.pyo
${PYSITELIB}/attr/filters.py
${PYSITELIB}/attr/filters.pyc
${PYSITELIB}/attr/filters.pyo
${PYSITELIB}/attr/validators.py
${PYSITELIB}/attr/validators.pyc
${PYSITELIB}/attr/validators.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
Index: pkgsrc/devel/py-attrs/distinfo
diff -u pkgsrc/devel/py-attrs/distinfo:1.1 pkgsrc/devel/py-attrs/distinfo:1.2
--- pkgsrc/devel/py-attrs/distinfo:1.1 Thu Apr 14 11:06:27 2016
+++ pkgsrc/devel/py-attrs/distinfo Mon Feb 13 18:57:05 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/04/14 11:06:27 leot Exp $
+$NetBSD: distinfo,v 1.2 2017/02/13 18:57:05 adam Exp $
-SHA1 (attrs-15.2.0.tar.gz) = eacb016efc4f6ae0a938318a87c69972c151cb15
-RMD160 (attrs-15.2.0.tar.gz) = 18658fe3760a14206092fc1154693be076636aec
-SHA512 (attrs-15.2.0.tar.gz) = f34f70acbd01dc94c6f994ce7c764e169e26f5d71454522f4f88859b67309556e88e20504e2a6a63590e4ad8e55f04ba7cc9a90c024364c1bf932bfadd5a4491
-Size (attrs-15.2.0.tar.gz) = 36766 bytes
+SHA1 (attrs-16.3.0.tar.gz) = ce3d6456b024a21cc20291d605964dbcff205e64
+RMD160 (attrs-16.3.0.tar.gz) = 89b7aa7b8ffe2463faf83520d596c88c49af5ebd
+SHA512 (attrs-16.3.0.tar.gz) = 1a91e6f27ecaf20c409c3abf88ffed5c6cfdbba8cff44637399b713271ff838a054f5859dd29440b2780d81b40673033e3f8e43dd491bece72e0a4f08c4ef688
+Size (attrs-16.3.0.tar.gz) = 57512 bytes
Home |
Main Index |
Thread Index |
Old Index