pkgsrc/devel/py-ZopeComponent/Makefile

23 lines
777 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2022/01/04 20:52:47 wiz Exp $
DISTNAME= zope.component-5.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/zope.c/ZopeC/}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zope.component/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/zopefoundation/zope.component
COMMENT= Zope Component Architecture modules
LICENSE= zpl-2.1
DEPENDS+= ${PYPKGPREFIX}-ZopeEvent-[0-9]*:../../devel/py-ZopeEvent
DEPENDS+= ${PYPKGPREFIX}-zope.hookable>=4.2.0:../../devel/py-zope.hookable
py-ZopeComponent: updated to 5.0.0 5.0.0 (2021-03-19) ================== - Remove backwards compatibility imports that were emitting deprecation warnings. This affects certain imports from ``zope.component.interfaces`` (which should be imported from ``zope.interface.interfaces``) as well as certain imports from ``zope.component.registery`` (import from ``zope.interface.registry``), and the entire ``zope.component.hookable`` module. - Respect permission value for utility factory registrations - Add support for Python 3.9 - Fix the ``<subscriber>`` ZCML directive to allow a missing ``provides=`` attribute when a ``factory=`` is given and the Python object has been decorated with ``@implementer`` and implements a single interface. This has been documented, but hasn't worked before. - Make ``PersistentAdapterRegistry`` use persistent objects (``PersistentMapping`` and ``PersistentList``) for its internal data structures instead of plain dicts and lists. This helps make it scalable to larger registry sizes. This requires zope.interface 5.3.0a1 or later. New registries (and their primary users, ``PersistentComponents`` and zope.site's ``LocalSiteManager``) take full advantage of this automatically. For existing persistent registries to take advantage of this, you must call their ``rebuild()`` method and commit the transaction. - Fix ``zope.interface.interface.provideInterface`` and the various search and query methods to use the current site manager instead of always using the global site manager. (``provideInterface`` is called implicitly when registering components from ZCML.) The search and query methods continue to return interfaces registered in base site managers.
2021-04-14 07:03:53 +02:00
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=5.3.0:../../devel/py-ZopeInterface
PYTHON_VERSIONED_DEPENDENCIES+= setuptools
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"