Hello community,
here is the log from the commit of package python-xmlschema for
openSUSE:Factory checked in at 2020-06-21 18:48:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xmlschema (Old)
and /work/SRC/openSUSE:Factory/.python-xmlschema.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xmlschema"
Sun Jun 21 18:48:54 2020 rev:7 rq:813363 version:1.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xmlschema/python-xmlschema.changes
2020-03-27 00:29:19.408379167 +0100
+++
/work/SRC/openSUSE:Factory/.python-xmlschema.new.3606/python-xmlschema.changes
2020-06-21 19:06:54.305104127 +0200
@@ -1,0 +2,13 @@
+Thu Jun 11 03:46:21 UTC 2020 - Steve Kowalik <[email protected]>
+
+- Update to version 1.2.0:
+ * Add ColumnarConverter class
+ * Add command-line interface utility for document API
+ * Fix a stable public API for XSD types, elements and attributes
+ * Add security modes for accessing URLs
+ * Clean component parsing
+ * Fix namespace loading for chameleon schemas
+ * Fix UPA checks with nested choice/all models
+- Install new binaries
+
+-------------------------------------------------------------------
Old:
----
xmlschema-1.1.2.tar.gz
New:
----
xmlschema-1.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xmlschema.spec ++++++
--- /var/tmp/diff_new_pack.O4v9aC/_old 2020-06-21 19:06:54.749105570 +0200
+++ /var/tmp/diff_new_pack.O4v9aC/_new 2020-06-21 19:06:54.753105582 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-xmlschema
-Version: 1.1.2
+Version: 1.2.0
Release: 0
Summary: An XML Schema validator and decoder
License: MIT
@@ -33,6 +33,8 @@
BuildRequires: python-rpm-macros
Requires: python-elementpath >= 1.4.0
Requires: python-lxml
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -56,6 +58,10 @@
export LANG="en_US.UTF8"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+# Prepare for update-alternatives usage
+for p in json2xml validate xml2json; do
+ %python_clone -a %{buildroot}%{_bindir}/xmlschema-$p
+done
%check
# test_element_tree_import_script is (easily workaroundable)
https://github.com/sissaschool/xmlschema/issues/167
@@ -63,9 +69,22 @@
export LANG="en_US.UTF8"
%pytest -k "not (test_element_tree_import_script or tests_factory)" tests
+%post
+%python_install_alternative xmlschema-json2xml
+%python_install_alternative xmlschema-validate
+%python_install_alternative xmlschema-xml2json
+
+%postun
+%python_uninstall_alternative xmlschema-json2xml
+%python_uninstall_alternative xmlschema-validate
+%python_uninstall_alternative xmlschema-xml2json
+
%files %{python_files}
%doc CHANGELOG.rst README.rst
%license LICENSE
%{python_sitelib}/*
+%python_alternative %{_bindir}/xmlschema-json2xml
+%python_alternative %{_bindir}/xmlschema-validate
+%python_alternative %{_bindir}/xmlschema-xml2json
%changelog
++++++ xmlschema-1.1.2.tar.gz -> xmlschema-1.2.0.tar.gz ++++++
++++ 4980 lines of diff (skipped)