pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-ZopeConfiguration py-ZopeConfiguration: updat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/354b68180165
branches:  trunk
changeset: 324334:354b68180165
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 15 10:38:18 2018 +0000

description:
py-ZopeConfiguration: updated to 4.3.0

4.3.0:
- Simplify exception chaining and nested exception error messages.

4.2.2:
- Fix GlobalObject (and GlobalInterface) no longer allowing
  multiple leading dots.

- Add __all__ to all modules listing the documented members of
  the module. Note that this is currently a broad list and may be
  reduced in the future.

4.2.1:
- Fix GlobalObject (and GlobalInterface) no longer allowing
  just a single '.'.

4.2.0:
- Reach 100% automated test coverage.

- Add support for Python 3.7.

- Drop support for Python 3.3 and remove internal compatibility
  functions needed to support it.

- Drop support for python setup.py test.

- Make zope.configuration.fields.Path and
  zope.configuration.config.ConfigurationContext expand
  environment variables and expand user home directories in paths.

- Fix resolving names from a Python 2 package whose __init__.py has
  unicode elements in __all__.

- Make GroupingContextDecorator stop shadowing builtins in its
  __getattr__. These were not intended as arguments to be used by
  subclasses, and the signature caused confusion.

- Fix the doctests with zope.schema 4.7 and above, and run the
  doctests on both Python 2 and Python 3.

- Fix GlobalObject and GlobalInterface fields to only accept
  dotted names instead of names with /. Previously, slash
  delimited names could result in incorrect imports.

- Fix the schema fields to include the value and field values
  on exceptions they raise.

- Make zope.configuration.fields.PythonIdentifier subclass
  PythonIdentifier from zope.schema. It now implements fromBytes,
  always produces a native string, and validates the value in
  fromUnicode.

- Add ConfigurationMachine.pass_through_exceptions to allow
  customizing the exceptions that
  ConfigurationMachine.execute_actions wraps in a
  ConfigurationExecutionError.

- Stop catching BaseException and wrapping it in either
  ConfigurationExecutionError or ZopeXMLConfigurationError.
  SystemExit and KeyboardInterrupt were always allowed to
  propagate; now GeneratorExit and custom subclasses of
  BaseException are also allowed te propagate.

diffstat:

 devel/py-ZopeConfiguration/Makefile |    8 +-
 devel/py-ZopeConfiguration/PLIST    |  120 ++++++++++++++++++-----------------
 devel/py-ZopeConfiguration/distinfo |   10 +-
 3 files changed, 74 insertions(+), 64 deletions(-)

diffs (218 lines):

diff -r 1c246fca1b37 -r 354b68180165 devel/py-ZopeConfiguration/Makefile
--- a/devel/py-ZopeConfiguration/Makefile       Mon Oct 15 10:33:47 2018 +0000
+++ b/devel/py-ZopeConfiguration/Makefile       Mon Oct 15 10:38:18 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/10/07 11:56:21 adam Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/15 10:38:18 adam Exp $
 
-DISTNAME=      zope.configuration-4.1.0
+DISTNAME=      zope.configuration-4.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/zope.c/ZopeC/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zope.configuration/}
@@ -13,6 +13,10 @@
 DEPENDS+=      ${PYPKGPREFIX}-ZopeI18NMessageid-[0-9]*:../../devel/py-ZopeI18NMessageid
 DEPENDS+=      ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
 DEPENDS+=      ${PYPKGPREFIX}-ZopeSchema-[0-9]*:../../devel/py-ZopeSchema
+TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeTestrunner-[0-9]*:../../devel/py-ZopeTestrunner
+TEST_DEPENDS+= ${PYPKGPREFIX}-zope.testing-[0-9]*:../../devel/py-zope.testing
+
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1c246fca1b37 -r 354b68180165 devel/py-ZopeConfiguration/PLIST
--- a/devel/py-ZopeConfiguration/PLIST  Mon Oct 15 10:33:47 2018 +0000
+++ b/devel/py-ZopeConfiguration/PLIST  Mon Oct 15 10:38:18 2018 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/25 17:48:12 fhajny Exp $
-${PYSITELIB}/${EGG_NAME}-nspkg.pth
+@comment $NetBSD: PLIST,v 1.2 2018/10/15 10:38:18 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,89 +6,66 @@
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
 ${PYSITELIB}/zope/configuration/__init__.py
-${PYSITELIB}/zope/configuration/__init__.pyo
 ${PYSITELIB}/zope/configuration/__init__.pyc
