pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-ZopeComponent py-ZopeComponent: updated to 5.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/71742278b3f4
branches: trunk
changeset: 450315:71742278b3f4
user: adam <adam%pkgsrc.org@localhost>
date: Wed Apr 14 05:03:53 2021 +0000
description:
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.
diffstat:
devel/py-ZopeComponent/Makefile | 8 +++-----
devel/py-ZopeComponent/PLIST | 5 +----
devel/py-ZopeComponent/distinfo | 10 +++++-----
3 files changed, 9 insertions(+), 14 deletions(-)
diffs (59 lines):
diff -r 8853b865c697 -r 71742278b3f4 devel/py-ZopeComponent/Makefile
--- a/devel/py-ZopeComponent/Makefile Wed Apr 14 04:58:50 2021 +0000
+++ b/devel/py-ZopeComponent/Makefile Wed Apr 14 05:03:53 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2020/08/31 23:07:00 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2021/04/14 05:03:53 adam Exp $
-DISTNAME= zope.component-4.6.2
+DISTNAME= zope.component-5.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/zope.c/ZopeC/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zope.component/}
@@ -10,11 +10,9 @@
COMMENT= Zope Component Architecture modules
LICENSE= zpl-2.1
-DEPENDS+= ${PYPKGPREFIX}-zope.deferredimport>=4.2.1:../../devel/py-zope.deferredimport
-DEPENDS+= ${PYPKGPREFIX}-zope.deprecation>=4.3.0:../../devel/py-zope.deprecation
DEPENDS+= ${PYPKGPREFIX}-ZopeEvent-[0-9]*:../../devel/py-ZopeEvent
DEPENDS+= ${PYPKGPREFIX}-zope.hookable>=4.2.0:../../devel/py-zope.hookable
-DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=4.1.0:../../devel/py-ZopeInterface
+DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=5.3.0:../../devel/py-ZopeInterface
PYTHON_VERSIONED_DEPENDENCIES+= setuptools
diff -r 8853b865c697 -r 71742278b3f4 devel/py-ZopeComponent/PLIST
--- a/devel/py-ZopeComponent/PLIST Wed Apr 14 04:58:50 2021 +0000
+++ b/devel/py-ZopeComponent/PLIST Wed Apr 14 05:03:53 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/10/15 10:40:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/04/14 05:03:53 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -32,9 +32,6 @@
${PYSITELIB}/zope/component/globalregistry.py
${PYSITELIB}/zope/component/globalregistry.pyc
${PYSITELIB}/zope/component/globalregistry.pyo
-${PYSITELIB}/zope/component/hookable.py
-${PYSITELIB}/zope/component/hookable.pyc
-${PYSITELIB}/zope/component/hookable.pyo
${PYSITELIB}/zope/component/hooks.py
${PYSITELIB}/zope/component/hooks.pyc
${PYSITELIB}/zope/component/hooks.pyo
diff -r 8853b865c697 -r 71742278b3f4 devel/py-ZopeComponent/distinfo
--- a/devel/py-ZopeComponent/distinfo Wed Apr 14 04:58:50 2021 +0000
+++ b/devel/py-ZopeComponent/distinfo Wed Apr 14 05:03:53 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2020/08/21 12:40:54 adam Exp $
+$NetBSD: distinfo,v 1.9 2021/04/14 05:03:53 adam Exp $
-SHA1 (zope.component-4.6.2.tar.gz) = e8b2326901db6a39c9771ee164be66a43d504e51
-RMD160 (zope.component-4.6.2.tar.gz) = 1ef1bd7581034d31e6467944df6d04588aba8a5c
-SHA512 (zope.component-4.6.2.tar.gz) = fc06ec0238f6f969ef6f0d47a2e7db4a210cc7749fa60dc3186ecb698ba44865adf84aa207fcc7a72487c4cfebcdd5d42621aa3db7cf0f05f8d34936be16df71
-Size (zope.component-4.6.2.tar.gz) = 90951 bytes
+SHA1 (zope.component-5.0.0.tar.gz) = c0d649f5517cd268d3aa17baaaa2c0d991f12688
+RMD160 (zope.component-5.0.0.tar.gz) = 7a515791079c2a4b64cadc0d204fec8857381317
+SHA512 (zope.component-5.0.0.tar.gz) = 88d98795b3bf6c0f2fb4f83928bc50152a1bd36f48f78bc13131da428fdadf1959843237ce7a651c35acad3095c1477b16a0ddfa2a8dc8d61dd4ac89ebb40e49
+Size (zope.component-5.0.0.tar.gz) = 90768 bytes
Home |
Main Index |
Thread Index |
Old Index