commit python-jsonschema for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2020-03-27 00:21:05

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.3160 (New)


Package is "python-jsonschema"

Fri Mar 27 00:21:05 2020 rev:24 rq:784158 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2019-11-25 11:23:32.958113831 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.3160/python-jsonschema.changes
2020-03-27 00:21:06.292129381 +0100
@@ -1,0 +2,6 @@
+Thu Mar 12 07:44:16 UTC 2020 - Tomáš Chvátal 
+
+- Add patch to fix build with new webcolors:
+  * webcolors.patch
+
+---

New:

  webcolors.patch



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.xUe0EJ/_old  2020-03-27 00:21:07.196129839 +0100
+++ /var/tmp/diff_new_pack.xUe0EJ/_new  2020-03-27 00:21:07.200129841 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-jsonschema
-# v3 incompatibility with OpenStack raised upstream at
-# https://github.com/Julian/jsonschema/issues/604
 Version:3.2.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
 URL:https://github.com/Julian/jsonschema
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
+Patch0: webcolors.patch
 BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module attrs >= 17.4.0}
 BuildRequires:  %{python_module idna}
@@ -63,6 +62,7 @@
 
 %prep
 %setup -q -n jsonschema-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ webcolors.patch ++
>From 0d192e192526252c30c16b3651c293bb5f21a99f Mon Sep 17 00:00:00 2001
From: Julian Berman 
Date: Fri, 21 Feb 2020 09:56:13 -0500
Subject: [PATCH] Sigh... but also drops Py2 compat.

---
 jsonschema/_format.py | 11 ---
 setup.cfg |  4 ++--
 2 files changed, 10 insertions(+), 5 deletions(-)

Index: jsonschema-3.2.0/jsonschema/_format.py
===
--- jsonschema-3.2.0.orig/jsonschema/_format.py
+++ jsonschema-3.2.0/jsonschema/_format.py
@@ -342,10 +342,15 @@ def is_draft3_time(instance):
 return datetime.datetime.strptime(instance, "%H:%M:%S")
 
 
-try:
+try:  # webcolors>=1.11
+from webcolors import CSS21_NAMES_TO_HEX
 import webcolors
 except ImportError:
-pass
+try:  # webcolors<1.11
+from webcolors import css21_names_to_hex as CSS21_NAMES_TO_HEX
+import webcolors
+except ImportError:
+pass
 else:
 def is_css_color_code(instance):
 return webcolors.normalize_hex(instance)
@@ -354,7 +359,7 @@ else:
 def is_css21_color(instance):
 if (
 not isinstance(instance, str_types) or
-instance.lower() in webcolors.css21_names_to_hex
+instance.lower() in CSS21_NAMES_TO_HEX
 ):
 return True
 return is_css_color_code(instance)



commit python-jsonschema for openSUSE:Factory

2019-11-25 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2019-11-25 11:23:31

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.26869 (New)


Package is "python-jsonschema"

Mon Nov 25 11:23:31 2019 rev:23 rq:750236 version:3.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2019-11-04 17:08:24.620389580 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.26869/python-jsonschema.changes
   2019-11-25 11:23:32.958113831 +0100
@@ -1,0 +2,22 @@
+Fri Nov 22 06:06:52 UTC 2019 - Arun Persaud 
+
+- update to version 3.2.0:
+  * Added a format_nongpl setuptools extra, which installs only format
+dependencies that are non-GPL (#619).
+
+---
+Sat Nov 16 16:45:36 UTC 2019 - Arun Persaud 
+
+- specfile:
+  * be more explicit in %files section
+  * require python-importlib-metadata
+
+- update to version 3.1.1:
+  * Temporarily revert the switch to js-regex until #611 and #612 are
+resolved.
+
+- changes from version 3.1.0:
+  * Regular expressions throughout schemas now respect the ECMA 262
+dialect, as recommended by the specification (#609).
+
+---

Old:

  jsonschema-3.0.2.tar.gz

New:

  jsonschema-3.2.0.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.5hV5kR/_old  2019-11-25 11:23:34.222113606 +0100
+++ /var/tmp/diff_new_pack.5hV5kR/_new  2019-11-25 11:23:34.222113606 +0100
@@ -21,7 +21,7 @@
 Name:   python-jsonschema
 # v3 incompatibility with OpenStack raised upstream at
 # https://github.com/Julian/jsonschema/issues/604
-Version:3.0.2
+Version:3.2.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
@@ -30,6 +30,7 @@
 BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module attrs >= 17.4.0}
 BuildRequires:  %{python_module idna}
+BuildRequires:  %{python_module importlib-metadata}
 BuildRequires:  %{python_module jsonpointer > 1.13}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pyrsistent >= 0.14.0}
@@ -42,6 +43,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-attrs >= 17.4.0
+Requires:   python-importlib-metadata
 Requires:   python-pyrsistent >= 0.14.0
 Requires:   python-six >= 1.11.0
 Requires(post): update-alternatives
@@ -88,6 +90,9 @@
 %license COPYING
 %doc README.rst
 %python_alternative %{_bindir}/jsonschema
