forked from pool/python-xmlschema
- update to 1.8.2:
* Fix type annotation of XMLSchema source argument * Near compliance with strict type annotations * Removed ModelGroup class, merged with XsdGroup * Some optimizations and fixes from static analysis - update to 1.8.0: * Refactor XMLSchemaMeta deprecating BUILDER attribute * Extend type annotations to package API * Add static typing tests with checked mypy runs * Activate mypy checks for package * Fix for issues #257 and #259 * Make XSD annotation parsing lazy * Add lazy annotations to schema instances * Add get_annotation() method to multiple-facets classes (issue #255) - drop remove_shebang.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=33
This commit is contained in:
@@ -19,15 +19,12 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-xmlschema
|
||||
Version: 1.6.4
|
||||
Version: 1.8.2
|
||||
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
|
||||
# PATCH-FIX-UPSTREAM remove_shebang.patch gh#sissaschool/xmlschema#210 mcepl@suse.com
|
||||
# Remove superfluous shebang
|
||||
Patch0: remove_shebang.patch
|
||||
BuildRequires: %{python_module elementpath >= 2.2.1}
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pip}
|
||||
|
Reference in New Issue
Block a user