pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-ZopeInterface py-ZopeInterface: updated to 5.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2c2e3587c7e
branches:  trunk
changeset: 450385:d2c2e3587c7e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 15 18:45:13 2021 +0000

description:
py-ZopeInterface: updated to 5.4.0

5.4.0 (2021-04-15)
==================

- Make the C implementation of the ``__providedBy__`` descriptor stop
  ignoring all errors raised when accessing the instance's
  ``__provides__``. Now it behaves like the Python version and only
  catches ``AttributeError``. The previous behaviour could lead to
  crashing the interpreter in cases of recursion and errors.

- Update the ``repr()`` and ``str()`` of various objects to be shorter
  and more informative. In many cases, the ``repr()`` is now something
  that can be evaluated to produce an equal object. For example, what
  was previously printed as ``<implementedBy builtins.list>`` is now
  shown as ``classImplements(list, IMutableSequence, IIterable)``.

- Make ``Declaration.__add__`` (as in ``implementedBy(Cls) +
  ISomething``) try harder to preserve a consistent resolution order
  when the two arguments share overlapping pieces of the interface
  inheritance hierarchy. Previously, the right hand side was always
  put at the end of the resolution order, which could easily produce
  invalid orders.

diffstat:

 devel/py-ZopeInterface/Makefile |   4 ++--
 devel/py-ZopeInterface/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r cee31b17dbd6 -r d2c2e3587c7e devel/py-ZopeInterface/Makefile
--- a/devel/py-ZopeInterface/Makefile   Thu Apr 15 18:44:31 2021 +0000
+++ b/devel/py-ZopeInterface/Makefile   Thu Apr 15 18:45:13 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2021/04/14 04:55:44 adam Exp $
+# $NetBSD: Makefile,v 1.37 2021/04/15 18:45:13 adam Exp $
 
-DISTNAME=      zope.interface-5.3.0
+DISTNAME=      zope.interface-5.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/zope.i/ZopeI/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zope.interface/}
diff -r cee31b17dbd6 -r d2c2e3587c7e devel/py-ZopeInterface/distinfo
--- a/devel/py-ZopeInterface/distinfo   Thu Apr 15 18:44:31 2021 +0000
+++ b/devel/py-ZopeInterface/distinfo   Thu Apr 15 18:45:13 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2021/04/14 04:55:44 adam Exp $
+$NetBSD: distinfo,v 1.26 2021/04/15 18:45:13 adam Exp $
 
-SHA1 (zope.interface-5.3.0.tar.gz) = f1ceb28f8edc526b5bc5a335e357af1d9ed44a08
-RMD160 (zope.interface-5.3.0.tar.gz) = 9a8ada33bdfec240e2665cd1c07cc9b104d2bd25
-SHA512 (zope.interface-5.3.0.tar.gz) = 3544c64d64f32e4635031325b38500b8ed5888b03821c5ff2e07c2d88bb50ccb0b6fe24c6a55813bbe05caf2b847be832182e04dcd8e9ff29f1e68c1fda7c680
-Size (zope.interface-5.3.0.tar.gz) = 241964 bytes
+SHA1 (zope.interface-5.4.0.tar.gz) = 575ecb0dd1faae2294b8e2ec7b5ccb22006c4ccc
+RMD160 (zope.interface-5.4.0.tar.gz) = 5f96a4e02233c919ff62cb3e517b3de01e3786d0
+SHA512 (zope.interface-5.4.0.tar.gz) = ef15d63397e05ad9fc44b2d5d786b0399b6973bb5f4866fab839ff612756f3157f2099d0f5c0469b574a5c8b5920a7c2a5c6eab8e8f84c24d5c43e816669bffe
+Size (zope.interface-5.4.0.tar.gz) = 249329 bytes



Home | Main Index | Thread Index | Old Index