Received: by mail.netbsd.org (Postfix, from userid 605) id 6AB0F856E9; Thu, 16 Nov 2017 07:57:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EA14684D85 for ; Thu, 16 Nov 2017 07:57:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id lCsU5kSVh8-y for ; Thu, 16 Nov 2017 07:57:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5FA8D84D24 for ; Thu, 16 Nov 2017 07:57:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 55213FB3F; Thu, 16 Nov 2017 07:57:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_151081907355780" MIME-Version: 1.0 Date: Thu, 16 Nov 2017 07:57:53 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-attrs To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20171116075753.55213FB3F@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_151081907355780 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Nov 16 07:57:53 UTC 2017 Modified Files: pkgsrc/devel/py-attrs: Makefile distinfo Log Message: py-attrs: updated to 17.3.0 17.3.0: Backward-incompatible Changes - Attributes are not defined on the class body anymore. This means that if you define a class C with an attribute x, the class will *not* have an attribute x for introspe ction anymore. Instead of C.x, use attr.fields(C).x or look at C.__attrs_attrs__. The old behavior has been deprecated since version 16.1. Changes - super() and __class__ now work on Python 3 when slots=True. - Added type argument to attr.ib() and corresponding type attribute to attr.Attribute. This change paves the way for automatic type checking and serialization (though as of this release attrs does not make use of it). In Python 3.6 or higher, the value of attr.Attribute.type can alternately be set using variable type annotations - The combination of str=True and slots=True now works on Python 2. - attr.Factory is hashable again. - Subclasses now can overwrite attribute definitions of their superclass. That means that you can -- for example -- change the default value for an attribute by redefining it. - Added new option auto_attribs to @attr.s that allows to collect annotated fields without setting them to attr.ib(). Setting a field to an attr.ib() is still possible to supply options like validators. Setting it to any other value is treated like it was passed as attr.ib(default=value) -- passing an instance of attr.Factory also works as expected. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-attrs/Makefile cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-attrs/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_151081907355780 Content-Disposition: inline Content-Length: 1613 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-attrs/Makefile diff -u pkgsrc/devel/py-attrs/Makefile:1.7 pkgsrc/devel/py-attrs/Makefile:1.8 --- pkgsrc/devel/py-attrs/Makefile:1.7 Thu Oct 5 06:49:16 2017 +++ pkgsrc/devel/py-attrs/Makefile Thu Nov 16 07:57:53 2017 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2017/10/05 06:49:16 adam Exp $ +# $NetBSD: Makefile,v 1.8 2017/11/16 07:57:53 adam Exp $ -DISTNAME= attrs-17.2.0 +DISTNAME= attrs-17.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=a/attrs/} Index: pkgsrc/devel/py-attrs/distinfo diff -u pkgsrc/devel/py-attrs/distinfo:1.4 pkgsrc/devel/py-attrs/distinfo:1.5 --- pkgsrc/devel/py-attrs/distinfo:1.4 Wed May 24 19:41:34 2017 +++ pkgsrc/devel/py-attrs/distinfo Thu Nov 16 07:57:53 2017 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2017/05/24 19:41:34 adam Exp $ +$NetBSD: distinfo,v 1.5 2017/11/16 07:57:53 adam Exp $ -SHA1 (attrs-17.2.0.tar.gz) = ca1688772851a6dabc4d41a4aa444cdcd9495ecf -RMD160 (attrs-17.2.0.tar.gz) = 015436d6b06c7b8394bff62857716a3b4fd998bb -SHA512 (attrs-17.2.0.tar.gz) = 02243e59ff417deddb330e841d42c0f43d3bea4435f114d3a9a8f4c3bd424c2ef565c630d179db7b3687d22091bf6e619de661171248c0ff0a0e5ec5f9bf7e21 -Size (attrs-17.2.0.tar.gz) = 73733 bytes +SHA1 (attrs-17.3.0.tar.gz) = ee2fd8132f71a7529d777df0b813903a73ad28ca +RMD160 (attrs-17.3.0.tar.gz) = 5b74724bb9be052c406a7c016e403212801cdecd +SHA512 (attrs-17.3.0.tar.gz) = 69a104a0a00c13946ca61c5e21a6acd4e75a43c775d54f270c9da3fd9475df54997c32a25a5c47a24012daac2f525457b1727fb2bb7291afb90627bf87d818ee +Size (attrs-17.3.0.tar.gz) = 89046 bytes --_----------=_151081907355780--