pkgsrc/devel/py-ZopeInterface/Makefile
adam 75deb134ae 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.
2021-04-15 18:45:13 +00:00

20 lines
714 B
Makefile

# $NetBSD: Makefile,v 1.37 2021/04/15 18:45:13 adam Exp $
DISTNAME= zope.interface-5.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/zope.i/ZopeI/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zope.interface/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/zopefoundation/zope.interface
COMMENT= The zope.interface package used in Zope 3 and Twisted
LICENSE= zpl-2.1
TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeEvent-[0-9]*:../../devel/py-ZopeEvent
TEST_DEPENDS+= ${PYPKGPREFIX}-zope.testing-[0-9]*:../../devel/py-zope.testing
PYTHON_VERSIONED_DEPENDENCIES+= setuptools
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"