-${PYSITELIB}/zope/configuration/_compat.pyo
+${PYSITELIB}/zope/configuration/__init__.pyo
+${PYSITELIB}/zope/configuration/_compat.py
 ${PYSITELIB}/zope/configuration/_compat.pyc
-${PYSITELIB}/zope/configuration/config.pyo
+${PYSITELIB}/zope/configuration/_compat.pyo
+${PYSITELIB}/zope/configuration/config.py
 ${PYSITELIB}/zope/configuration/config.pyc
-${PYSITELIB}/zope/configuration/docutils.pyo
+${PYSITELIB}/zope/configuration/config.pyo
+${PYSITELIB}/zope/configuration/docutils.py
 ${PYSITELIB}/zope/configuration/docutils.pyc
-${PYSITELIB}/zope/configuration/exceptions.pyo
+${PYSITELIB}/zope/configuration/docutils.pyo
+${PYSITELIB}/zope/configuration/exceptions.py
 ${PYSITELIB}/zope/configuration/exceptions.pyc
-${PYSITELIB}/zope/configuration/fields.pyo
+${PYSITELIB}/zope/configuration/exceptions.pyo
+${PYSITELIB}/zope/configuration/fields.py
 ${PYSITELIB}/zope/configuration/fields.pyc
-${PYSITELIB}/zope/configuration/interfaces.pyo
+${PYSITELIB}/zope/configuration/fields.pyo
+${PYSITELIB}/zope/configuration/interfaces.py
 ${PYSITELIB}/zope/configuration/interfaces.pyc
-${PYSITELIB}/zope/configuration/name.pyo
+${PYSITELIB}/zope/configuration/interfaces.pyo
+${PYSITELIB}/zope/configuration/name.py
 ${PYSITELIB}/zope/configuration/name.pyc
-${PYSITELIB}/zope/configuration/xmlconfig.pyo
-${PYSITELIB}/zope/configuration/xmlconfig.pyc
-${PYSITELIB}/zope/configuration/zopeconfigure.pyo
-${PYSITELIB}/zope/configuration/zopeconfigure.pyc
-${PYSITELIB}/zope/configuration/_compat.py
-${PYSITELIB}/zope/configuration/config.py
-${PYSITELIB}/zope/configuration/docutils.py
-${PYSITELIB}/zope/configuration/exceptions.py
-${PYSITELIB}/zope/configuration/fields.py
-${PYSITELIB}/zope/configuration/interfaces.py
-${PYSITELIB}/zope/configuration/name.py
+${PYSITELIB}/zope/configuration/name.pyo
 ${PYSITELIB}/zope/configuration/tests/__init__.py
-${PYSITELIB}/zope/configuration/tests/__init__.pyo
 ${PYSITELIB}/zope/configuration/tests/__init__.pyc
-${PYSITELIB}/zope/configuration/tests/bad.pyo
+${PYSITELIB}/zope/configuration/tests/__init__.pyo
+${PYSITELIB}/zope/configuration/tests/bad.py
 ${PYSITELIB}/zope/configuration/tests/bad.pyc
-${PYSITELIB}/zope/configuration/tests/conditions.pyo
+${PYSITELIB}/zope/configuration/tests/bad.pyo
+${PYSITELIB}/zope/configuration/tests/conditions.py
 ${PYSITELIB}/zope/configuration/tests/conditions.pyc
-${PYSITELIB}/zope/configuration/tests/directives.pyo
-${PYSITELIB}/zope/configuration/tests/directives.pyc
-${PYSITELIB}/zope/configuration/tests/nested.pyo
-${PYSITELIB}/zope/configuration/tests/nested.pyc
-${PYSITELIB}/zope/configuration/tests/notyet.pyo
-${PYSITELIB}/zope/configuration/tests/notyet.pyc
-${PYSITELIB}/zope/configuration/tests/simple.pyo
-${PYSITELIB}/zope/configuration/tests/simple.pyc
-${PYSITELIB}/zope/configuration/tests/test___init__.pyo
-${PYSITELIB}/zope/configuration/tests/test___init__.pyc
-${PYSITELIB}/zope/configuration/tests/test_config.pyo
-${PYSITELIB}/zope/configuration/tests/test_config.pyc
-${PYSITELIB}/zope/configuration/tests/test_docutils.pyo
-${PYSITELIB}/zope/configuration/tests/test_docutils.pyc
-${PYSITELIB}/zope/configuration/tests/test_fields.pyo
-${PYSITELIB}/zope/configuration/tests/test_fields.pyc
-${PYSITELIB}/zope/configuration/tests/test_name.pyo
-${PYSITELIB}/zope/configuration/tests/test_name.pyc
-${PYSITELIB}/zope/configuration/tests/test_xmlconfig.pyo
-${PYSITELIB}/zope/configuration/tests/test_xmlconfig.pyc
-${PYSITELIB}/zope/configuration/tests/test_zopeconfigure.pyo
-${PYSITELIB}/zope/configuration/tests/test_zopeconfigure.pyc
-${PYSITELIB}/zope/configuration/tests/victim.pyo
-${PYSITELIB}/zope/configuration/tests/victim.pyc
-${PYSITELIB}/zope/configuration/tests/bad.py
-${PYSITELIB}/zope/configuration/tests/conditions.py
+${PYSITELIB}/zope/configuration/tests/conditions.pyo
 ${PYSITELIB}/zope/configuration/tests/conditions.zcml
 ${PYSITELIB}/zope/configuration/tests/directives.py
