pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-xmlschema



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Apr 12 11:39:10 UTC 2025

Modified Files:
        pkgsrc/textproc/py-xmlschema: Makefile PLIST distinfo

Log Message:
py-xmlschema: updated to 4.0.0

v4.0.0

* Extend support of `lxml.etree` through *iterparse* optional argument
* Rework internal decoding/encoding methods, replacing generators with normal functions
* Replace kwargs with a validation context (DecodeContext and EncodeContext)
* Add SchemaLoader class and variants
* Slicing of XsdGlobals with parent maps
* Fix `XsdUnion` validation performance issue
* Drop support for Python 3.8


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/textproc/py-xmlschema/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/textproc/py-xmlschema/PLIST
cvs rdiff -u -r1.59 -r1.60 pkgsrc/textproc/py-xmlschema/distinfo

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

Modified files:

Index: pkgsrc/textproc/py-xmlschema/Makefile
diff -u pkgsrc/textproc/py-xmlschema/Makefile:1.63 pkgsrc/textproc/py-xmlschema/Makefile:1.64
--- pkgsrc/textproc/py-xmlschema/Makefile:1.63  Mon Nov 11 07:29:11 2024
+++ pkgsrc/textproc/py-xmlschema/Makefile       Sat Apr 12 11:39:10 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2024/11/11 07:29:11 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2025/04/12 11:39:10 adam Exp $
 
-DISTNAME=      xmlschema-3.4.3
+DISTNAME=      xmlschema-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xmlschema/}
@@ -10,8 +10,8 @@ HOMEPAGE=     https://github.com/brunato/xml
 COMMENT=       XML Schema validator and decoder
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-elementpath>=4.4.0:../../textproc/py-elementpath
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+DEPENDS+=      ${PYPKGPREFIX}-elementpath>=4.8.0:../../textproc/py-elementpath
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/textproc/py-xmlschema/PLIST
diff -u pkgsrc/textproc/py-xmlschema/PLIST:1.22 pkgsrc/textproc/py-xmlschema/PLIST:1.23
--- pkgsrc/textproc/py-xmlschema/PLIST:1.22     Mon Mar 18 08:53:08 2024
+++ pkgsrc/textproc/py-xmlschema/PLIST  Sat Apr 12 11:39:10 2025
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.22 2024/03/18 08:53:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.23 2025/04/12 11:39:10 adam Exp $
 bin/xmlschema-json2xml-${PYVERSSUFFIX}
 bin/xmlschema-validate-${PYVERSSUFFIX}
 bin/xmlschema-xml2json-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/xmlschema/__init__.py
 ${PYSITELIB}/xmlschema/__init__.pyc
@@ -26,12 +26,12 @@ ${PYSITELIB}/xmlschema/converters/abdera
 ${PYSITELIB}/xmlschema/converters/badgerfish.py
 ${PYSITELIB}/xmlschema/converters/badgerfish.pyc
 ${PYSITELIB}/xmlschema/converters/badgerfish.pyo
+${PYSITELIB}/xmlschema/converters/base.py
+${PYSITELIB}/xmlschema/converters/base.pyc
+${PYSITELIB}/xmlschema/converters/base.pyo
 ${PYSITELIB}/xmlschema/converters/columnar.py
 ${PYSITELIB}/xmlschema/converters/columnar.pyc
 ${PYSITELIB}/xmlschema/converters/columnar.pyo
-${PYSITELIB}/xmlschema/converters/default.py
-${PYSITELIB}/xmlschema/converters/default.pyc
-${PYSITELIB}/xmlschema/converters/default.pyo
 ${PYSITELIB}/xmlschema/converters/gdata.py
 ${PYSITELIB}/xmlschema/converters/gdata.pyc
 ${PYSITELIB}/xmlschema/converters/gdata.pyo
@@ -67,12 +67,12 @@ ${PYSITELIB}/xmlschema/extras/templates/
 ${PYSITELIB}/xmlschema/extras/wsdl.py
 ${PYSITELIB}/xmlschema/extras/wsdl.pyc
 ${PYSITELIB}/xmlschema/extras/wsdl.pyo
-${PYSITELIB}/xmlschema/helpers.py
-${PYSITELIB}/xmlschema/helpers.pyc
-${PYSITELIB}/xmlschema/helpers.pyo
 ${PYSITELIB}/xmlschema/limits.py
 ${PYSITELIB}/xmlschema/limits.pyc
 ${PYSITELIB}/xmlschema/limits.pyo
