[packages/python3-xmlschema] - updated to 1.10.0
qboosh
qboosh at pld-linux.org
Sun Mar 13 08:31:22 CET 2022
commit c8e799a9c737d1e10cd5fae750ed9faa7b80e6ae
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 13 08:33:17 2022 +0100
- updated to 1.10.0
python3-xmlschema-remote-tests.patch | 10 +++++-----
python3-xmlschema.spec | 12 ++++++------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/python3-xmlschema.spec b/python3-xmlschema.spec
index 8596116..e07c82c 100644
--- a/python3-xmlschema.spec
+++ b/python3-xmlschema.spec
@@ -6,18 +6,18 @@
Summary: XML Schema validator and decoder
Summary(pl.UTF-8): Biblioteka do sprawdzania poprawności i dekodowania schematów XML
Name: python3-xmlschema
-Version: 1.2.4
-Release: 2
+Version: 1.10.0
+Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/xmlschema/
Source0: https://files.pythonhosted.org/packages/source/x/xmlschema/xmlschema-%{version}.tar.gz
-# Source0-md5: 841bd178f6c27884a801ab0b1245e571
+# Source0-md5: b60648923528059b0be71f2e8879b4a4
Patch0: %{name}-remote-tests.patch
URL: https://pypi.org/project/xmlschema/
-BuildRequires: python3-elementpath >= 2.0.2
+BuildRequires: python3-elementpath >= 2.5.0
BuildRequires: python3-elementpath < 3.0.0
-BuildRequires: python3-modules >= 1:3.5
+BuildRequires: python3-modules >= 1:3.7
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-lxml
@@ -29,7 +29,7 @@ BuildRequires: sed >= 4.0
BuildRequires: python3-sphinx_rtd_theme
BuildRequires: sphinx-pdg-3
%endif
-Requires: python3-modules >= 1:3.5
+Requires: python3-modules >= 1:3.7
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/python3-xmlschema-remote-tests.patch b/python3-xmlschema-remote-tests.patch
index 2ec5c50..5cbf4c3 100644
--- a/python3-xmlschema-remote-tests.patch
+++ b/python3-xmlschema-remote-tests.patch
@@ -1,14 +1,14 @@
---- xmlschema-1.2.4/xmlschema/testing/__init__.py.orig 2020-03-19 16:13:12.000000000 +0100
-+++ xmlschema-1.2.4/xmlschema/testing/__init__.py 2020-09-18 21:08:20.536024723 +0200
-@@ -17,6 +17,7 @@
+--- xmlschema-1.10.0/xmlschema/testing/__init__.py.orig 2022-03-07 14:26:41.000000000 +0100
++++ xmlschema-1.10.0/xmlschema/testing/__init__.py 2022-03-13 07:47:58.128765791 +0100
+@@ -18,6 +18,7 @@ that contain a list of relative paths to
build a set of test classes. Each path is followed by a list of options that defines a
custom setting for each test.
"""
+import os
- import platform
from urllib.request import urlopen
from urllib.error import URLError
-@@ -41,7 +42,7 @@
+
+@@ -40,7 +41,7 @@ def has_network_access(*locations):
return False
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-xmlschema.git/commitdiff/c8e799a9c737d1e10cd5fae750ed9faa7b80e6ae
More information about the pld-cvs-commit
mailing list