pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-zconfig py-zconfig: update to 3.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8b418abeb7f
branches:  trunk
changeset: 371974:d8b418abeb7f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Nov 25 12:39:16 2017 +0000

description:
py-zconfig: update to 3.2.0.

3.2.0 (2017-06-22)
------------------

- Drop support for Python 2.6 and 3.2 and add support for Python 3.6.

- Run tests with pypy and pypy3 as well.

- Host docs at https://zconfig.readthedocs.io

- BaseLoader is now an abstract class that cannot be instantiated.

- Allow ``nan``, ``inf`` and ``-inf`` values for floats in
  configurations. See
  https://github.com/zopefoundation/ZConfig/issues/16.

- Scripts ``zconfig`` (for schema validation) and
  ``zconfig_schema2html`` are ported to Python 3.

- A new ``ZConfig.sphinx`` `Sphinx extension
  <https://zconfig.readthedocs.io/en/latest/documenting-components.html#documenting-components>`_
  facilitates automatically documenting ZConfig components using their
  description and examples in Sphinx documentation. See
  https://github.com/zopefoundation/ZConfig/pull/25.

- Simplify internal schema processing of max and min occurrence
  values. See https://github.com/zopefoundation/ZConfig/issues/15.

- Almost all uses of ``type`` as a parameter name have been replaced
  with ``type_`` to avoid shadowing a builtin. These were typically
  not public APIs and weren't expected to be called with keyword
  arguments so there should not be any user-visible changes. See
  https://github.com/zopefoundation/ZConfig/issues/17

3.1.0 (2015-10-17)
------------------

- Add ability to do variable substitution from environment variables using
  $() syntax.

3.0.4 (2014-03-20)
------------------

- Added Python 3.4 support.


3.0.3 (2013-03-02)
------------------

- Added Python 3.2 support.


3.0.2 (2013-02-14)
------------------

- Fixed ResourceWarning in BaseLoader.openResource().


3.0.1 (2013-02-13)
------------------

- Removed an accidentally left `pdb` statement from the code.

- Fix a bug in Python 3 with the custom string `repr()` function.


3.0.0 (2013-02-13)
------------------

- Added Python 3.3 support.

- Dropped Python 2.4 and 2.5 support.


2.9.3 (2012-06-25)
------------------

- Fixed: port values of 0 weren't allowed.  Port 0 is used to request
  an ephemeral port.


2.9.2 (2012-02-11)
------------------

- Adjust test classes to avoid base classes being considered separate
  test cases by (at least) the "nose" test runner.


2.9.1 (2012-02-11)
------------------

- Make FileHandler.reopen thread safe.


2.9.0 (2011-03-22)
------------------

- Allow identical redefinition of ``%define`` names.
- Added support for IPv6 addresses.


2.8.0 (2010-04-13)
------------------

- Fix relative path recognition.
  https://bugs.launchpad.net/zconfig/+bug/405687

- Added SMTP authentication support for email logger on Python 2.6.


2.7.1 (2009-06-13)
------------------

- Improved documentation

- Fixed tests failures on windows.


2.7.0 (2009-06-11)
------------------

- Added a convenience function, ``ZConfig.configureLoggers(text)`` for
  configuring loggers.

- Relaxed the requirement for a logger name in logger sections,
  allowing the logger section to be used for both root and non-root
  loggers.

diffstat:

 devel/py-zconfig/Makefile |  17 +++++++----------
 devel/py-zconfig/PLIST    |  37 +++++++++++++++++++++++++++++++++++--
 devel/py-zconfig/distinfo |  10 +++++-----
 3 files changed, 47 insertions(+), 17 deletions(-)

diffs (142 lines):

diff -r a5788f47e7a2 -r d8b418abeb7f devel/py-zconfig/Makefile
--- a/devel/py-zconfig/Makefile Sat Nov 25 12:23:41 2017 +0000
+++ b/devel/py-zconfig/Makefile Sat Nov 25 12:39:16 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2017/09/04 18:00:52 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2017/11/25 12:39:16 wiz Exp $
 
-DISTNAME=              ZConfig-2.6.1
+DISTNAME=              ZConfig-3.2.0
 PKGNAME=               ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=            devel python
 MASTER_SITES=          ${MASTER_SITE_PYPI:=Z/ZConfig/}