-%{python_sitelib}/*
+%dir %{python_sitelib}/jsonschema
+%{python_sitelib}/jsonschema/*
+%dir %{python_sitelib}/jsonschema-%{version}-py*.egg-info
+%{python_sitelib}/jsonschema-%{version}-py*.egg-info
 
 %changelog

++ jsonschema-3.0.2.tar.gz -> jsonschema-3.2.0.tar.gz ++
 23900 lines of diff (skipped)




commit python-jsonschema for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2019-11-04 17:08:23

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.2990 (New)


Package is "python-jsonschema"

Mon Nov  4 17:08:23 2019 rev:22 rq:741565 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2019-09-25 07:38:45.070816908 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.2990/python-jsonschema.changes
2019-11-04 17:08:24.620389580 +0100
@@ -1,0 +2,5 @@
+Mon Oct 14 13:49:28 UTC 2019 - Matej Cepl 
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+---



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.EZXZIM/_old  2019-11-04 17:08:25.084390075 +0100
+++ /var/tmp/diff_new_pack.EZXZIM/_new  2019-11-04 17:08:25.088390079 +0100
@@ -25,7 +25,6 @@
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/Julian/jsonschema
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
 BuildRequires:  %{python_module Twisted}
@@ -70,7 +69,7 @@
 %python_install
 # Remove benchmark tests
 %{python_expand rm -r %{buildroot}%{$python_sitelib}/jsonschema/benchmarks 
%{buildroot}%{$python_sitelib}/jsonschema/tests
-%fdupes -s %{buildroot}%{$python_sitelib}
+%fdupes %{buildroot}%{$python_sitelib}
 }
 
 # Prepare for update-alternatives usage




commit python-jsonschema for openSUSE:Factory

2019-09-24 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2019-09-25 07:38:43

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.7948 (New)


Package is "python-jsonschema"

Wed Sep 25 07:38:43 2019 rev:21 rq:732149 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2019-04-20 17:12:38.094875516 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.7948/python-jsonschema.changes
2019-09-25 07:38:45.070816908 +0200
@@ -1,0 +2,19 @@
+Tue Sep 17 05:31:26 UTC 2019 - John Vandenberg 
+
+- Activate more of the test suite
+- Remove tests and benchmarking from the runtime package
+- Update to v3.0.2
+  * Fixed a bug where 0 and False were considered equal by
+const and enum
+- from v3.0.1
+  * Fixed a bug where extending validators did not preserve their 
+notion of which validator property contains $id information.
+- from v3.0.0
+  * Support for Draft 6 and Draft 7
+  * Draft 7 is now the default
+  * New TypeChecker object for more complex type definitions
+(and overrides)
+  * Falling back to isodate for the date-time format checker is
+no longer attempted, in accordance with the specification
+
+---

Old:

  jsonschema-2.6.0.tar.gz

New:

  jsonschema-3.0.2.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.g9J6Vj/_old  2019-09-25 07:38:45.846816791 +0200
+++ /var/tmp/diff_new_pack.g9J6Vj/_new  2019-09-25 07:38:45.846816791 +0200
@@ -19,26 +19,38 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-jsonschema
-# Please, do not update to the current version, it breaks numerous other
-# packages, because of unstable API.
-Version:2.6.0
+# v3 incompatibility with OpenStack raised upstream at
+# https://github.com/Julian/jsonschema/issues/604
+Version:3.0.2
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
 Group:  Development/Languages/Python
-Url:http://github.com/Julian/jsonschema
+URL:https://github.com/Julian/jsonschema
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
+BuildRequires:  %{python_module Twisted}
+BuildRequires:  %{python_module attrs >= 17.4.0}
+BuildRequires:  %{python_module idna}
+BuildRequires:  %{python_module jsonpointer > 1.13}
 BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pyrsistent >= 0.14.0}
+BuildRequires:  %{python_module rfc3987}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module vcversioner >= 2.16.0.0}
+BuildRequires:  %{python_module six >= 1.11.0}
+BuildRequires:  %{python_module strict-rfc3339}
+BuildRequires:  %{python_module webcolors}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with python2}
-BuildRequires:  python2-functools32
-%endif
+Requires:   python-attrs >= 17.4.0
+Requires:   python-pyrsistent >= 0.14.0
+Requires:   python-six >= 1.11.0
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
 BuildArch:  noarch
+%if %{with python2}
+BuildRequires:  python2-functools32
+%endif
 %ifpython2
 Requires:   python-functools32
 %endif
@@ -56,13 +68,16 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+# Remove benchmark tests
+%{python_expand rm -r %{buildroot}%{$python_sitelib}/jsonschema/benchmarks 
%{buildroot}%{$python_sitelib}/jsonschema/tests
+%fdupes -s %{buildroot}%{$python_sitelib}
+}
 
 # Prepare for update-alternatives usage
 %python_clone -a %{buildroot}%{_bindir}/jsonschema
 
 %check
-%python_exec -m unittest jsonschema.tests.test_jsonschema_test_suite
+%python_exec setup.py test --test-suite=jsonschema.tests
 
 %post
 %python_install_alternative jsonschema

++ jsonschema-2.6.0.tar.gz -> jsonschema-3.0.2.tar.gz ++
 30638 lines of diff (skipped)




commit python-jsonschema for openSUSE:Factory

2019-04-20 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2019-04-20 17:12:36

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.5536 (New)


Package is "python-jsonschema"

Sat Apr 20 17:12:36 2019 rev:20 rq:695484 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2019-04-10 23:08:51.083814128 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.5536/python-jsonschema.changes
2019-04-20 17:12:38.094875516 +0200
@@ -1,0 +2,5 @@
+Tue Apr 16 16:17:12 UTC 2019 - Matej Cepl 
+
+- Add non-updating note to the SPEC file
+
+---



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.3qoXX4/_old  2019-04-20 17:12:38.670876385 +0200
+++ /var/tmp/diff_new_pack.3qoXX4/_new  2019-04-20 17:12:38.674876392 +0200
@@ -19,6 +19,8 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-jsonschema
+# Please, do not update to the current version, it breaks numerous other
+# packages, because of unstable API.
 Version:2.6.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python




commit python-jsonschema for openSUSE:Factory

2019-04-10 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2019-04-10 23:08:47

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.27019 (New)


Package is "python-jsonschema"

Wed Apr 10 23:08:47 2019 rev:19 rq:692367 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2019-03-29 20:38:57.634687113 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.27019/python-jsonschema.changes
   2019-04-10 23:08:51.083814128 +0200
@@ -1,0 +2,5 @@
+Mon Apr  8 19:16:49 UTC 2019 - Dirk Mueller 
+
+- downgrade to < 3.0.0 again to fix all openstack clients
+
+---

Old:

  jsonschema-3.0.1.tar.gz

New:

  jsonschema-2.6.0.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.IWSlTt/_old  2019-04-10 23:08:51.707814837 +0200
+++ /var/tmp/diff_new_pack.IWSlTt/_new  2019-04-10 23:08:51.711814841 +0200
@@ -19,49 +19,32 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-jsonschema
-Version:3.0.1
+Version:2.6.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
 Group:  Development/Languages/Python
-URL:http://github.com/Julian/jsonschema
+Url:http://github.com/Julian/jsonschema
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
-BuildRequires:  %{python_module Twisted}
-BuildRequires:  %{python_module attrs >= 17.4.0}
-BuildRequires:  %{python_module idna}
-BuildRequires:  %{python_module jsonpointer > 1.13}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pyrsistent >= 0.14.0}
-BuildRequires:  %{python_module rfc3987}
-BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six >= 1.11.0}
-BuildRequires:  %{python_module strict-rfc3339}
-BuildRequires:  %{python_module webcolors}
+BuildRequires:  %{python_module vcversioner >= 2.16.0.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-attrs >= 17.4.0
-Requires:   python-pyrsistent >= 0.14.0
-Requires:   python-setuptools
-Requires:   python-six >= 1.11.0
-Requires(post): update-alternatives
-Requires(preun): update-alternatives
-Recommends: python-idna
-Recommends: python-jsonpointer > 1.13
-Recommends: python-rfc3987
-Recommends: python-strict-rfc3339
-Recommends: python-webcolors
-BuildArch:  noarch
 %if %{with python2}
 BuildRequires:  python2-functools32
 %endif
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
+BuildArch:  noarch
 %ifpython2
 Requires:   python-functools32
 %endif
 %python_subpackages
 
 %description
-jsonschema is an implementation of JSON Schema for Python
+jsonschema is an implementation of JSON Schema (currently in Draft 3)
+for Python (supporting 2.6+ including Python 3).
 
 %prep
 %setup -q -n jsonschema-%{version}
@@ -71,11 +54,13 @@
 
 %install
 %python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+
+# Prepare for update-alternatives usage
 %python_clone -a %{buildroot}%{_bindir}/jsonschema
 
 %check
-%python_exec -m unittest discover
+%python_exec -m unittest jsonschema.tests.test_jsonschema_test_suite
 
 %post
 %python_install_alternative jsonschema

++ jsonschema-3.0.1.tar.gz -> jsonschema-2.6.0.tar.gz ++
 21660 lines of diff (skipped)




commit python-jsonschema for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2019-03-29 20:38:56

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.25356 (New)


Package is "python-jsonschema"

Fri Mar 29 20:38:56 2019 rev:18 rq:689397 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2019-01-21 10:54:14.771736466 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.25356/python-jsonschema.changes
   2019-03-29 20:38:57.634687113 +0100
@@ -1,0 +2,9 @@
+Thu Mar 28 14:57:16 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.0.1:
+  * Support for Draft 6 and Draft 7
+  * Draft 7 is now the default
+  * New TypeChecker object for more complex type definitions (and overrides)
+  * Falling back to isodate for the date-time format checker is no longer 
attempted, in accordance with the specification
+
+---

Old:

  jsonschema-2.6.0.tar.gz

New:

  jsonschema-3.0.1.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.UBzD0U/_old  2019-03-29 20:38:58.150687377 +0100
+++ /var/tmp/diff_new_pack.UBzD0U/_new  2019-03-29 20:38:58.154687379 +0100
@@ -19,32 +19,49 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:   python-jsonschema
-Version:2.6.0
+Version:3.0.1
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
 Group:  Development/Languages/Python
-Url:http://github.com/Julian/jsonschema
+URL:http://github.com/Julian/jsonschema
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
+BuildRequires:  %{python_module Twisted}
+BuildRequires:  %{python_module attrs >= 17.4.0}
+BuildRequires:  %{python_module idna}
+BuildRequires:  %{python_module jsonpointer > 1.13}
 BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pyrsistent >= 0.14.0}
+BuildRequires:  %{python_module rfc3987}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module vcversioner >= 2.16.0.0}
+BuildRequires:  %{python_module six >= 1.11.0}
+BuildRequires:  %{python_module strict-rfc3339}
+BuildRequires:  %{python_module webcolors}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with python2}
-BuildRequires:  python2-functools32
-%endif
+Requires:   python-attrs >= 17.4.0
+Requires:   python-pyrsistent >= 0.14.0
+Requires:   python-setuptools
+Requires:   python-six >= 1.11.0
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
+Recommends: python-idna
+Recommends: python-jsonpointer > 1.13
+Recommends: python-rfc3987
+Recommends: python-strict-rfc3339
+Recommends: python-webcolors
 BuildArch:  noarch
+%if %{with python2}
+BuildRequires:  python2-functools32
+%endif
 %ifpython2
 Requires:   python-functools32
 %endif
 %python_subpackages
 
 %description
-jsonschema is an implementation of JSON Schema (currently in Draft 3)
-for Python (supporting 2.6+ including Python 3).
+jsonschema is an implementation of JSON Schema for Python
 
 %prep
 %setup -q -n jsonschema-%{version}
@@ -54,13 +71,11 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
-
-# Prepare for update-alternatives usage
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/jsonschema
 
 %check
-%python_exec -m unittest jsonschema.tests.test_jsonschema_test_suite
+%python_exec -m unittest discover
 
 %post
 %python_install_alternative jsonschema

++ jsonschema-2.6.0.tar.gz -> jsonschema-3.0.1.tar.gz ++
 21660 lines of diff (skipped)




commit python-jsonschema for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2019-01-21 10:53:47

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new.28833 (New)


Package is "python-jsonschema"

Mon Jan 21 10:53:47 2019 rev:17 rq:665995 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2018-01-26 13:38:42.675503713 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new.28833/python-jsonschema.changes
   2019-01-21 10:54:14.771736466 +0100
@@ -1,0 +2,5 @@
+Mon Jan 14 15:34:35 CET 2019 - ku...@suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+---



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.RWyYhL/_old  2019-01-21 10:54:15.155736004 +0100
+++ /var/tmp/diff_new_pack.RWyYhL/_new  2019-01-21 10:54:15.155736004 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -69,7 +69,8 @@
 %python_uninstall_alternative jsonschema
 
 %files %{python_files}
-%doc COPYING README.rst
+%license COPYING
+%doc README.rst
 %python_alternative %{_bindir}/jsonschema
 %{python_sitelib}/*
 




commit python-jsonschema for openSUSE:Factory

2018-01-26 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2018-01-26 13:38:41

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Fri Jan 26 13:38:41 2018 rev:16 rq:568851 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2017-04-28 10:42:55.398979672 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2018-01-26 13:38:42.675503713 +0100
@@ -1,0 +2,6 @@
+Wed Jan 24 10:24:27 UTC 2018 - tchva...@suse.com
+
+- Add condition around the python2 code to make sure we can build
+  in python3 only enviroment
+
+---



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.rDrkul/_old  2018-01-26 13:38:43.731454395 +0100
+++ /var/tmp/diff_new_pack.rDrkul/_new  2018-01-26 13:38:43.735454209 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:   python-jsonschema
 Version:2.6.0
 Release:0
@@ -25,21 +26,20 @@
 Group:  Development/Languages/Python
 Url:http://github.com/Julian/jsonschema
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module vcversioner >= 2.16.0.0}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%if %{with python2}
 BuildRequires:  python2-functools32
-# Test build requirements
-BuildRequires:  python2-mock
-%ifpython2
-Requires:   python-functools32
 %endif
 Requires(post):   update-alternatives
 Requires(preun): update-alternatives
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+%ifpython2
+Requires:   python-functools32
+%endif
 %python_subpackages
 
 %description
@@ -69,7 +69,6 @@
 %python_uninstall_alternative jsonschema
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc COPYING README.rst
 %python_alternative %{_bindir}/jsonschema
 %{python_sitelib}/*




commit python-jsonschema for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2017-04-28 10:42:53

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Fri Apr 28 10:42:53 2017 rev:15 rq:489482 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2015-10-19 22:48:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2017-04-28 10:42:55.398979672 +0200
@@ -1,0 +2,18 @@
+Wed Apr 19 22:13:57 UTC 2017 - toddrme2...@gmail.com
+
+- Source url must be https.
+
+---
+Sat Apr 15 23:06:18 UTC 2017 - toddrme2...@gmail.com
+
+- Fix source url.
+
+---
+Fri Apr  7 20:58:55 UTC 2017 - toddrme2...@gmail.com
+
+- Update to 2.6.0
+  * Improved performance on CPython by adding caching around ref resolution
+(#203)
+- Implement single-spec version
+
+---

Old:

  jsonschema-2.5.1.tar.gz

New:

  jsonschema-2.6.0.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.E3sO2t/_old  2017-04-28 10:42:58.750505951 +0200
+++ /var/tmp/diff_new_pack.E3sO2t/_new  2017-04-28 10:42:58.754505385 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,41 +16,31 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonschema
-Version:2.5.1
+Version:2.6.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
 Group:  Development/Languages/Python
 Url:http://github.com/Julian/jsonschema
-Source: 
http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-BuildRequires:  python-argparse
-BuildRequires:  python-repoze.lru
-%else
-BuildRequires:  python-functools32
-%endif
-BuildRequires:  python-vcversioner
+Source: 
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module vcversioner >= 2.16.0.0}
+BuildRequires:  python2-functools32
 # Test build requirements
-BuildRequires:  python-mock
-
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-Requires:   python-argparse
-Requires:   python-repoze.lru
-%else
+BuildRequires:  python2-mock
+%ifpython2
 Requires:   python-functools32
 %endif
 Requires(post):   update-alternatives
-Requires(postun): update-alternatives
+Requires(preun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-BuildRequires:  python-unittest2
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 jsonschema is an implementation of JSON Schema (currently in Draft 3)
@@ -60,38 +50,28 @@
 %setup -q -n jsonschema-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
 # Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/jsonschema 
%{buildroot}%{_bindir}/jsonschema-%{py_ver}
-ln -s -f %{_sysconfdir}/alternatives/jsonschema 
%{buildroot}%{_bindir}/jsonschema
-# create a dummy target for /etc/alternatives/jsonschema
-touch %{buildroot}%{_sysconfdir}/alternatives/jsonschema
+%python_clone -a %{buildroot}%{_bindir}/jsonschema
 
-%if 0%{?suse_version} > 1110
 %check
-python -m unittest jsonschema.tests.test_jsonschema_test_suite
-%endif
+%python_exec -m unittest jsonschema.tests.test_jsonschema_test_suite
 
 %post
-%_sbindir/update-alternatives \
-   --install %{_bindir}/jsonschema jsonschema %{_bindir}/jsonschema-%{py_ver} 
30
+%python_install_alternative jsonschema
 
 %pr

commit python-jsonschema for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2015-10-19 22:48:32

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2015-09-30 05:49:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2015-10-19 22:48:34.0 +0200
@@ -1,0 +2,5 @@
+Mon Oct  5 13:28:12 UTC 2015 - mci...@suse.cz
+
+- Adjust dependencies for Python 2.6 based SLE 11
+
+---



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.MjdEhw/_old  2015-10-19 22:48:34.0 +0200
+++ /var/tmp/diff_new_pack.MjdEhw/_new  2015-10-19 22:48:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,11 +26,22 @@
 Source: 
http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+BuildRequires:  python-argparse
+BuildRequires:  python-repoze.lru
+%else
 BuildRequires:  python-functools32
+%endif
 BuildRequires:  python-vcversioner
 # Test build requirements
 BuildRequires:  python-mock
+
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+Requires:   python-argparse
+Requires:   python-repoze.lru
+%else
 Requires:   python-functools32
+%endif
 Requires(post):   update-alternatives
 Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build




commit python-jsonschema for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2015-09-30 05:49:08

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2014-11-13 09:17:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2015-09-30 05:49:10.0 +0200
@@ -1,0 +2,13 @@
+Mon Jun 15 02:16:17 UTC 2015 - a...@gmx.de
+
+- update to version 2.5.1:
+  (no changelog available)
+- update to version 2.5.0:
+  * Improved performance on CPython by adding caching around ref
+resolution (#203)
+- specfile:
+  * add python-vcversioner
+- drop test requirements and %check section, which is broken
+- Fix update-alternatives usage
+
+---

Old:

  jsonschema-2.4.0.tar.gz

New:

  jsonschema-2.5.1.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.yoQcXK/_old  2015-09-30 05:49:11.0 +0200
+++ /var/tmp/diff_new_pack.yoQcXK/_new  2015-09-30 05:49:11.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonschema
-Version:2.4.0
+Version:2.5.1
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
@@ -26,8 +26,11 @@
 Source: 
http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+BuildRequires:  python-functools32
+BuildRequires:  python-vcversioner
 # Test build requirements
 BuildRequires:  python-mock
+Requires:   python-functools32
 Requires(post):   update-alternatives
 Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -50,31 +53,34 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/jsonschema 
%{buildroot}%{_bindir}/jsonschema-%{py_ver}
-ln -s %{_bindir}/jsonschema-%{py_ver} %{buildroot}%{_bindir}/jsonschema
+ln -s -f %{_sysconfdir}/alternatives/jsonschema 
%{buildroot}%{_bindir}/jsonschema
+# create a dummy target for /etc/alternatives/jsonschema
+touch %{buildroot}%{_sysconfdir}/alternatives/jsonschema
 
 %if 0%{?suse_version} > 1110
 %check
 python -m unittest jsonschema.tests.test_jsonschema_test_suite
 %endif
 
-%pre
-[ -h %{_bindir}/jsonschema ] || rm -f %{_bindir}/jsonschema
-
 %post
-update-alternatives --install \
-%{_bindir}/jsonschema jsonschema %{_bindir}/jsonschema-%{py_ver} 20
+%_sbindir/update-alternatives \
+   --install %{_bindir}/jsonschema jsonschema %{_bindir}/jsonschema-%{py_ver} 
30
 
 %preun
 if [ $1 -eq 0 ] ; then
-update-alternatives --remove jsonschema %{_bindir}/jsonschema-%{py_ver}
+%_sbindir/update-alternatives --remove jsonschema 
%{_bindir}/jsonschema-%{py_ver}
 fi
 
 %files
 %defattr(-,root,root,-)
 %doc COPYING README.rst
-%ghost %{_bindir}/jsonschema
+%{_bindir}/jsonschema
 %{_bindir}/jsonschema-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/jsonschema
 %{python_sitelib}/*
 
 %changelog

++ jsonschema-2.4.0.tar.gz -> jsonschema-2.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonschema-2.4.0/CHANGELOG.rst 
new/jsonschema-2.5.1/CHANGELOG.rst
--- old/jsonschema-2.4.0/CHANGELOG.rst  2014-08-19 02:53:22.0 +0200
+++ new/jsonschema-2.5.1/CHANGELOG.rst  2015-06-05 16:26:18.0 +0200
@@ -1,3 +1,9 @@
+v2.5.0
+--
+
+* Improved performance on CPython by adding caching around ref resolution
+  (#203)
+
 v2.4.0
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonschema-2.4.0/MANIFEST.in 
new/jsonschema-2.5.1/MANIFEST.in
--- old/jsonschema-2.4.0/MANIFEST.in2014-07-06 04:55:07.0 +0200
+++ new/jsonschema-2.5.1/MANIFEST.in2015-04-13 17:23:46.0 +0200
@@ -1,4 +1,5 @@
 include *.rst
 include COPYING
 include tox.ini
+include version.txt
 recursive-include json *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonschema-2.4.0/

commit python-jsonschema for openSUSE:Factory

2014-11-13 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2014-11-13 09:17:25

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2014-09-17 17:25:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2014-11-13 09:17:34.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 08 17:38:00 UTC 2014 - Led 
+
+- fix bashism in pre script
+
+---



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.FCwZWt/_old  2014-11-13 09:17:35.0 +0100
+++ /var/tmp/diff_new_pack.FCwZWt/_new  2014-11-13 09:17:35.0 +0100
@@ -59,7 +59,7 @@
 %endif
 
 %pre
-[[ ! -L %{_bindir}/jsonschema ]] && rm -f %{_bindir}/jsonschema || :
+[ -h %{_bindir}/jsonschema ] || rm -f %{_bindir}/jsonschema
 
 %post
 update-alternatives --install \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-jsonschema for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2014-09-17 17:25:13

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2014-02-26 06:55:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2014-09-17 17:25:25.0 +0200
@@ -1,0 +2,14 @@
+Mon Sep 15 10:57:54 UTC 2014 - tbecht...@suse.com
+
+- update to version 2.4.0:
+  * Added a CLI (#134)
+  * Added absolute path and absolute schema path to errors (#120)
+  * Added ``relevance``
+  * Meta-schemas are now loaded via ``pkgutil``
+  * Added ``by_relevance`` and ``best_match`` (#91)
+  * Fixed ``format`` to allow adding formats for non-strings (#125)
+  * Fixed the ``uri`` format to reject URI references (#131)
+- BuildRequires python-setuptools
+- Install /usr/bin/jsonschema with update-alternatives support
+
+---

Old:

  jsonschema-2.2.0.tar.gz

New:

  jsonschema-2.4.0.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.LJHcFk/_old  2014-09-17 17:25:25.0 +0200
+++ /var/tmp/diff_new_pack.LJHcFk/_new  2014-09-17 17:25:25.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonschema
-Version:2.2.0
+Version:2.4.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
@@ -25,8 +25,11 @@
 Url:http://github.com/Julian/jsonschema
 Source: 
http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
 BuildRequires:  python-devel
+BuildRequires:  python-setuptools
 # Test build requirements
 BuildRequires:  python-mock
+Requires(post):   update-alternatives
+Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 BuildRequires:  python-unittest2
@@ -47,15 +50,31 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+mv %{buildroot}%{_bindir}/jsonschema 
%{buildroot}%{_bindir}/jsonschema-%{py_ver}
+ln -s %{_bindir}/jsonschema-%{py_ver} %{buildroot}%{_bindir}/jsonschema
 
 %if 0%{?suse_version} > 1110
 %check
 python -m unittest jsonschema.tests.test_jsonschema_test_suite
 %endif
 
+%pre
+[[ ! -L %{_bindir}/jsonschema ]] && rm -f %{_bindir}/jsonschema || :
+
+%post
+update-alternatives --install \
+%{_bindir}/jsonschema jsonschema %{_bindir}/jsonschema-%{py_ver} 20
+
+%preun
+if [ $1 -eq 0 ] ; then
+update-alternatives --remove jsonschema %{_bindir}/jsonschema-%{py_ver}
+fi
+
 %files
 %defattr(-,root,root,-)
 %doc COPYING README.rst
+%ghost %{_bindir}/jsonschema
+%{_bindir}/jsonschema-%{py_ver}
 %{python_sitelib}/*
 
 %changelog

++ jsonschema-2.2.0.tar.gz -> jsonschema-2.4.0.tar.gz ++
 3164 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-jsonschema for openSUSE:Factory

2014-02-25 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2014-02-26 06:55:04

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2013-11-04 16:19:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2014-02-26 06:55:06.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb 13 10:27:36 UTC 2014 - dmuel...@suse.com
+
+- remove dependency on unittest2 
+
+---



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.sZNKDq/_old  2014-02-26 06:55:08.0 +0100
+++ /var/tmp/diff_new_pack.sZNKDq/_new  2014-02-26 06:55:08.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,9 +27,9 @@
 BuildRequires:  python-devel
 # Test build requirements
 BuildRequires:  python-mock
-BuildRequires:  python-unittest2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
+BuildRequires:  python-unittest2
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else
 BuildArch:  noarch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-jsonschema for openSUSE:Factory

2013-11-04 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2013-11-04 16:19:50

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2013-06-19 17:01:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2013-11-04 16:19:51.0 +0100
@@ -1,0 +2,10 @@
+Mon Oct 21 13:30:13 UTC 2013 - dmuel...@suse.com
+
+- update to 2.2.0:
+  * Compile the host name regex (#127)
+  * Allow arbitrary objects to be types (#129)
+  * Support RFC 3339 datetimes in conformance with the spec
+  * Fixed error paths for additionalItems + items (#122)
+  * Fixed wording for min / maxProperties (#117)
+
+---

Old:

  jsonschema-2.0.0.tar.gz

New:

  jsonschema-2.2.0.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.3hHtj2/_old  2013-11-04 16:19:51.0 +0100
+++ /var/tmp/diff_new_pack.3hHtj2/_new  2013-11-04 16:19:51.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonschema
-Version:2.0.0
+Version:2.2.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT

++ jsonschema-2.0.0.tar.gz -> jsonschema-2.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonschema-2.0.0/CHANGELOG.rst 
new/jsonschema-2.2.0/CHANGELOG.rst
--- old/jsonschema-2.0.0/CHANGELOG.rst  2013-05-21 15:36:50.0 +0200
+++ new/jsonschema-2.2.0/CHANGELOG.rst  2013-10-18 19:31:08.0 +0200
@@ -1,3 +1,17 @@
+v2.2.0
+--
+
+* Compile the host name regex (#127)
+* Allow arbitrary objects to be types (#129)
+
+v2.1.0
+--
+
+* Support RFC 3339 datetimes in conformance with the spec
+* Fixed error paths for additionalItems + items (#122)
+* Fixed wording for min / maxProperties (#117)
+
+
 v2.0.0
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonschema-2.0.0/PKG-INFO 
new/jsonschema-2.2.0/PKG-INFO
--- old/jsonschema-2.0.0/PKG-INFO   2013-05-21 15:41:34.0 +0200
+++ new/jsonschema-2.2.0/PKG-INFO   2013-10-18 19:46:54.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jsonschema
-Version: 2.0.0
+Version: 2.2.0
 Summary: An implementation of JSON Schema validation for Python
 Home-page: http://github.com/Julian/jsonschema
 Author: Julian Berman
@@ -57,21 +57,8 @@
 Release Notes
 -
 
-``v2.0.0`` adds a better interface for creating and extending 
validators in the
-form of ``jsonschema.validators.create`` and 
``jsonschema.validators.extend``.
-The documentation is still a bit lacking in this area but it's getting 
there.
-See the tests in ``jsonschema.tests.test_validators`` and the source 
code if
-you'd like to try it out now. ``ValidatorMixin`` has been removed.
-
-Practically speaking, this affects validators that subclassed a 
built-in
-validator and extended a validator function (presumably with an upcall 
via
-``super``), as the correct way to do so is now to call
-``TheValidator.VALIDATORS["extended_validator_fn"]`` directly in a new
-validator function (and of course to use ``create``). Examples 
hopefully coming
-soon if more clarification is needed. Patches welcome of course.
-
-It also fixes a number of issues with ref resolution, one for array 
indices
-(#95) and one for improper handling of unknown URI schemes (#102).
+``v2.2.0`` contains a minor speedup for the ``host-name`` format and a 
small
+change in draft 3's allowed types.
 
 
 Running the Test Suite
@@ -95,7 +82,8 @@
 Community
 -
 
-There's a `mailing list 
`_ for this implementation 
on Google Groups.
+There's a `mailing list 
`_
+for this implementation on Google Groups.
 
 Please join, and feel free to send questions there.
 
@@ -113,6 +101,10 @@
 You can also generally find me on Freenode (nick: ``tos9``) in various
 channels, including ``#python``.
 
+If you feel overwhelmingly grateful, you can woo me with beer money on
+`Gittip `_ or via Google Wal

commit python-jsonschema for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2013-06-19 17:01:43

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2013-04-14 10:38:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2013-06-19 17:01:45.0 +0200
@@ -1,0 +2,20 @@
+Mon Jun 10 12:42:14 UTC 2013 - dmuel...@suse.com
+
+- update to 2.0.0:
+  * Added ``create`` and ``extend`` to ``jsonschema.validators``
+  * Removed ``ValidatorMixin``
+  * Fixed array indices ref resolution (#95)
+  * Fixed unknown scheme defragmenting and handling (#102)
+
+---
+Mon Apr 29 12:38:33 UTC 2013 - dmuel...@suse.com
+
+- update to 1.3.0:
+ * Better error tracebacks (#83)
+ * Raise exceptions in ``ErrorTree``\s for keys not in the instance (#92)
+ * More attributes for ValidationError (#86)
+ * Added ``ValidatorMixin.descend``
+ * Fixed bad ``RefResolutionError`` message (#82)
+ * Canonicalize URIs (#70)
+
+---

Old:

  jsonschema-1.0.0.tar.gz
  python3-jsonschema.changes
  python3-jsonschema.spec

New:

  jsonschema-2.0.0.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.a2YTFm/_old  2013-06-19 17:01:45.0 +0200
+++ /var/tmp/diff_new_pack.a2YTFm/_new  2013-06-19 17:01:45.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonschema
-Version:1.0.0
+Version:2.0.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
@@ -50,7 +50,7 @@
 
 %if 0%{?suse_version} > 1110
 %check
-python tests.py
+python -m unittest jsonschema.tests.test_jsonschema_test_suite
 %endif
 
 %files

++ jsonschema-1.0.0.tar.gz -> jsonschema-2.0.0.tar.gz ++
 5352 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-jsonschema for openSUSE:Factory

2013-04-14 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2013-04-14 10:38:15

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema", Maintainer is "radma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2013-02-25 20:41:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2013-04-14 10:38:16.0 +0200
@@ -1,0 +2,5 @@
+Sat Apr 13 10:11:29 UTC 2013 - toddrme2...@gmail.com
+
+- Remove pre_checkin.sh since the two packages are not the same
+
+---
--- /work/SRC/openSUSE:Factory/python-jsonschema/python3-jsonschema.changes 
2013-02-25 20:41:46.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new/python3-jsonschema.changes
2013-04-14 10:38:16.0 +0200
@@ -1,0 +2,11 @@
+Sat Apr 13 10:11:29 UTC 2013 - toddrme2...@gmail.com
+
+- Remove pre_checkin.sh since the two packages are not the same
+
+---
+Fri Apr 12 11:13:01 UTC 2013 - toddrme2...@gmail.com
+
+- Added requires and buildrequires python3.  It will not work 
+  properly without them on openSUSE < 12.3
+
+---

Old:

  pre_checkin.sh



Other differences:
--
++ python3-jsonschema.spec ++
--- /var/tmp/diff_new_pack.pYO3XQ/_old  2013-04-14 10:38:17.0 +0200
+++ /var/tmp/diff_new_pack.pYO3XQ/_new  2013-04-14 10:38:17.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-jsonschema
+# spec file for package python3-jsonschema
 #
 # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -24,10 +24,12 @@
 Group:  Development/Languages/Python
 Url:http://github.com/Julian/jsonschema
 Source: 
http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
+BuildRequires:  python3
 BuildRequires:  python3-devel
 # Test build requirements
 BuildRequires:  python3-mock
 BuildRequires:  python3-unittest2
+Requires:   python3
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python3_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-jsonschema for openSUSE:Factory

2013-02-25 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2013-02-25 20:41:44

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema", Maintainer is "radma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2012-11-25 13:42:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2013-02-25 20:41:46.0 +0100
@@ -1,0 +2,18 @@
+Mon Feb 25 09:17:22 UTC 2013 - p.drou...@gmail.com
+
+- Add python3 support 
+  Tests with python3 fails for instance
+
+---
+Mon Feb 25 08:34:55 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 1.0.0:
+  + Support for Draft 4
+  + Support for format
+  + Longs are ints too!
+  + Fixed a number of issues with ``$ref`` support (#66)
+  + Draft4Validator is now the default
+  + ``ValidationError.path`` is now in sequential order
+  + Added ``ValidatorMixin``
+
+---
New Changes file:

--- /dev/null   2013-02-25 16:34:27.356011506 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonschema.new/python3-jsonschema.changes
2013-02-25 20:41:46.0 +0100
@@ -0,0 +1,41 @@
+---
+Mon Feb 25 09:17:22 UTC 2013 - p.drou...@gmail.com
+
+- Add python3 support 
+  Tests with python3 fails for instance
+
+---
+Mon Feb 25 08:34:55 UTC 2013 - p.drou...@gmail.com
+
+- Update to version 1.0.0:
+  + Support for Draft 4
+  + Support for format
+  + Longs are ints too!
+  + Fixed a number of issues with ``$ref`` support (#66)
+  + Draft4Validator is now the default
+  + ``ValidationError.path`` is now in sequential order
+  + Added ``ValidatorMixin``
+
+---
+Thu Nov 22 15:41:35 UTC 2012 - sasc...@suse.de
+
+- Update to version 0.7:
+  + Partial support for (JSON Pointer) $ref
+  + Deprecations
+  + Validator is replaced by Draft3Validator with a slightly different
+interface
+  + validator(meta_validate=False)
+- Changes from version 0.6:
+  + Issue #30 - Wrong behavior for the dependencies property validation
+  + Fix a miswritten test
+
+---
+Fri Jul 27 10:19:13 UTC 2012 - sasc...@suse.de
+
+- Add BuildRequires: python-unittest2 for SLE-11-SP2
+
+---
+Thu Jul 26 13:54:29 UTC 2012 - sasc...@suse.de
+
+- Initial version
+

Old:

  jsonschema-0.7.tar.gz

New:

  jsonschema-1.0.0.tar.gz
  pre_checkin.sh
  python3-jsonschema.changes
  python3-jsonschema.spec



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.VtHnq3/_old  2013-02-25 20:41:47.0 +0100
+++ /var/tmp/diff_new_pack.VtHnq3/_new  2013-02-25 20:41:47.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonschema
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonschema
-Version:0.7
+Version:1.0.0
 Release:0
 Summary:An implementation of JSON-Schema validation for Python
 License:MIT
@@ -48,8 +48,10 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%if 0%{?suse_version} > 1110
 %check
 python tests.py
+%endif
 
 %files
 %defattr(-,root,root,-)

++ python3-jsonschema.spec ++
#
# spec file for package python-jsonschema
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   python3-jsonschema
Version:1.0.0
Release:

commit python-jsonschema for openSUSE:Factory

2012-11-25 Thread h_root
Hello community,

here is the log from the commit of package python-jsonschema for 
openSUSE:Factory checked in at 2012-11-25 13:42:20

Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonschema.new (New)


Package is "python-jsonschema", Maintainer is "cth...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes  
2012-07-30 17:13:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonschema.new/python-jsonschema.changes 
2012-11-25 13:42:22.0 +0100
@@ -1,0 +2,13 @@
+Thu Nov 22 15:41:35 UTC 2012 - sasc...@suse.de
+
+- Update to version 0.7:
+  + Partial support for (JSON Pointer) $ref
+  + Deprecations
+  + Validator is replaced by Draft3Validator with a slightly different
+interface
+  + validator(meta_validate=False)
+- Changes from version 0.6:
+  + Issue #30 - Wrong behavior for the dependencies property validation
+  + Fix a miswritten test
+
+---

Old:

  jsonschema-0.5.tar.gz

New:

  jsonschema-0.7.tar.gz



Other differences:
--
++ python-jsonschema.spec ++
--- /var/tmp/diff_new_pack.7tl4Vi/_old  2012-11-25 13:42:23.0 +0100
+++ /var/tmp/diff_new_pack.7tl4Vi/_new  2012-11-25 13:42:23.0 +0100
@@ -13,18 +13,20 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-jsonschema
-Version:0.5
+Version:0.7
 Release:0
-License:MIT
 Summary:An implementation of JSON-Schema validation for Python
-Url:http://github.com/Julian/jsonschema
+License:MIT
 Group:  Development/Languages/Python
+Url:http://github.com/Julian/jsonschema
 Source: 
http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
 BuildRequires:  python-devel
-# This is needed for SLE-11-SP2:
+# Test build requirements
+BuildRequires:  python-mock
 BuildRequires:  python-unittest2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110

++ jsonschema-0.5.tar.gz -> jsonschema-0.7.tar.gz ++
 1674 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org