pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc py-xmlschema: added version 1.0.15
details: https://anonhg.NetBSD.org/pkgsrc/rev/25ab46a595ab
branches: trunk
changeset: 403174:25ab46a595ab
user: adam <adam%pkgsrc.org@localhost>
date: Tue Oct 22 17:32:02 2019 +0000
description:
py-xmlschema: added version 1.0.15
The xmlschema library is an implementation of XML Schema for Python (supports
Python 2.7 and Python 3.5+).
This library arises from the needs of a solid Python layer for processing XML
Schema based files for MaX (Materials design at the Exascale) European project.
A significant problem is the encoding and the decoding of the XML data files
produced by different simulation software. Another important requirement is the
XML data validation, in order to put the produced data under control. The lack
of a suitable alternative for Python in the schema-based decoding of XML data
has led to build this library. Obviously this library can be useful for other
cases related to XML Schema based processing, not only for the original scope.
diffstat:
textproc/Makefile | 4 +-
textproc/py-xmlschema/DESCR | 11 +
textproc/py-xmlschema/Makefile | 22 ++
textproc/py-xmlschema/PLIST | 335 +++++++++++++++++++++++++++++++++++++++++
textproc/py-xmlschema/distinfo | 6 +
5 files changed, 377 insertions(+), 1 deletions(-)
diffs (truncated from 415 to 300 lines):
diff -r 7f08b063f631 -r 25ab46a595ab textproc/Makefile
--- a/textproc/Makefile Tue Oct 22 17:28:46 2019 +0000
+++ b/textproc/Makefile Tue Oct 22 17:32:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1064 2019/10/21 21:06:04 adam Exp $
+# $NetBSD: Makefile,v 1.1065 2019/10/22 17:32:02 adam Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -788,6 +788,7 @@
SUBDIR+= py-docx
SUBDIR+= py-dominate
SUBDIR+= py-ejson
+SUBDIR+= py-elementpath
SUBDIR+= py-elementtree
SUBDIR+= py-empy
SUBDIR+= py-enchant
@@ -900,6 +901,7 @@
SUBDIR+= py-xlsxwriter
SUBDIR+= py-xlwt
SUBDIR+= py-xml
+SUBDIR+= py-xmlschema
SUBDIR+= py-xmltodict
SUBDIR+= py-yamcha
SUBDIR+= py-yaml
diff -r 7f08b063f631 -r 25ab46a595ab textproc/py-xmlschema/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-xmlschema/DESCR Tue Oct 22 17:32:02 2019 +0000
@@ -0,0 +1,11 @@
+The xmlschema library is an implementation of XML Schema for Python (supports
+Python 2.7 and Python 3.5+).
+
+This library arises from the needs of a solid Python layer for processing XML
+Schema based files for MaX (Materials design at the Exascale) European project.
+A significant problem is the encoding and the decoding of the XML data files
+produced by different simulation software. Another important requirement is the
+XML data validation, in order to put the produced data under control. The lack
+of a suitable alternative for Python in the schema-based decoding of XML data
+has led to build this library. Obviously this library can be useful for other
+cases related to XML Schema based processing, not only for the original scope.
diff -r 7f08b063f631 -r 25ab46a595ab textproc/py-xmlschema/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-xmlschema/Makefile Tue Oct 22 17:32:02 2019 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/10/22 17:32:03 adam Exp $
+
+DISTNAME= xmlschema-1.0.15
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=x/xmlschema/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/brunato/xmlschema
+COMMENT= XML Schema validator and decoder
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-elementpath>=1.3.0:../../textproc/py-elementpath
+
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON+= xmlschema/tests/check_etree_import.py
+REPLACE_PYTHON+= xmlschema/tests/check_memory.py
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7f08b063f631 -r 25ab46a595ab textproc/py-xmlschema/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-xmlschema/PLIST Tue Oct 22 17:32:02 2019 +0000
@@ -0,0 +1,335 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/22 17:32:03 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/xmlschema/__init__.py
+${PYSITELIB}/xmlschema/__init__.pyc
+${PYSITELIB}/xmlschema/__init__.pyo
+${PYSITELIB}/xmlschema/codepoints.py
+${PYSITELIB}/xmlschema/codepoints.pyc
+${PYSITELIB}/xmlschema/codepoints.pyo
+${PYSITELIB}/xmlschema/compat.py
+${PYSITELIB}/xmlschema/compat.pyc
+${PYSITELIB}/xmlschema/compat.pyo
+${PYSITELIB}/xmlschema/converters.py
+${PYSITELIB}/xmlschema/converters.pyc
+${PYSITELIB}/xmlschema/converters.pyo
+${PYSITELIB}/xmlschema/documents.py
+${PYSITELIB}/xmlschema/documents.pyc
+${PYSITELIB}/xmlschema/documents.pyo
+${PYSITELIB}/xmlschema/etree.py
+${PYSITELIB}/xmlschema/etree.pyc
+${PYSITELIB}/xmlschema/etree.pyo
+${PYSITELIB}/xmlschema/exceptions.py
+${PYSITELIB}/xmlschema/exceptions.pyc
+${PYSITELIB}/xmlschema/exceptions.pyo
+${PYSITELIB}/xmlschema/helpers.py
+${PYSITELIB}/xmlschema/helpers.pyc
+${PYSITELIB}/xmlschema/helpers.pyo
+${PYSITELIB}/xmlschema/namespaces.py
+${PYSITELIB}/xmlschema/namespaces.pyc
+${PYSITELIB}/xmlschema/namespaces.pyo
+${PYSITELIB}/xmlschema/qnames.py
+${PYSITELIB}/xmlschema/qnames.pyc
+${PYSITELIB}/xmlschema/qnames.pyo
+${PYSITELIB}/xmlschema/regex.py
+${PYSITELIB}/xmlschema/regex.pyc
+${PYSITELIB}/xmlschema/regex.pyo
+${PYSITELIB}/xmlschema/resources.py
+${PYSITELIB}/xmlschema/resources.pyc
+${PYSITELIB}/xmlschema/resources.pyo
+${PYSITELIB}/xmlschema/tests/__init__.py
+${PYSITELIB}/xmlschema/tests/__init__.pyc
+${PYSITELIB}/xmlschema/tests/__init__.pyo
+${PYSITELIB}/xmlschema/tests/check_etree_import.py
+${PYSITELIB}/xmlschema/tests/check_etree_import.pyc
+${PYSITELIB}/xmlschema/tests/check_etree_import.pyo
+${PYSITELIB}/xmlschema/tests/check_memory.py
+${PYSITELIB}/xmlschema/tests/check_memory.pyc
+${PYSITELIB}/xmlschema/tests/check_memory.pyo
+${PYSITELIB}/xmlschema/tests/test_all.py
+${PYSITELIB}/xmlschema/tests/test_all.pyc
+${PYSITELIB}/xmlschema/tests/test_all.pyo
+${PYSITELIB}/xmlschema/tests/test_cases/__init__.py
+${PYSITELIB}/xmlschema/tests/test_cases/__init__.pyc
+${PYSITELIB}/xmlschema/tests/test_cases/__init__.pyo
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection2.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection3.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection3.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection3bis.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection3bis.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/collection/collection4.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/bikes.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/cars.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/types.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/vehicles-1_error.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/vehicles-2_errors.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/vehicles-3_errors.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/vehicles-max.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/vehicles.xml
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/vehicles.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/examples/vehicles/vehicles2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/attributes/default_attributes-missing_group.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/attributes/default_attributes.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/builtins/builtins.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/builtins/builtins.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/decoder/data.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/decoder/data2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/decoder/data3.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/decoder/simple-types.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/derivations/complex-extensions.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/derivations/complex-with-simple-content-restriction.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/derivations/invalid_restrictions1.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/derivations/invalid_restrictions2.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/derivations/list_types.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/derivations/list_types.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/elements/test_alternatives-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/elements/type_alternatives-no-ns.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/elements/type_alternatives.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/billion_laughs_model.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/circular_model.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/illegal-attributes.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/illegal-declarations.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/illegal-occurs.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/invalid_models1.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/invalid_models2.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/model1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/models.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/other-ns.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/models/recursive-groups.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/chameleon1.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/chameleon2.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/chameleon3.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/default_ns_invalid.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/default_ns_valid1.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/default_ns_valid2.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/import-case1.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/import-case2.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/import-case3.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case1.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case1bis.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case2.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case2bis.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case3.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case4.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case5.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/include-case6.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/included3-valid.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/included4-invalid.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/included5-valid.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/namespaces/included6-invalid.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/features/patterns/patterns.xml
+${PYSITELIB}/xmlschema/tests/test_cases/features/patterns/patterns.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_008/issue_008.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_008/issue_008.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_009/issue_009.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_013/issue_013-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_013/issue_013-1.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_013/issue_013-2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_013/issue_013.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_013/issue_013.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_014/issue014.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_018/issue_018-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_018/issue_018.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_022/README.md
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_022/xml_string_1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_022/xml_string_2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_022/xsd_string.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_026/issue_026-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_026/issue_026-2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_026/issue_026-3.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_026/issue_026.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_028/issue_028-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_028/issue_028-2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_028/issue_028.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_029/issue_029-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_029/issue_029-2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_029/issue_029-3.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_029/issue_029.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_035/dates.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_035/dates.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_041/issue_041.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_041/issue_041.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_045/issue_045.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_046/issue_046.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_046/issue_046.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_051/issue_051.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_051/issue_051.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_073/issue_073-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_073/issue_073-2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_073/issue_073.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_086/issue_086-1.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_086/issue_086-2.xml
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_086/issue_086.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_105/issue_105.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_111/issue_111.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_111/issue_111_skeleton.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/issues/issue_115/Rotation.xsd
+${PYSITELIB}/xmlschema/tests/test_cases/resources/dummy file.txt
+${PYSITELIB}/xmlschema/tests/test_cases/resources/external_entity.xml
+${PYSITELIB}/xmlschema/tests/test_cases/resources/malformed.xml
+${PYSITELIB}/xmlschema/tests/test_cases/resources/unused_external_entity.xml
+${PYSITELIB}/xmlschema/tests/test_cases/resources/with_entity.xml
+${PYSITELIB}/xmlschema/tests/test_cases/testfiles
+${PYSITELIB}/xmlschema/tests/test_etree.py
+${PYSITELIB}/xmlschema/tests/test_etree.pyc
+${PYSITELIB}/xmlschema/tests/test_etree.pyo
+${PYSITELIB}/xmlschema/tests/test_factory/__init__.py
+${PYSITELIB}/xmlschema/tests/test_factory/__init__.pyc
+${PYSITELIB}/xmlschema/tests/test_factory/__init__.pyo
+${PYSITELIB}/xmlschema/tests/test_factory/arguments.py
+${PYSITELIB}/xmlschema/tests/test_factory/arguments.pyc
+${PYSITELIB}/xmlschema/tests/test_factory/arguments.pyo
+${PYSITELIB}/xmlschema/tests/test_factory/factory.py
+${PYSITELIB}/xmlschema/tests/test_factory/factory.pyc
+${PYSITELIB}/xmlschema/tests/test_factory/factory.pyo
+${PYSITELIB}/xmlschema/tests/test_factory/observers.py
+${PYSITELIB}/xmlschema/tests/test_factory/observers.pyc
+${PYSITELIB}/xmlschema/tests/test_factory/observers.pyo
+${PYSITELIB}/xmlschema/tests/test_factory/schema_tests.py
+${PYSITELIB}/xmlschema/tests/test_factory/schema_tests.pyc
+${PYSITELIB}/xmlschema/tests/test_factory/schema_tests.pyo
+${PYSITELIB}/xmlschema/tests/test_factory/validation_tests.py
+${PYSITELIB}/xmlschema/tests/test_factory/validation_tests.pyc
+${PYSITELIB}/xmlschema/tests/test_factory/validation_tests.pyo
+${PYSITELIB}/xmlschema/tests/test_files.py
+${PYSITELIB}/xmlschema/tests/test_files.pyc
+${PYSITELIB}/xmlschema/tests/test_files.pyo
+${PYSITELIB}/xmlschema/tests/test_helpers.py
+${PYSITELIB}/xmlschema/tests/test_helpers.pyc
+${PYSITELIB}/xmlschema/tests/test_helpers.pyo
+${PYSITELIB}/xmlschema/tests/test_memory.py
+${PYSITELIB}/xmlschema/tests/test_memory.pyc
+${PYSITELIB}/xmlschema/tests/test_memory.pyo
+${PYSITELIB}/xmlschema/tests/test_meta.py
+${PYSITELIB}/xmlschema/tests/test_meta.pyc
+${PYSITELIB}/xmlschema/tests/test_meta.pyo
+${PYSITELIB}/xmlschema/tests/test_models.py
+${PYSITELIB}/xmlschema/tests/test_models.pyc
+${PYSITELIB}/xmlschema/tests/test_models.pyo
+${PYSITELIB}/xmlschema/tests/test_package.py
+${PYSITELIB}/xmlschema/tests/test_package.pyc
+${PYSITELIB}/xmlschema/tests/test_package.pyo
+${PYSITELIB}/xmlschema/tests/test_regex.py
+${PYSITELIB}/xmlschema/tests/test_regex.pyc
+${PYSITELIB}/xmlschema/tests/test_regex.pyo
+${PYSITELIB}/xmlschema/tests/test_resources.py
+${PYSITELIB}/xmlschema/tests/test_resources.pyc
+${PYSITELIB}/xmlschema/tests/test_resources.pyo
+${PYSITELIB}/xmlschema/tests/test_schemas.py
+${PYSITELIB}/xmlschema/tests/test_schemas.pyc
+${PYSITELIB}/xmlschema/tests/test_schemas.pyo
+${PYSITELIB}/xmlschema/tests/test_validators.py
+${PYSITELIB}/xmlschema/tests/test_validators.pyc
+${PYSITELIB}/xmlschema/tests/test_validators.pyo
+${PYSITELIB}/xmlschema/tests/test_w3c_suite.py
Home |
Main Index |
Thread Index |
Old Index