forked from pool/python-xmlschema
- Update to 1.3.1.
- mainly accepting patches etree_import_in_tests.patch, factory_tests.patch, location_testing_script.patch, which are thus removed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=24
This commit is contained in:
@@ -19,24 +19,15 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-xmlschema
|
||||
Version: 1.3.0
|
||||
Version: 1.3.1
|
||||
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 etree_import_in_tests.patch gh#sissaschool/xmlschema#210 mcepl@suse.com
|
||||
# use the same etree all the time
|
||||
Patch0: etree_import_in_tests.patch
|
||||
# PATCH-FIX-UPSTREAM factory_tests.patch gh#sissaschool/xmlschema#210 mcepl@suse.com
|
||||
# rename tests_factory to factory_tests so it is not discovered by pytest.
|
||||
Patch1: factory_tests.patch
|
||||
# PATCH-FIX-UPSTREAM remove_shebang.patch gh#sissaschool/xmlschema#210 mcepl@suse.com
|
||||
# Remove superfluous shebang
|
||||
Patch2: remove_shebang.patch
|
||||
# PATCH-FIX-UPSTREAM location_testing_script.patch gh#sissaschool/xmlschema#210 mcepl@suse.com
|
||||
# this patch makes things totally awesome
|
||||
Patch3: location_testing_script.patch
|
||||
Patch0: remove_shebang.patch
|
||||
BuildRequires: %{python_module elementpath >= 1.4.0}
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module pip}
|
||||
|
Reference in New Issue
Block a user