pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-ZopeComponent



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Apr 14 05:03:53 UTC 2021

Modified Files:
        pkgsrc/devel/py-ZopeComponent: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-ZopeComponent/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-ZopeComponent/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-ZopeComponent/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-ZopeComponent/Makefile
diff -u pkgsrc/devel/py-ZopeComponent/Makefile:1.10 pkgsrc/devel/py-ZopeComponent/Makefile:1.11
--- pkgsrc/devel/py-ZopeComponent/Makefile:1.10 Mon Aug 31 23:07:00 2020
+++ pkgsrc/devel/py-ZopeComponent/Makefile      Wed Apr 14 05:03:53 2021
@@ -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 @@ HOMEPAGE=    https://github.com/zopefoundat
 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
 

Index: pkgsrc/devel/py-ZopeComponent/PLIST
diff -u pkgsrc/devel/py-ZopeComponent/PLIST:1.2 pkgsrc/devel/py-ZopeComponent/PLIST:1.3
--- pkgsrc/devel/py-ZopeComponent/PLIST:1.2     Mon Oct 15 10:40:33 2018
+++ pkgsrc/devel/py-ZopeComponent/PLIST Wed Apr 14 05:03:53 2021
@@ -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/factory.pyo
 ${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

Index: pkgsrc/devel/py-ZopeComponent/distinfo
diff -u pkgsrc/devel/py-ZopeComponent/distinfo:1.8 pkgsrc/devel/py-ZopeComponent/distinfo:1.9
--- pkgsrc/devel/py-ZopeComponent/distinfo:1.8  Fri Aug 21 12:40:54 2020
+++ pkgsrc/devel/py-ZopeComponent/distinfo      Wed Apr 14 05:03:53 2021
@@ -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