+${PYSITELIB}/xmlschema/loaders.py
+${PYSITELIB}/xmlschema/loaders.pyc
+${PYSITELIB}/xmlschema/loaders.pyo
 ${PYSITELIB}/xmlschema/locale/en/LC_MESSAGES/xmlschema.mo
 ${PYSITELIB}/xmlschema/locale/en/LC_MESSAGES/xmlschema.po
 ${PYSITELIB}/xmlschema/locale/it/LC_MESSAGES/xmlschema.mo
@@ -91,12 +91,27 @@ ${PYSITELIB}/xmlschema/namespaces.py
 ${PYSITELIB}/xmlschema/namespaces.pyc
 ${PYSITELIB}/xmlschema/namespaces.pyo
 ${PYSITELIB}/xmlschema/py.typed
-${PYSITELIB}/xmlschema/resources.py
-${PYSITELIB}/xmlschema/resources.pyc
-${PYSITELIB}/xmlschema/resources.pyo
+${PYSITELIB}/xmlschema/resources/__init__.py
+${PYSITELIB}/xmlschema/resources/__init__.pyc
+${PYSITELIB}/xmlschema/resources/__init__.pyo
+${PYSITELIB}/xmlschema/resources/arguments.py
+${PYSITELIB}/xmlschema/resources/arguments.pyc
+${PYSITELIB}/xmlschema/resources/arguments.pyo
+${PYSITELIB}/xmlschema/resources/fetchers.py
+${PYSITELIB}/xmlschema/resources/fetchers.pyc
+${PYSITELIB}/xmlschema/resources/fetchers.pyo
+${PYSITELIB}/xmlschema/resources/sax.py
+${PYSITELIB}/xmlschema/resources/sax.pyc
+${PYSITELIB}/xmlschema/resources/sax.pyo
+${PYSITELIB}/xmlschema/resources/xml_loader.py
+${PYSITELIB}/xmlschema/resources/xml_loader.pyc
+${PYSITELIB}/xmlschema/resources/xml_loader.pyo
+${PYSITELIB}/xmlschema/resources/xml_resource.py
+${PYSITELIB}/xmlschema/resources/xml_resource.pyc
+${PYSITELIB}/xmlschema/resources/xml_resource.pyo
 ${PYSITELIB}/xmlschema/schemas/DSIG/xmldsig-core-schema.xsd
 ${PYSITELIB}/xmlschema/schemas/DSIG/xmldsig11-schema.xsd
-${PYSITELIB}/xmlschema/schemas/HFP/XMLSchema-hasFacetAndProperty_minimal.xsd
+${PYSITELIB}/xmlschema/schemas/HFP/XMLSchema-hasFacetAndProperty.xsd
 ${PYSITELIB}/xmlschema/schemas/VC/XMLSchema-versioning.xsd
 ${PYSITELIB}/xmlschema/schemas/WSDL/soap-encoding.xsd
 ${PYSITELIB}/xmlschema/schemas/WSDL/soap-envelope.xsd
@@ -106,22 +121,19 @@ ${PYSITELIB}/xmlschema/schemas/XENC/xenc
 ${PYSITELIB}/xmlschema/schemas/XENC/xenc-schema.xsd
 ${PYSITELIB}/xmlschema/schemas/XHTML/xhtml1-strict.xsd
 ${PYSITELIB}/xmlschema/schemas/XLINK/xlink.xsd
-${PYSITELIB}/xmlschema/schemas/XML/xml_minimal.xsd
+${PYSITELIB}/xmlschema/schemas/XML/xml.xsd
 ${PYSITELIB}/xmlschema/schemas/XSD_1.0/XMLSchema.xsd
 ${PYSITELIB}/xmlschema/schemas/XSD_1.0/datatypes.xsd
 ${PYSITELIB}/xmlschema/schemas/XSD_1.1/XMLSchema.xsd
 ${PYSITELIB}/xmlschema/schemas/XSD_1.1/datatypes.xsd
 ${PYSITELIB}/xmlschema/schemas/XSD_1.1/xsd11-extra.xsd
-${PYSITELIB}/xmlschema/schemas/XSI/XMLSchema-instance_minimal.xsd
+${PYSITELIB}/xmlschema/schemas/XSI/XMLSchema-instance.xsd
 ${PYSITELIB}/xmlschema/testing/__init__.py
 ${PYSITELIB}/xmlschema/testing/__init__.pyc
 ${PYSITELIB}/xmlschema/testing/__init__.pyo
 ${PYSITELIB}/xmlschema/testing/_builders.py
 ${PYSITELIB}/xmlschema/testing/_builders.pyc
 ${PYSITELIB}/xmlschema/testing/_builders.pyo