@@ -10,15 +10,12 @@
 COMMENT=               Configuration library
 #LICENSE=              zope-public-license-v2.1
 
-USE_LANGUAGES=         # empty
-
-INSTALLATION_DIRS+=    share/doc/py-zconfig
+# TEST_DEPENDS
+BUILD_DEPENDS+=                ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+#BUILD_DEPENDS+=               ${PYPKGPREFIX}-manuel-[0-9]*:../../?/py-manuel
+#BUILD_DEPENDS+=               ${PYPKGPREFIX}-zope-testrunner-[0-9]*:../../?/py-zope-testrunner
 
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36
-
-post-install:
-       ${INSTALL_DATA} ${WRKSRC}/doc/zconfig.pdf \
-               ${DESTDIR}${PREFIX}/share/doc/py-zconfig
+USE_LANGUAGES=         # empty
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a5788f47e7a2 -r d8b418abeb7f devel/py-zconfig/PLIST
--- a/devel/py-zconfig/PLIST    Sat Nov 25 12:23:41 2017 +0000
+++ b/devel/py-zconfig/PLIST    Sat Nov 25 12:39:16 2017 +0000
@@ -1,14 +1,22 @@
-@comment $NetBSD: PLIST,v 1.4 2010/01/23 11:19:03 obache Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/11/25 12:39:16 wiz Exp $
 bin/zconfig
 bin/zconfig_schema2html
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/ZConfig/__init__.py
 ${PYSITELIB}/ZConfig/__init__.pyc
 ${PYSITELIB}/ZConfig/__init__.pyo
+${PYSITELIB}/ZConfig/_compat.py
+${PYSITELIB}/ZConfig/_compat.pyc
+${PYSITELIB}/ZConfig/_compat.pyo
+${PYSITELIB}/ZConfig/_schema_utils.py
+${PYSITELIB}/ZConfig/_schema_utils.pyc
+${PYSITELIB}/ZConfig/_schema_utils.pyo
 ${PYSITELIB}/ZConfig/cfgparser.py
 ${PYSITELIB}/ZConfig/cfgparser.pyc
 ${PYSITELIB}/ZConfig/cfgparser.pyo
@@ -77,16 +85,24 @@
 ${PYSITELIB}/ZConfig/schema.py
 ${PYSITELIB}/ZConfig/schema.pyc
 ${PYSITELIB}/ZConfig/schema.pyo
+${PYSITELIB}/ZConfig/schema2html.py
+${PYSITELIB}/ZConfig/schema2html.pyc
+${PYSITELIB}/ZConfig/schema2html.pyo
 ${PYSITELIB}/ZConfig/schemaless.py
 ${PYSITELIB}/ZConfig/schemaless.pyc
 ${PYSITELIB}/ZConfig/schemaless.pyo
 ${PYSITELIB}/ZConfig/schemaless.txt
+${PYSITELIB}/ZConfig/sphinx.py
+${PYSITELIB}/ZConfig/sphinx.pyc
+${PYSITELIB}/ZConfig/sphinx.pyo
 ${PYSITELIB}/ZConfig/substitution.py
 ${PYSITELIB}/ZConfig/substitution.pyc
 ${PYSITELIB}/ZConfig/substitution.pyo
 ${PYSITELIB}/ZConfig/tests/__init__.py
 ${PYSITELIB}/ZConfig/tests/__init__.pyc
 ${PYSITELIB}/ZConfig/tests/__init__.pyo
+${PYSITELIB}/ZConfig/tests/bad-component.xml
+${PYSITELIB}/ZConfig/tests/bad-component2.xml
 ${PYSITELIB}/ZConfig/tests/foosample.zip
 ${PYSITELIB}/ZConfig/tests/input/base-datatype1.xml
 ${PYSITELIB}/ZConfig/tests/input/base-datatype2.xml
@@ -134,18 +150,33 @@
 ${PYSITELIB}/ZConfig/tests/test_datatypes.py
 ${PYSITELIB}/ZConfig/tests/test_datatypes.pyc
 ${PYSITELIB}/ZConfig/tests/test_datatypes.pyo
