Mon Feb 18 12:48:58 2019 UTC ()
py-zconfig: updated to 3.4.0

3.4.0:

Many changes have been made in the support for logging configurations:

- The log handler section types defined by the
  ZConfig.components.logger package support additional, optional
  parameters:

  style
      Used to configure alternate format styles as found in the Python 3
      standard library.  Four style values are supported:
      classic (the default), format (equivalent to style='{'
      in Python 3), template (equivalent to style='$'), and
      safe-template (similar to template, but using the
      string.Template method safe_substitute method).  A
      best-effort implementation is provided for Python 2.

  arbitrary-fields
      A Boolean defauting to False for backward compatibility,
      allows arbitrary replacement field names to be accepted in the
      format string (regardless of the style setting).  This
      supports applications where log records are known to be generated
      with additional string or numeric fields, at least for some
      loggers.  (An exception is still raised at format time if the
      additional fields are not provided, unless the style value
      safe-template is used.)

- The logfile section type defined by the ZConfig.components.logger
  package supports the optional delay and encoding parameters.
  These can only be used for regular files, not the special STDOUT
  and STDERR streams.

- More validation on the parameters to the logfile and
  email-notifier sections is performed early (at the construction of
  the factory, rather than at creation of the logging handler).
  This allows more checking of parameter combinations before any log
  files are opened.

- The ZConfig.components.logger.handlers.log_format data type
  function now supports formats that include numeric formatting for
  levelno, and accept funcName as a valid log record field
  (added in Python 2.6 and 3.1).


(adam)
diff -r1.19 -r1.20 pkgsrc/devel/py-zconfig/Makefile
diff -r1.7 -r1.8 pkgsrc/devel/py-zconfig/PLIST
diff -r1.6 -r1.7 pkgsrc/devel/py-zconfig/distinfo

