From c2782659b8ff1a4fa57fd07716f6458132b3f55020fe30f5a4bb3d2d95e03629 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Mon, 10 Jun 2013 13:00:50 +0000
Subject: [PATCH 1/2] Accepting request 178357 from
home:dirkmueller:branches:devel:languages:python
- 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)
- 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)
OBS-URL: https://build.opensuse.org/request/show/178357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=10
---
jsonschema-1.0.0.tar.gz | 3 ---
jsonschema-2.0.0.tar.gz | 3 +++
python-jsonschema.changes | 20 ++++++++++++++++++++
python-jsonschema.spec | 4 ++--
python3-jsonschema.spec | 2 +-
5 files changed, 26 insertions(+), 6 deletions(-)
delete mode 100644 jsonschema-1.0.0.tar.gz
create mode 100644 jsonschema-2.0.0.tar.gz
diff --git a/jsonschema-1.0.0.tar.gz b/jsonschema-1.0.0.tar.gz
deleted file mode 100644
index 4bfad51..0000000
--- a/jsonschema-1.0.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:98faa077c3b46ac52cff836dc3a4c8436392b65ec3f98e758fab792a2efe053d
-size 33437
diff --git a/jsonschema-2.0.0.tar.gz b/jsonschema-2.0.0.tar.gz
new file mode 100644
index 0000000..aa81f33
--- /dev/null
+++ b/jsonschema-2.0.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c2c8483be59aea3df568d8aad2b3296ef7ea767639efe6e0363c722f7f096322
+size 39933
diff --git a/python-jsonschema.changes b/python-jsonschema.changes
index 997dc4a..18634da 100644
--- a/python-jsonschema.changes
+++ b/python-jsonschema.changes
@@ -1,3 +1,23 @@
+-------------------------------------------------------------------
+Mon Jun 10 12:42:14 UTC 2013 - dmueller@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 - dmueller@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)
+
-------------------------------------------------------------------
Sat Apr 13 10:11:29 UTC 2013 - toddrme2178@gmail.com
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index e191cf3..0666360 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -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 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version} > 1110
%check
-python tests.py
+python -m unittest jsonschema.tests.test_jsonschema_test_suite
%endif
%files
diff --git a/python3-jsonschema.spec b/python3-jsonschema.spec
index c365679..1a3a889 100644
--- a/python3-jsonschema.spec
+++ b/python3-jsonschema.spec
@@ -17,7 +17,7 @@
Name: python3-jsonschema
-Version: 1.0.0
+Version: 2.0.0
Release: 0
Summary: An implementation of JSON-Schema validation for Python
License: MIT
From 344ada0d7adcc3a4c75b8dcaf7dfdb8799fc5b74abc8ea7ef6ec634fa54c0d89 Mon Sep 17 00:00:00 2001
From: Sascha Peilicke
Date: Mon, 17 Jun 2013 12:51:44 +0000
Subject: [PATCH 2/2] Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=11
---
python3-jsonschema.changes | 52 -------------------------------
python3-jsonschema.spec | 63 --------------------------------------
2 files changed, 115 deletions(-)
delete mode 100644 python3-jsonschema.changes
delete mode 100644 python3-jsonschema.spec
diff --git a/python3-jsonschema.changes b/python3-jsonschema.changes
deleted file mode 100644
index 6f8b702..0000000
--- a/python3-jsonschema.changes
+++ /dev/null
@@ -1,52 +0,0 @@
--------------------------------------------------------------------
-Sat Apr 13 10:11:29 UTC 2013 - toddrme2178@gmail.com
-
-- Remove pre_checkin.sh since the two packages are not the same
-
--------------------------------------------------------------------
-Fri Apr 12 11:13:01 UTC 2013 - toddrme2178@gmail.com
-
-- Added requires and buildrequires python3. It will not work
- properly without them on openSUSE < 12.3
-
--------------------------------------------------------------------
-Mon Feb 25 09:17:22 UTC 2013 - p.drouand@gmail.com
-
-- Add python3 support
- Tests with python3 fails for instance
-
--------------------------------------------------------------------
-Mon Feb 25 08:34:55 UTC 2013 - p.drouand@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 - saschpe@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 - saschpe@suse.de
-
-- Add BuildRequires: python-unittest2 for SLE-11-SP2
-
--------------------------------------------------------------------
-Thu Jul 26 13:54:29 UTC 2012 - saschpe@suse.de
-
-- Initial version
-
diff --git a/python3-jsonschema.spec b/python3-jsonschema.spec
deleted file mode 100644
index 1a3a889..0000000
--- a/python3-jsonschema.spec
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# spec file for package python3-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: 2.0.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: 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()")}
-%else
-BuildArch: noarch
-%endif
-
-%description
-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}
-
-%build
-python3 setup.py build
-
-%install
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%if 0%{?suse_version} > 1110
-%check
-#python3 tests.py
-%endif
-
-%files
-%defattr(-,root,root,-)
-%doc COPYING README.rst
-%{python3_sitelib}/*
-
-%changelog