+${PYSITELIB}/zope/configuration/tests/directives.pyc
+${PYSITELIB}/zope/configuration/tests/directives.pyo
 ${PYSITELIB}/zope/configuration/tests/excludedemo/__init__.py
+${PYSITELIB}/zope/configuration/tests/excludedemo/__init__.pyc
 ${PYSITELIB}/zope/configuration/tests/excludedemo/__init__.pyo
-${PYSITELIB}/zope/configuration/tests/excludedemo/__init__.pyc
 ${PYSITELIB}/zope/configuration/tests/excludedemo/configure.zcml
 ${PYSITELIB}/zope/configuration/tests/excludedemo/spam.zcml
 ${PYSITELIB}/zope/configuration/tests/excludedemo/sub/__init__.py
+${PYSITELIB}/zope/configuration/tests/excludedemo/sub/__init__.pyc
 ${PYSITELIB}/zope/configuration/tests/excludedemo/sub/__init__.pyo
-${PYSITELIB}/zope/configuration/tests/excludedemo/sub/__init__.pyc
 ${PYSITELIB}/zope/configuration/tests/excludedemo/sub/configure.zcml
 ${PYSITELIB}/zope/configuration/tests/nested.py
+${PYSITELIB}/zope/configuration/tests/nested.pyc
+${PYSITELIB}/zope/configuration/tests/nested.pyo
 ${PYSITELIB}/zope/configuration/tests/notyet.py
+${PYSITELIB}/zope/configuration/tests/notyet.pyc
+${PYSITELIB}/zope/configuration/tests/notyet.pyo
 ${PYSITELIB}/zope/configuration/tests/sample.zcml
 ${PYSITELIB}/zope/configuration/tests/samplepackage/NamedForClass.py
-${PYSITELIB}/zope/configuration/tests/samplepackage/__init__.py
+${PYSITELIB}/zope/configuration/tests/samplepackage/NamedForClass.pyc
 ${PYSITELIB}/zope/configuration/tests/samplepackage/NamedForClass.pyo
-${PYSITELIB}/zope/configuration/tests/samplepackage/NamedForClass.pyc
+${PYSITELIB}/zope/configuration/tests/samplepackage/__init__.py
+${PYSITELIB}/zope/configuration/tests/samplepackage/__init__.pyc
 ${PYSITELIB}/zope/configuration/tests/samplepackage/__init__.pyo
-${PYSITELIB}/zope/configuration/tests/samplepackage/__init__.pyc
-${PYSITELIB}/zope/configuration/tests/samplepackage/foo.pyo
-${PYSITELIB}/zope/configuration/tests/samplepackage/foo.pyc
 ${PYSITELIB}/zope/configuration/tests/samplepackage/bar.zcml
 ${PYSITELIB}/zope/configuration/tests/samplepackage/bar1.zcml
 ${PYSITELIB}/zope/configuration/tests/samplepackage/bar2.zcml
@@ -102,17 +78,47 @@
 ${PYSITELIB}/zope/configuration/tests/samplepackage/configure.zcml
 ${PYSITELIB}/zope/configuration/tests/samplepackage/configure.zcml.in
 ${PYSITELIB}/zope/configuration/tests/samplepackage/foo.py
+${PYSITELIB}/zope/configuration/tests/samplepackage/foo.pyc
+${PYSITELIB}/zope/configuration/tests/samplepackage/foo.pyo
 ${PYSITELIB}/zope/configuration/tests/samplepackage/foo.zcml.in
 ${PYSITELIB}/zope/configuration/tests/schema.zcml
 ${PYSITELIB}/zope/configuration/tests/simple.py