-${PYSITELIB}/xmlschema/testing/_case_class.py
-${PYSITELIB}/xmlschema/testing/_case_class.pyc
-${PYSITELIB}/xmlschema/testing/_case_class.pyo
 ${PYSITELIB}/xmlschema/testing/_factory.py
 ${PYSITELIB}/xmlschema/testing/_factory.pyc
 ${PYSITELIB}/xmlschema/testing/_factory.pyo
@@ -131,9 +143,45 @@ ${PYSITELIB}/xmlschema/testing/_helpers.
 ${PYSITELIB}/xmlschema/testing/_observers.py
 ${PYSITELIB}/xmlschema/testing/_observers.pyc
 ${PYSITELIB}/xmlschema/testing/_observers.pyo
+${PYSITELIB}/xmlschema/testing/_test_case_classes.py
+${PYSITELIB}/xmlschema/testing/_test_case_classes.pyc
+${PYSITELIB}/xmlschema/testing/_test_case_classes.pyo
 ${PYSITELIB}/xmlschema/translation.py
 ${PYSITELIB}/xmlschema/translation.pyc
 ${PYSITELIB}/xmlschema/translation.pyo
+${PYSITELIB}/xmlschema/utils/__init__.py
+${PYSITELIB}/xmlschema/utils/__init__.pyc
+${PYSITELIB}/xmlschema/utils/__init__.pyo
+${PYSITELIB}/xmlschema/utils/decoding.py
+${PYSITELIB}/xmlschema/utils/decoding.pyc
+${PYSITELIB}/xmlschema/utils/decoding.pyo
+${PYSITELIB}/xmlschema/utils/descriptors.py
+${PYSITELIB}/xmlschema/utils/descriptors.pyc
+${PYSITELIB}/xmlschema/utils/descriptors.pyo
+${PYSITELIB}/xmlschema/utils/etree.py
+${PYSITELIB}/xmlschema/utils/etree.pyc
+${PYSITELIB}/xmlschema/utils/etree.pyo
+${PYSITELIB}/xmlschema/utils/logger.py
+${PYSITELIB}/xmlschema/utils/logger.pyc
+${PYSITELIB}/xmlschema/utils/logger.pyo
+${PYSITELIB}/xmlschema/utils/misc.py
+${PYSITELIB}/xmlschema/utils/misc.pyc
+${PYSITELIB}/xmlschema/utils/misc.pyo
+${PYSITELIB}/xmlschema/utils/paths.py
+${PYSITELIB}/xmlschema/utils/paths.pyc
+${PYSITELIB}/xmlschema/utils/paths.pyo
+${PYSITELIB}/xmlschema/utils/protocols.py
+${PYSITELIB}/xmlschema/utils/protocols.pyc
+${PYSITELIB}/xmlschema/utils/protocols.pyo
+${PYSITELIB}/xmlschema/utils/qnames.py
+${PYSITELIB}/xmlschema/utils/qnames.pyc
+${PYSITELIB}/xmlschema/utils/qnames.pyo
+${PYSITELIB}/xmlschema/utils/streams.py
+${PYSITELIB}/xmlschema/utils/streams.pyc
+${PYSITELIB}/xmlschema/utils/streams.pyo
+${PYSITELIB}/xmlschema/utils/urls.py
+${PYSITELIB}/xmlschema/utils/urls.pyc
+${PYSITELIB}/xmlschema/utils/urls.pyo
 ${PYSITELIB}/xmlschema/validators/__init__.py
 ${PYSITELIB}/xmlschema/validators/__init__.pyc
 ${PYSITELIB}/xmlschema/validators/__init__.pyo
@@ -143,6 +191,9 @@ ${PYSITELIB}/xmlschema/validators/assert
 ${PYSITELIB}/xmlschema/validators/attributes.py
 ${PYSITELIB}/xmlschema/validators/attributes.pyc
 ${PYSITELIB}/xmlschema/validators/attributes.pyo
+${PYSITELIB}/xmlschema/validators/builders.py
+${PYSITELIB}/xmlschema/validators/builders.pyc
+${PYSITELIB}/xmlschema/validators/builders.pyo
 ${PYSITELIB}/xmlschema/validators/builtins.py
 ${PYSITELIB}/xmlschema/validators/builtins.pyc
 ${PYSITELIB}/xmlschema/validators/builtins.pyo
