forked from pool/python-xmlschema
Accepting request 1006866 from home:favogt:branches:devel:languages:python
- Update to 2.1.0: * Add to_etree() to document API * Improve generic encoding with wildcards * Clean document API and schema decoding - Update to 2.0.4: * Add use_location_hints argument to document API for giving the option of ignoring XSI schema locations hints * Fix import from locations hints with namespace mismatch (issue #324) - Update to 2.0.3: * Add keep_empty and element_hook options to main iter_decode() method * Fix default namespace mapping in BadgerFishConverter * Fix type restriction check if restricted particle has maxOccurs==0 (issue #323) - Update to 2.0.2: * Fix XSD 1.1 assertions effective scope * Add support for Python 3.11 - Update to 2.0.1: * Remove warnings during the build of the package using package_data specs in setup.py * Fix decoding with process_namespaces=False and xsi:type in XML instance * Refactor DataElement.get(), restore DataElement.set() (issue #314) * Add map_attribute_names argument to DataElementConverter - Update to 2.0.0: * Refactor XPath interface for the full XPath node implementation of elementpath v3.0 * Fix BadgerFishConverter with mixed content (issue #315) * Improve get() and set() of DataElement (issue #314) - Update to 1.11.3: * Fix invalid element not detected with empty particle (issue #306) * Fix Sphinx warnings (issue #305) - Update to 1.11.2: * Fix 'replace_existing' argument usage in XsdElement.get_binding method (issue #300) * Add Russian full translation (from PR #303 and #304) OBS-URL: https://build.opensuse.org/request/show/1006866 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=35
This commit is contained in:
@@ -19,20 +19,20 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-xmlschema
|
||||
Version: 1.9.2
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: An XML Schema validator and decoder
|
||||
License: MIT
|
||||
URL: https://github.com/sissaschool/xmlschema
|
||||
Source: https://files.pythonhosted.org/packages/source/x/xmlschema/xmlschema-%{version}.tar.gz
|
||||
BuildRequires: %{python_module elementpath >= 2.2.1}
|
||||
BuildRequires: %{python_module elementpath >= 3.0.0}
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-elementpath >= 2.2.1
|
||||
Requires: python-elementpath >= 3.0.0
|
||||
Requires: python-lxml
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
|
Reference in New Issue
Block a user