Received: by mail.netbsd.org (Postfix, from userid 605) id CBFB784DC9; Mon, 7 Oct 2019 20:25:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4E78E84DC5 for ; Mon, 7 Oct 2019 20:25:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id lIA4hGcbkGne for ; Mon, 7 Oct 2019 20:25:01 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6DD3F84CEE for ; Mon, 7 Oct 2019 20:25:01 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 60415FBF4; Mon, 7 Oct 2019 20:25:01 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157047990146510" MIME-Version: 1.0 Date: Mon, 7 Oct 2019 20:25:01 +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: <20191007202501.60415FBF4@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. --_----------=_157047990146510 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: adam Date: Mon Oct 7 20:25:01 UTC 2019 Modified Files: pkgsrc/devel/py-attrs: Makefile PLIST distinfo Log Message: py-attrs: updated to 19.2.0 19.2.0: Backward-incompatible Changes - Removed deprecated ``Attribute`` attribute ``convert`` per scheduled removal on 2019/1. - ``__lt__``, ``__le__``, ``__gt__``, and ``__ge__`` do not consider subclasses comparable anymore. This has been deprecated since 18.2.0 and was raising a ``DeprecationWarning`` for over a year. Deprecations - The ``cmp`` argument to ``attr.s()`` and ``attr.ib()`` is now deprecated. Please use ``eq`` to add equality methods (``__eq__`` and ``__ne__``) and ``order`` to add ordering methods (``__lt__``, ``__le__``, ``__gt__``, and ``__ge__``) instead – just like with `dataclasses `_. Both are effectively ``True`` by default but it's enough to set ``eq=False`` to disable both at once. Passing ``eq=False, order=True`` explicitly will raise a ``ValueError`` though. Since this is arguably a deeper backward-compatibility break, it will have an extended deprecation period until 2021-06-01. After that day, the ``cmp`` argument will be removed. ``attr.Attribute`` also isn't orderable anymore. Changes - Updated ``attr.validators.__all__`` to include new validators. - Slotted classes now use a pure Python mechanism to rewrite the ``__class__`` cell when rebuilding the class, so ``super()`` works even on environments where ``ctypes`` is not installed. - When collecting attributes using ``@attr.s(auto_attribs=True)``, attributes with a default of ``None`` are now deleted too. - Fixed ``attr.validators.deep_iterable()`` and ``attr.validators.deep_mapping()`` type stubs. - ``attr.validators.is_callable()`` validator now raises an exception ``attr.exceptions.NotCallableError``, a subclass of ``TypeError``, informing the received value. - ``@attr.s(auto_exc=True)`` now generates classes that are hashable by ID, as the documentation always claimed it would. - Added ``attr.validators.matches_re()`` that checks string attributes whether they match a regular expression. - Keyword-only attributes (``kw_only=True``) and attributes that are excluded from the ``attrs``'s ``__init__`` (``init=False``) now can appear before mandatory attributes. - The fake filename for generated methods is now more stable. It won't change when you restart the process. - The value passed to ``@attr.ib(repr=…)`` can now be either a boolean (as before) or a callable. That callable must return a string and is then used for formatting the attribute by the generated ``__repr__()`` method. - Added ``attr.__version_info__`` that can be used to reliably check the version of ``attrs`` and write forward- and backward-compatible code. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-attrs/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-attrs/PLIST cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-attrs/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_157047990146510 Content-Disposition: inline Content-Length: 2479 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.12 pkgsrc/devel/py-attrs/Makefile:1.13 --- pkgsrc/devel/py-attrs/Makefile:1.12 Sun Mar 3 12:17:05 2019 +++ pkgsrc/devel/py-attrs/Makefile Mon Oct 7 20:25:01 2019 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.12 2019/03/03 12:17:05 adam Exp $ +# $NetBSD: Makefile,v 1.13 2019/10/07 20:25:01 adam Exp $ -DISTNAME= attrs-19.1.0 +DISTNAME= attrs-19.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=a/attrs/} Index: pkgsrc/devel/py-attrs/PLIST diff -u pkgsrc/devel/py-attrs/PLIST:1.5 pkgsrc/devel/py-attrs/PLIST:1.6 --- pkgsrc/devel/py-attrs/PLIST:1.5 Mon Sep 3 07:40:18 2018 +++ pkgsrc/devel/py-attrs/PLIST Mon Oct 7 20:25:01 2019 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2018/09/03 07:40:18 adam Exp $ +@comment $NetBSD: PLIST,v 1.6 2019/10/07 20:25:01 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -21,6 +21,10 @@ ${PYSITELIB}/attr/_funcs.pyo ${PYSITELIB}/attr/_make.py ${PYSITELIB}/attr/_make.pyc ${PYSITELIB}/attr/_make.pyo +${PYSITELIB}/attr/_version.py +${PYSITELIB}/attr/_version.pyc +${PYSITELIB}/attr/_version.pyi +${PYSITELIB}/attr/_version.pyo ${PYSITELIB}/attr/converters.py ${PYSITELIB}/attr/converters.pyc ${PYSITELIB}/attr/converters.pyi Index: pkgsrc/devel/py-attrs/distinfo diff -u pkgsrc/devel/py-attrs/distinfo:1.9 pkgsrc/devel/py-attrs/distinfo:1.10 --- pkgsrc/devel/py-attrs/distinfo:1.9 Sun Mar 3 12:17:05 2019 +++ pkgsrc/devel/py-attrs/distinfo Mon Oct 7 20:25:01 2019 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2019/03/03 12:17:05 adam Exp $ +$NetBSD: distinfo,v 1.10 2019/10/07 20:25:01 adam Exp $ -SHA1 (attrs-19.1.0.tar.gz) = 638b04fda29463067296a2a330b53856f40a32cb -RMD160 (attrs-19.1.0.tar.gz) = af44a046cf42ff74c5c66a99849c977f8c97ff03 -SHA512 (attrs-19.1.0.tar.gz) = 22ee45e8b10a7abe10e720788c5cfab424d0bfe70e595dfb116928b8ebea497a747e8234d96549da00f0967de750fb943db0cd3669354253a27be2ca30fe413a -Size (attrs-19.1.0.tar.gz) = 124220 bytes +SHA1 (attrs-19.2.0.tar.gz) = f0ee52eca7c0a27b44a32dca001f920f0f76c7f7 +RMD160 (attrs-19.2.0.tar.gz) = b7a5eb4f333dd7b48bf10843ca3bca35b171c367 +SHA512 (attrs-19.2.0.tar.gz) = c6239f5553d99f324a36193d9f6e684fdce26efcf4da866d1b995cd644909ec4b58ac6ef6c20a0fda4b8a16d00ec0aacfd3970a52b68997fd10804d5286b41c6 +Size (attrs-19.2.0.tar.gz) = 134333 bytes --_----------=_157047990146510--