@@ -158,9 +209,6 @@ ${PYSITELIB}/xmlschema/validators/except
 ${PYSITELIB}/xmlschema/validators/facets.py
 ${PYSITELIB}/xmlschema/validators/facets.pyc
 ${PYSITELIB}/xmlschema/validators/facets.pyo
-${PYSITELIB}/xmlschema/validators/global_maps.py
-${PYSITELIB}/xmlschema/validators/global_maps.pyc
-${PYSITELIB}/xmlschema/validators/global_maps.pyo
 ${PYSITELIB}/xmlschema/validators/groups.py
 ${PYSITELIB}/xmlschema/validators/groups.pyc
 ${PYSITELIB}/xmlschema/validators/groups.pyo
@@ -185,9 +233,15 @@ ${PYSITELIB}/xmlschema/validators/schema
 ${PYSITELIB}/xmlschema/validators/simple_types.py
 ${PYSITELIB}/xmlschema/validators/simple_types.pyc
 ${PYSITELIB}/xmlschema/validators/simple_types.pyo
+${PYSITELIB}/xmlschema/validators/validation.py
+${PYSITELIB}/xmlschema/validators/validation.pyc
+${PYSITELIB}/xmlschema/validators/validation.pyo
 ${PYSITELIB}/xmlschema/validators/wildcards.py
 ${PYSITELIB}/xmlschema/validators/wildcards.pyc
 ${PYSITELIB}/xmlschema/validators/wildcards.pyo
+${PYSITELIB}/xmlschema/validators/xsd_globals.py
+${PYSITELIB}/xmlschema/validators/xsd_globals.pyc
+${PYSITELIB}/xmlschema/validators/xsd_globals.pyo
 ${PYSITELIB}/xmlschema/validators/xsdbase.py
 ${PYSITELIB}/xmlschema/validators/xsdbase.pyc
 ${PYSITELIB}/xmlschema/validators/xsdbase.pyo
@@ -206,6 +260,6 @@ ${PYSITELIB}/xmlschema/xpath/mixin.pyo
 ${PYSITELIB}/xmlschema/xpath/proxy.py
 ${PYSITELIB}/xmlschema/xpath/proxy.pyc
 ${PYSITELIB}/xmlschema/xpath/proxy.pyo
-${PYSITELIB}/xmlschema/xpath3.py
-${PYSITELIB}/xmlschema/xpath3.pyc
-${PYSITELIB}/xmlschema/xpath3.pyo
+${PYSITELIB}/xmlschema/xpath/xpath3.py
+${PYSITELIB}/xmlschema/xpath/xpath3.pyc
+${PYSITELIB}/xmlschema/xpath/xpath3.pyo

Index: pkgsrc/textproc/py-xmlschema/distinfo
diff -u pkgsrc/textproc/py-xmlschema/distinfo:1.59 pkgsrc/textproc/py-xmlschema/distinfo:1.60
--- pkgsrc/textproc/py-xmlschema/distinfo:1.59  Sun Nov  3 12:17:32 2024
+++ pkgsrc/textproc/py-xmlschema/distinfo       Sat Apr 12 11:39:10 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.59 2024/11/03 12:17:32 adam Exp $
+$NetBSD: distinfo,v 1.60 2025/04/12 11:39:10 adam Exp $
 
-BLAKE2s (xmlschema-3.4.3.tar.gz) = 2781c17149e2860045db96fa425413ec5af1ed9749e03f5ead2252e9a56fb29c
-SHA512 (xmlschema-3.4.3.tar.gz) = 7645ea820ec6f469e560ffaba10948b185d9dcfc7a5d4cde1a5062f20b904cb97ffbc7f57893768879a192cbb63208a5c6f79775d09be650d24a54b1bb7e9176
-Size (xmlschema-3.4.3.tar.gz) = 585144 bytes
+BLAKE2s (xmlschema-4.0.0.tar.gz) = e53faf5e085caf150779e7482593ee80b4d634dae22ee78a1ca2630909084f95
+SHA512 (xmlschema-4.0.0.tar.gz) = 7246f4449d172f9f5b0d2a70d649d0a7820fb628008884edc85e7742b26a2f1b9f08a3b176b52b639ab84189152c723bbbab317396d3bc3647a21aecd0ff92f9
+Size (xmlschema-4.0.0.tar.gz) = 624545 bytes



Home | Main Index | Thread Index | Old Index