+${PYSITELIB}/zope/configuration/tests/simple.pyc
+${PYSITELIB}/zope/configuration/tests/simple.pyo
 ${PYSITELIB}/zope/configuration/tests/simple.zcml
 ${PYSITELIB}/zope/configuration/tests/test___init__.py
+${PYSITELIB}/zope/configuration/tests/test___init__.pyc
+${PYSITELIB}/zope/configuration/tests/test___init__.pyo
 ${PYSITELIB}/zope/configuration/tests/test_config.py
+${PYSITELIB}/zope/configuration/tests/test_config.pyc
+${PYSITELIB}/zope/configuration/tests/test_config.pyo
+${PYSITELIB}/zope/configuration/tests/test_docs.py
+${PYSITELIB}/zope/configuration/tests/test_docs.pyc
+${PYSITELIB}/zope/configuration/tests/test_docs.pyo
 ${PYSITELIB}/zope/configuration/tests/test_docutils.py
+${PYSITELIB}/zope/configuration/tests/test_docutils.pyc
+${PYSITELIB}/zope/configuration/tests/test_docutils.pyo
 ${PYSITELIB}/zope/configuration/tests/test_fields.py
+${PYSITELIB}/zope/configuration/tests/test_fields.pyc
+${PYSITELIB}/zope/configuration/tests/test_fields.pyo
 ${PYSITELIB}/zope/configuration/tests/test_name.py
+${PYSITELIB}/zope/configuration/tests/test_name.pyc
+${PYSITELIB}/zope/configuration/tests/test_name.pyo
 ${PYSITELIB}/zope/configuration/tests/test_xmlconfig.py
+${PYSITELIB}/zope/configuration/tests/test_xmlconfig.pyc
+${PYSITELIB}/zope/configuration/tests/test_xmlconfig.pyo
 ${PYSITELIB}/zope/configuration/tests/test_zopeconfigure.py
+${PYSITELIB}/zope/configuration/tests/test_zopeconfigure.pyc
+${PYSITELIB}/zope/configuration/tests/test_zopeconfigure.pyo
+${PYSITELIB}/zope/configuration/tests/unicode_all/__init__.py
+${PYSITELIB}/zope/configuration/tests/unicode_all/__init__.pyc
+${PYSITELIB}/zope/configuration/tests/unicode_all/__init__.pyo
 ${PYSITELIB}/zope/configuration/tests/victim.py
+${PYSITELIB}/zope/configuration/tests/victim.pyc
+${PYSITELIB}/zope/configuration/tests/victim.pyo
 ${PYSITELIB}/zope/configuration/xmlconfig.py
+${PYSITELIB}/zope/configuration/xmlconfig.pyc
+${PYSITELIB}/zope/configuration/xmlconfig.pyo
 ${PYSITELIB}/zope/configuration/zopeconfigure.py
+${PYSITELIB}/zope/configuration/zopeconfigure.pyc
+${PYSITELIB}/zope/configuration/zopeconfigure.pyo
diff -r 1c246fca1b37 -r 354b68180165 devel/py-ZopeConfiguration/distinfo
--- a/devel/py-ZopeConfiguration/distinfo       Mon Oct 15 10:33:47 2018 +0000
+++ b/devel/py-ZopeConfiguration/distinfo       Mon Oct 15 10:38:18 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/10/07 11:56:21 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/10/15 10:38:18 adam Exp $
 
-SHA1 (zope.configuration-4.1.0.tar.gz) = 302df15045b52de19dca7838966e704f4bfbd10e
-RMD160 (zope.configuration-4.1.0.tar.gz) = 191e0905790436d62bff5e0e6b91ab1edc1d02e9
-SHA512 (zope.configuration-4.1.0.tar.gz) = 86bbc5ac22c61d485fcb55c4dafb5b81eaab0a08de1e5dc3cd586769323a09896e72b1e8aac790d3e8d8f93a133efd3f88a92a4b3c1075bdd0da62cd4e33c56a
-Size (zope.configuration-4.1.0.tar.gz) = 77780 bytes
+SHA1 (zope.configuration-4.3.0.tar.gz) = 0d0a9ac9577b89dbc9c825cf0fd135ab69074047
+RMD160 (zope.configuration-4.3.0.tar.gz) = 76eebc4c859dc990a5819b4e787032d4becabc7a
+SHA512 (zope.configuration-4.3.0.tar.gz) = c641927493d481630c701aebc1ac238df4baebe99be672fd378fbb87e3327e54f19864887cd9e982d86075c67ff78e35159f47bbdcdfce9332b8266438c306ca
+Size (zope.configuration-4.3.0.tar.gz) = 82642 bytes



Home | Main Index | Thread Index | Old Index