cvs diff -r1.19 -r1.20 pkgsrc/devel/py-zconfig/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-zconfig/Makefile 2018/10/23 09:46:43 1.19
+++ pkgsrc/devel/py-zconfig/Makefile 2019/02/18 12:48:58 1.20
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: Makefile,v 1.19 2018/10/23 09:46:43 adam Exp $ 1# $NetBSD: Makefile,v 1.20 2019/02/18 12:48:58 adam Exp $
2 2
3DISTNAME= ZConfig-3.3.0 3DISTNAME= ZConfig-3.4.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=Z/ZConfig/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=Z/ZConfig/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/zopefoundation/ZConfig 9HOMEPAGE= https://github.com/zopefoundation/ZConfig
10COMMENT= Configuration library 10COMMENT= Configuration library
11LICENSE= zpl-2.1 11LICENSE= zpl-2.1
12 12
13TEST_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils 13TEST_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
14#TEST_DEPENDS+= ${PYPKGPREFIX}-manuel-[0-9]*:../../?/py-manuel 14#TEST_DEPENDS+= ${PYPKGPREFIX}-manuel-[0-9]*:../../?/py-manuel
15TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeTestrunner-[0-9]*:../../devel/py-ZopeTestrunner 15TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeTestrunner-[0-9]*:../../devel/py-ZopeTestrunner
16 16
17USE_LANGUAGES= # none 17USE_LANGUAGES= # none
18 18
19post-install: 19post-install:
20 cd ${DESTDIR}${PREFIX}/bin && \ 20 cd ${DESTDIR}${PREFIX}/bin && \
21 ${MV} zconfig zconfig-${PYVERSSUFFIX} && \ 21 ${MV} zconfig zconfig-${PYVERSSUFFIX} && \
22 ${MV} zconfig_schema2html zconfig_schema2html-${PYVERSSUFFIX} || ${TRUE} 22 ${MV} zconfig_schema2html zconfig_schema2html-${PYVERSSUFFIX} || ${TRUE}
23 23
24.include "../../lang/python/egg.mk" 24.include "../../lang/python/egg.mk"
25.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-zconfig/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-zconfig/PLIST 2018/10/23 09:46:43 1.7
+++ pkgsrc/devel/py-zconfig/PLIST 2019/02/18 12:48:58 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.7 2018/10/23 09:46:43 adam Exp $ 1@comment $NetBSD: PLIST,v 1.8 2019/02/18 12:48:58 adam Exp $
2bin/zconfig-${PYVERSSUFFIX} 2bin/zconfig-${PYVERSSUFFIX}
3bin/zconfig_schema2html-${PYVERSSUFFIX} 3bin/zconfig_schema2html-${PYVERSSUFFIX}
4${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 4${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
5${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 5${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
6${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 6${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
7${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 7${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
8${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 8${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
9${PYSITELIB}/${EGG_INFODIR}/requires.txt 9${PYSITELIB}/${EGG_INFODIR}/requires.txt
10${PYSITELIB}/${EGG_INFODIR}/top_level.txt 10${PYSITELIB}/${EGG_INFODIR}/top_level.txt
11${PYSITELIB}/ZConfig/__init__.py 11${PYSITELIB}/ZConfig/__init__.py
12${PYSITELIB}/ZConfig/__init__.pyc 12${PYSITELIB}/ZConfig/__init__.pyc
13${PYSITELIB}/ZConfig/__init__.pyo 13${PYSITELIB}/ZConfig/__init__.pyo
14${PYSITELIB}/ZConfig/_compat.py 14${PYSITELIB}/ZConfig/_compat.py
@@ -43,40 +43,49 @@ ${PYSITELIB}/ZConfig/components/basic/te @@ -43,40 +43,49 @@ ${PYSITELIB}/ZConfig/components/basic/te
43${PYSITELIB}/ZConfig/components/logger/__init__.py 43${PYSITELIB}/ZConfig/components/logger/__init__.py
44${PYSITELIB}/ZConfig/components/logger/__init__.pyc 44${PYSITELIB}/ZConfig/components/logger/__init__.pyc
45${PYSITELIB}/ZConfig/components/logger/__init__.pyo 45${PYSITELIB}/ZConfig/components/logger/__init__.pyo
46${PYSITELIB}/ZConfig/components/logger/abstract.xml 46${PYSITELIB}/ZConfig/components/logger/abstract.xml
47${PYSITELIB}/ZConfig/components/logger/base-logger.xml 47${PYSITELIB}/ZConfig/components/logger/base-logger.xml
48${PYSITELIB}/ZConfig/components/logger/component.xml 48${PYSITELIB}/ZConfig/components/logger/component.xml
49${PYSITELIB}/ZConfig/components/logger/datatypes.py 49${PYSITELIB}/ZConfig/components/logger/datatypes.py
50${PYSITELIB}/ZConfig/components/logger/datatypes.pyc 50${PYSITELIB}/ZConfig/components/logger/datatypes.pyc
51${PYSITELIB}/ZConfig/components/logger/datatypes.pyo 51${PYSITELIB}/ZConfig/components/logger/datatypes.pyo
52${PYSITELIB}/ZConfig/components/logger/eventlog.xml 52${PYSITELIB}/ZConfig/components/logger/eventlog.xml
53${PYSITELIB}/ZConfig/components/logger/factory.py 53${PYSITELIB}/ZConfig/components/logger/factory.py
54${PYSITELIB}/ZConfig/components/logger/factory.pyc 54${PYSITELIB}/ZConfig/components/logger/factory.pyc
55${PYSITELIB}/ZConfig/components/logger/factory.pyo 55${PYSITELIB}/ZConfig/components/logger/factory.pyo
 56${PYSITELIB}/ZConfig/components/logger/formatter.py
 57${PYSITELIB}/ZConfig/components/logger/formatter.pyc
 58${PYSITELIB}/ZConfig/components/logger/formatter.pyo
56${PYSITELIB}/ZConfig/components/logger/handlers.py 59${PYSITELIB}/ZConfig/components/logger/handlers.py
57${PYSITELIB}/ZConfig/components/logger/handlers.pyc 60${PYSITELIB}/ZConfig/components/logger/handlers.pyc
58${PYSITELIB}/ZConfig/components/logger/handlers.pyo 61${PYSITELIB}/ZConfig/components/logger/handlers.pyo
59${PYSITELIB}/ZConfig/components/logger/handlers.xml 62${PYSITELIB}/ZConfig/components/logger/handlers.xml
60${PYSITELIB}/ZConfig/components/logger/logger.py 63${PYSITELIB}/ZConfig/components/logger/logger.py
61${PYSITELIB}/ZConfig/components/logger/logger.pyc 64${PYSITELIB}/ZConfig/components/logger/logger.pyc
62${PYSITELIB}/ZConfig/components/logger/logger.pyo 65${PYSITELIB}/ZConfig/components/logger/logger.pyo
63${PYSITELIB}/ZConfig/components/logger/logger.xml 66${PYSITELIB}/ZConfig/components/logger/logger.xml
64${PYSITELIB}/ZConfig/components/logger/loghandler.py 67${PYSITELIB}/ZConfig/components/logger/loghandler.py
65${PYSITELIB}/ZConfig/components/logger/loghandler.pyc 68${PYSITELIB}/ZConfig/components/logger/loghandler.pyc
66${PYSITELIB}/ZConfig/components/logger/loghandler.pyo 69${PYSITELIB}/ZConfig/components/logger/loghandler.pyo
67${PYSITELIB}/ZConfig/components/logger/tests/__init__.py 70${PYSITELIB}/ZConfig/components/logger/tests/__init__.py
68${PYSITELIB}/ZConfig/components/logger/tests/__init__.pyc 71${PYSITELIB}/ZConfig/components/logger/tests/__init__.pyc
69${PYSITELIB}/ZConfig/components/logger/tests/__init__.pyo 72${PYSITELIB}/ZConfig/components/logger/tests/__init__.pyo
 73${PYSITELIB}/ZConfig/components/logger/tests/support.py
 74${PYSITELIB}/ZConfig/components/logger/tests/support.pyc
 75${PYSITELIB}/ZConfig/components/logger/tests/support.pyo
 76${PYSITELIB}/ZConfig/components/logger/tests/test_formatter.py
 77${PYSITELIB}/ZConfig/components/logger/tests/test_formatter.pyc
 78${PYSITELIB}/ZConfig/components/logger/tests/test_formatter.pyo
70${PYSITELIB}/ZConfig/components/logger/tests/test_logger.py 79${PYSITELIB}/ZConfig/components/logger/tests/test_logger.py
71${PYSITELIB}/ZConfig/components/logger/tests/test_logger.pyc 80${PYSITELIB}/ZConfig/components/logger/tests/test_logger.pyc
72${PYSITELIB}/ZConfig/components/logger/tests/test_logger.pyo 81${PYSITELIB}/ZConfig/components/logger/tests/test_logger.pyo
73${PYSITELIB}/ZConfig/datatypes.py 82${PYSITELIB}/ZConfig/datatypes.py
74${PYSITELIB}/ZConfig/datatypes.pyc 83${PYSITELIB}/ZConfig/datatypes.pyc
75${PYSITELIB}/ZConfig/datatypes.pyo 84${PYSITELIB}/ZConfig/datatypes.pyo
76${PYSITELIB}/ZConfig/info.py 85${PYSITELIB}/ZConfig/info.py
77${PYSITELIB}/ZConfig/info.pyc 86${PYSITELIB}/ZConfig/info.pyc
78${PYSITELIB}/ZConfig/info.pyo 87${PYSITELIB}/ZConfig/info.pyo
79${PYSITELIB}/ZConfig/loader.py 88${PYSITELIB}/ZConfig/loader.py
80${PYSITELIB}/ZConfig/loader.pyc 89${PYSITELIB}/ZConfig/loader.pyc
81${PYSITELIB}/ZConfig/loader.pyo 90${PYSITELIB}/ZConfig/loader.pyo
82${PYSITELIB}/ZConfig/matcher.py 91${PYSITELIB}/ZConfig/matcher.py

cvs diff -r1.6 -r1.7 pkgsrc/devel/py-zconfig/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-zconfig/distinfo 2018/10/23 09:46:43 1.6
+++ pkgsrc/devel/py-zconfig/distinfo 2019/02/18 12:48:58 1.7
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.6 2018/10/23 09:46:43 adam Exp $ 1$NetBSD: distinfo,v 1.7 2019/02/18 12:48:58 adam Exp $
2 2
3SHA1 (ZConfig-3.3.0.tar.gz) = 6978cff09d6af1e46b13d2e2d919232d93598f0e 3SHA1 (ZConfig-3.4.0.tar.gz) = a90792d3611445b6d4f2a704a7db3a986397bc64
4RMD160 (ZConfig-3.3.0.tar.gz) = 4ae2034fba8a1e26ff05872ce491bfe060ecec66 4RMD160 (ZConfig-3.4.0.tar.gz) = c1bdecc29bbb150d271e32dc61e79eca2640a959
5SHA512 (ZConfig-3.3.0.tar.gz) = 47c166f04dafbf3391e0d5b323751728b8d87e63a3eb37837ce7bab3d31ab52f1d3d7236aa9d35fd81a248b72811f73796d0c21b5b657758f0f22068a8d9ec74 5SHA512 (ZConfig-3.4.0.tar.gz) = de6589b50200be10604bb898465b8ea2bcc6bf66dcbc32e22359bd04d6d4e81a25797e9b3fe195052503b06aa5fa3253b8dfc6d003d24b3b08d5e5b1779382b3
6Size (ZConfig-3.3.0.tar.gz) = 113198 bytes 6Size (ZConfig-3.4.0.tar.gz) = 121009 bytes