+${PYSITELIB}/ZConfig/tests/test_info.py
+${PYSITELIB}/ZConfig/tests/test_info.pyc
+${PYSITELIB}/ZConfig/tests/test_info.pyo
 ${PYSITELIB}/ZConfig/tests/test_loader.py
 ${PYSITELIB}/ZConfig/tests/test_loader.pyc
 ${PYSITELIB}/ZConfig/tests/test_loader.pyo
+${PYSITELIB}/ZConfig/tests/test_matcher.py
+${PYSITELIB}/ZConfig/tests/test_matcher.pyc
+${PYSITELIB}/ZConfig/tests/test_matcher.pyo
+${PYSITELIB}/ZConfig/tests/test_readme.py
+${PYSITELIB}/ZConfig/tests/test_readme.pyc
+${PYSITELIB}/ZConfig/tests/test_readme.pyo
 ${PYSITELIB}/ZConfig/tests/test_schema.py
 ${PYSITELIB}/ZConfig/tests/test_schema.pyc
 ${PYSITELIB}/ZConfig/tests/test_schema.pyo
+${PYSITELIB}/ZConfig/tests/test_schema2html.py
+${PYSITELIB}/ZConfig/tests/test_schema2html.pyc
+${PYSITELIB}/ZConfig/tests/test_schema2html.pyo
 ${PYSITELIB}/ZConfig/tests/test_schemaless.py
 ${PYSITELIB}/ZConfig/tests/test_schemaless.pyc
 ${PYSITELIB}/ZConfig/tests/test_schemaless.pyo
 ${PYSITELIB}/ZConfig/tests/test_subst.py
 ${PYSITELIB}/ZConfig/tests/test_subst.pyc
 ${PYSITELIB}/ZConfig/tests/test_subst.pyo
+${PYSITELIB}/ZConfig/tests/test_validator.py
+${PYSITELIB}/ZConfig/tests/test_validator.pyc
+${PYSITELIB}/ZConfig/tests/test_validator.pyo
 ${PYSITELIB}/ZConfig/tests/zipsource/README.txt
 ${PYSITELIB}/ZConfig/tests/zipsource/foo/__init__.py
 ${PYSITELIB}/ZConfig/tests/zipsource/foo/__init__.pyc
@@ -160,4 +191,6 @@
 ${PYSITELIB}/ZConfig/url.py
 ${PYSITELIB}/ZConfig/url.pyc
 ${PYSITELIB}/ZConfig/url.pyo
-share/doc/py-zconfig/zconfig.pdf
+${PYSITELIB}/ZConfig/validator.py
+${PYSITELIB}/ZConfig/validator.pyc
+${PYSITELIB}/ZConfig/validator.pyo
diff -r a5788f47e7a2 -r d8b418abeb7f devel/py-zconfig/distinfo
--- a/devel/py-zconfig/distinfo Sat Nov 25 12:23:41 2017 +0000
+++ b/devel/py-zconfig/distinfo Sat Nov 25 12:39:16 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:29:18 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/11/25 12:39:16 wiz Exp $
 
-SHA1 (ZConfig-2.6.1.tar.gz) = 720e213a83f63407ac810cd02b2768fd4ef0bcf1
-RMD160 (ZConfig-2.6.1.tar.gz) = bce5ad7119b532691fb4494cd6c7ea65120e839c
-SHA512 (ZConfig-2.6.1.tar.gz) = 42c1e06e991b6109532faf3adf16655100072cf925d36cac3b3ff03bc9451af50714e47a8761b90938a22014ed8959b33c90ee1ead5c8773f9d015194a268a66
-Size (ZConfig-2.6.1.tar.gz) = 251631 bytes
+SHA1 (ZConfig-3.2.0.tar.gz) = 6189b15e67c00cf28cb47832885643af2d6f942f
+RMD160 (ZConfig-3.2.0.tar.gz) = a333b762509990aa7140633e6be05c7573386346
+SHA512 (ZConfig-3.2.0.tar.gz) = 9e39e2a06a2c6da45d45989fa5806f0238b7fbcda46a02f13a7f36d60d09729f260f7c22de677b21ea3f7c520a39b72ceeb664ac4055e37d3a7b223b27dd3d7b
+Size (ZConfig-3.2.0.tar.gz) = 115162 bytes



Home | Main Index | Thread Index | Old Index