commit python-jsonpatch for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2020-08-06 17:32:10

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


Package is "python-jsonpatch"

Thu Aug  6 17:32:10 2020 rev:21 rq:824356 version:1.26

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2020-03-08 22:21:35.075982952 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpatch.new.3399/python-jsonpatch.changes  
2020-08-06 17:32:45.849103426 +0200
@@ -1,0 +2,6 @@
+Tue Aug  4 16:19:12 UTC 2020 - Dirk Mueller 
+
+- update to 1.26:
+  * bugfixes (reject invalid json patches)
+
+---

Old:

  jsonpatch-1.25.tar.gz

New:

  jsonpatch-1.26.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.jeAiA6/_old  2020-08-06 17:32:46.585103598 +0200
+++ /var/tmp/diff_new_pack.jeAiA6/_new  2020-08-06 17:32:46.589103599 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpatch
-Version:1.25
+Version:1.26
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause

++ jsonpatch-1.25.tar.gz -> jsonpatch-1.26.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.25/PKG-INFO new/jsonpatch-1.26/PKG-INFO
--- old/jsonpatch-1.25/PKG-INFO 2020-01-29 09:22:05.0 +0100
+++ new/jsonpatch-1.26/PKG-INFO 2020-06-22 14:57:28.0 +0200
@@ -1,17 +1,17 @@
 Metadata-Version: 1.2
 Name: jsonpatch
-Version: 1.25
+Version: 1.26
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
 Project-URL: Website, https://github.com/stefankoegl/python-json-patch
+Project-URL: Tests, https://travis-ci.org/stefankoegl/python-json-patch
 Project-URL: Repository, https://github.com/stefankoegl/python-json-patch.git
+Project-URL: Test Coverage, 
https://coveralls.io/r/stefankoegl/python-json-patch
 Project-URL: Documentation, https://python-json-patch.readthedocs.org/
 Project-URL: PyPI, https://pypi.org/pypi/jsonpatch
-Project-URL: Tests, https://travis-ci.org/stefankoegl/python-json-patch
-Project-URL: Test Coverage, 
https://coveralls.io/r/stefankoegl/python-json-patch
 Description: python-json-patch
 =
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.25/jsonpatch.egg-info/PKG-INFO 
new/jsonpatch-1.26/jsonpatch.egg-info/PKG-INFO
--- old/jsonpatch-1.25/jsonpatch.egg-info/PKG-INFO  2020-01-29 
09:22:05.0 +0100
+++ new/jsonpatch-1.26/jsonpatch.egg-info/PKG-INFO  2020-06-22 
14:57:28.0 +0200
@@ -1,17 +1,17 @@
 Metadata-Version: 1.2
 Name: jsonpatch
-Version: 1.25
+Version: 1.26
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
 Project-URL: Website, https://github.com/stefankoegl/python-json-patch
+Project-URL: Tests, https://travis-ci.org/stefankoegl/python-json-patch
 Project-URL: Repository, https://github.com/stefankoegl/python-json-patch.git
+Project-URL: Test Coverage, 
https://coveralls.io/r/stefankoegl/python-json-patch
 Project-URL: Documentation, https://python-json-patch.readthedocs.org/
 Project-URL: PyPI, https://pypi.org/pypi/jsonpatch
-Project-URL: Tests, https://travis-ci.org/stefankoegl/python-json-patch
-Project-URL: Test Coverage, 
https://coveralls.io/r/stefankoegl/python-json-patch
 Description: python-json-patch
 =
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.25/jsonpatch.py 
new/jsonpatch-1.26/jsonpatch.py
--- old/jsonpatch-1.25/jsonpatch.py 2020-01-29 09:18:14.0 +0100
+++ new/jsonpatch-1.26/jsonpatch.py 2020-06-22 14:57:11.0 +0200
@@ -56,7 +56,7 @@
 
 # Will be parsed by setup.py to determine package metadata
 __author__ = 'Stefan Kögl '
-__version__ = '1.25'
+__version__ = '1.26'
 __website__ = 'https://github.com/stefankoegl/python-json-patch'
 __license__ = 'Modified BSD License'
 
@@ -76,9 +76,9 @@
 
 class JsonPatchConflict(JsonPatchException):
 """Raised if patch could not be applied due to conflict situation such as:
-- attempt to add object key then it already exists;
+- attempt to add object key when it already exists;
 - at

commit python-jsonpatch for openSUSE:Factory

2020-03-08 Thread root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2020-03-08 22:21:31

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


Package is "python-jsonpatch"

Sun Mar  8 22:21:31 2020 rev:20 rq:780383 version:1.25

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2019-09-23 12:08:46.369891872 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpatch.new.26092/python-jsonpatch.changes 
2020-03-08 22:21:35.075982952 +0100
@@ -1,0 +2,6 @@
+Fri Feb 28 21:34:10 UTC 2020 - Dirk Mueller 
+
+- update to 1.25:
+  * bugfixes, 3.8 support
+
+---

Old:

  jsonpatch-1.24.tar.gz

New:

  jsonpatch-1.25.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.RHGRlH/_old  2020-03-08 22:21:36.835984037 +0100
+++ /var/tmp/diff_new_pack.RHGRlH/_new  2020-03-08 22:21:36.871984060 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpatch
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpatch
-Version:1.24
+Version:1.25
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause

++ jsonpatch-1.24.tar.gz -> jsonpatch-1.25.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.24/PKG-INFO new/jsonpatch-1.25/PKG-INFO
--- old/jsonpatch-1.24/PKG-INFO 2019-07-28 18:07:34.0 +0200
+++ new/jsonpatch-1.25/PKG-INFO 2020-01-29 09:22:05.0 +0100
@@ -1,17 +1,17 @@
 Metadata-Version: 1.2
 Name: jsonpatch
-Version: 1.24
+Version: 1.25
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
 Project-URL: Website, https://github.com/stefankoegl/python-json-patch
-Project-URL: Tests, https://travis-ci.org/stefankoegl/python-json-patch
 Project-URL: Repository, https://github.com/stefankoegl/python-json-patch.git
-Project-URL: Test Coverage, 
https://coveralls.io/r/stefankoegl/python-json-patch
 Project-URL: Documentation, https://python-json-patch.readthedocs.org/
 Project-URL: PyPI, https://pypi.org/pypi/jsonpatch
+Project-URL: Tests, https://travis-ci.org/stefankoegl/python-json-patch
+Project-URL: Test Coverage, 
https://coveralls.io/r/stefankoegl/python-json-patch
 Description: python-json-patch
 =
 
@@ -62,12 +62,12 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries
 Classifier: Topic :: Utilities
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.24/jsonpatch.egg-info/PKG-INFO 
new/jsonpatch-1.25/jsonpatch.egg-info/PKG-INFO
--- old/jsonpatch-1.24/jsonpatch.egg-info/PKG-INFO  2019-07-28 
18:07:34.0 +0200
+++ new/jsonpatch-1.25/jsonpatch.egg-info/PKG-INFO  2020-01-29 
09:22:05.0 +0100
@@ -1,17 +1,17 @@
 Metadata-Version: 1.2
 Name: jsonpatch
-Version: 1.24
+Version: 1.25
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
 Project-URL: Website, https://github.com/stefankoegl/python-json-patch
-Project-URL: Tests, https://travis-ci.org/stefankoegl/python-json-patch
 Project-URL: Repository, https://github.com/stefankoegl/python-json-patch.git
-Project-URL: Test Coverage, 
https://coveralls.io/r/stefankoegl/python-json-patch
 Project-URL: Documentation, https://python-json-patch.readthedocs.org/
 Project-URL: PyPI, https://pypi.org/

commit python-jsonpatch for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2019-09-23 12:08:43

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


Package is "python-jsonpatch"

Mon Sep 23 12:08:43 2019 rev:19 rq:730151 version:1.24

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2019-05-22 10:51:15.807330070 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpatch.new.7948/python-jsonpatch.changes  
2019-09-23 12:08:46.369891872 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 13:24:02 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.24:
+  * test with python 3.8
+
+---

Old:

  jsonpatch-1.23.tar.gz

New:

  jsonpatch-1.24.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.AMuBlp/_old  2019-09-23 12:08:47.225891731 +0200
+++ /var/tmp/diff_new_pack.AMuBlp/_new  2019-09-23 12:08:47.229891730 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpatch
-Version:1.23
+Version:1.24
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause
@@ -27,6 +27,7 @@
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
 BuildRequires:  %{python_module jsonpointer >= 1.9}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-jsonpointer >= 1.9
 Requires(post): update-alternatives
@@ -45,6 +46,7 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 # Prepare for update-alternatives usage
 %python_clone -a %{buildroot}%{_bindir}/jsonpatch

++ jsonpatch-1.23.tar.gz -> jsonpatch-1.24.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.23/PKG-INFO new/jsonpatch-1.24/PKG-INFO
--- old/jsonpatch-1.23/PKG-INFO 2018-04-02 18:02:47.0 +0200
+++ new/jsonpatch-1.24/PKG-INFO 2019-07-28 18:07:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: jsonpatch
-Version: 1.23
+Version: 1.24
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
@@ -65,6 +65,7 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.23/jsonpatch.egg-info/PKG-INFO 
new/jsonpatch-1.24/jsonpatch.egg-info/PKG-INFO
--- old/jsonpatch-1.23/jsonpatch.egg-info/PKG-INFO  2018-04-02 
18:02:47.0 +0200
+++ new/jsonpatch-1.24/jsonpatch.egg-info/PKG-INFO  2019-07-28 
18:07:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: jsonpatch
-Version: 1.23
+Version: 1.24
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
@@ -65,6 +65,7 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.23/jsonpatch.py 
new/jsonpatch-1.24/jsonpatch.py
--- old/jsonpatch-1.23/jsonpatch.py 2018-04-02 18:01:57.0 +0200
+++ new/jsonpatch-1.24/jsonpatch.py 2019-07-28 18:07:12.0 +0200
@@ -56,7 +56,7 @@
 
 # Will be parsed by setup.py to determine package metadata
 __author__ = 'Stefan Kögl '
-__version__ = '1.23'
+__version__ = '1.24'
 __website__ = 'https://github.com/stefankoegl/python-json-patch'
 __license__ = 'Modified BSD License'
 
@@ -435,8 +435,10 @@
 subobj[part] = value
 
 else:
-raise TypeError("invalid document type {0}".format(type(subobj)))
-
+if part is None:
+raise TypeError("invalid document type 
{0}".format(type(subobj)))
+else:
+raise JsonPatchConflict("

commit python-jsonpatch for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2019-05-22 10:51:06

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


Package is "python-jsonpatch"

Wed May 22 10:51:06 2019 rev:18 rq:703807 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2018-12-24 11:38:46.153591750 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpatch.new.5148/python-jsonpatch.changes  
2019-05-22 10:51:15.807330070 +0200
@@ -1,0 +2,8 @@
+Fri May 17 21:32:45 UTC 2019 - Scott Wulf 
+
+- Removing conflict with jsondiff
+  * Reasoning:
+- moto requires cfn-lint and jsondiff
+- cfn-lint requires jsonpatch
+
+---



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.dDwqMf/_old  2019-05-22 10:51:16.595329619 +0200
+++ /var/tmp/diff_new_pack.dDwqMf/_new  2019-05-22 10:51:16.603329615 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpatch
 #
-# 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
@@ -31,9 +31,6 @@
 Requires:   python-jsonpointer >= 1.9
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
-# provides jsondiff binary too
-Conflicts:  python2-jsondiff
-Conflicts:  python3-jsondiff
 BuildArch:  noarch
 %python_subpackages
 
@@ -50,24 +47,22 @@
 %python_install
 
 # Prepare for update-alternatives usage
-for p in jsonpatch jsondiff ; do
-%python_clone -a %{buildroot}%{_bindir}/$p
-done
+%python_clone -a %{buildroot}%{_bindir}/jsonpatch
+rm %{buildroot}%{_bindir}/jsondiff
 
 %check
 %python_exec tests.py
 
 %post
-%python_install_alternative jsonpatch jsondiff
+%python_install_alternative jsonpatch
 
 %preun
-%python_uninstall_alternative jsonpatch jsondiff
+%python_uninstall_alternative jsonpatch
 
 %files %{python_files}
 %license COPYING
 %doc AUTHORS README.md
 %python_alternative %{_bindir}/jsonpatch
-%python_alternative %{_bindir}/jsondiff
 %{python_sitelib}/*
 
 %changelog




commit python-jsonpatch for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2018-12-24 11:38:44

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


Package is "python-jsonpatch"

Mon Dec 24 11:38:44 2018 rev:17 rq:659455 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2018-05-16 11:41:31.996430532 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpatch.new.28833/python-jsonpatch.changes 
2018-12-24 11:38:46.153591750 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:49:36 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.2OesMb/_old  2018-12-24 11:38:46.637591320 +0100
+++ /var/tmp/diff_new_pack.2OesMb/_new  2018-12-24 11:38:46.637591320 +0100
@@ -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/
 #
 
 
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 URL:https://github.com/stefankoegl/python-json-patch
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module jsonpointer >= 1.9}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros




commit python-jsonpatch for openSUSE:Factory

2018-05-16 Thread root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2018-05-16 11:40:09

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


Package is "python-jsonpatch"

Wed May 16 11:40:09 2018 rev:16 rq:607073 version:1.23

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2017-08-16 16:12:48.541002757 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2018-05-16 11:41:31.996430532 +0200
@@ -1,0 +2,10 @@
+Mon May 14 11:22:40 UTC 2018 - tchva...@suse.com
+
+- Version update to 1.23:
+  * dropped support for python 2.6
+  * More testcases for various bugs
+  * Various code cleanups
+- Run tests
+- Conflict with python-jsondiff as it provides jsondiff binary too
+
+---

Old:

  jsonpatch-1.16.tar.gz

New:

  jsonpatch-1.23.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.l8HRyK/_old  2018-05-16 11:41:32.660406368 +0200
+++ /var/tmp/diff_new_pack.l8HRyK/_new  2018-05-16 11:41:32.660406368 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpatch
 #
-# 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,27 +17,25 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
 Name:   python-jsonpatch
-Version:1.16
+Version:1.23
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/stefankoegl/python-json-patch
-Source: 
https://pypi.io/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
+URL:https://github.com/stefankoegl/python-json-patch
+Source: 
https://files.pythonhosted.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module jsonpointer >= 1.9}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module jsonpointer >= 1.9}
-%endif
 Requires:   python-jsonpointer >= 1.9
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# provides jsondiff binary too
+Conflicts:  python2-jsondiff
+Conflicts:  python3-jsondiff
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -57,6 +55,9 @@
 %python_clone -a %{buildroot}%{_bindir}/$p
 done
 
+%check
+%python_exec tests.py
+
 %post
 %python_install_alternative jsonpatch jsondiff
 
@@ -64,8 +65,8 @@
 %python_uninstall_alternative jsonpatch jsondiff
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README.md
+%license COPYING
+%doc AUTHORS README.md
 %python_alternative %{_bindir}/jsonpatch
 %python_alternative %{_bindir}/jsondiff
 %{python_sitelib}/*

++ jsonpatch-1.16.tar.gz -> jsonpatch-1.23.tar.gz ++
 1690 lines of diff (skipped)




commit python-jsonpatch for openSUSE:Factory

2017-08-16 Thread root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2017-08-16 16:12:42

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


Package is "python-jsonpatch"

Wed Aug 16 16:12:42 2017 rev:15 rq:515124 version:1.16

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2016-12-08 00:29:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2017-08-16 16:12:48.541002757 +0200
@@ -1,0 +2,11 @@
+Tue Aug  8 06:27:14 UTC 2017 - tbecht...@suse.com
+
+- Fix Requires
+
+---
+Fri Jul 28 14:43:04 UTC 2017 - da...@darins.net
+
+- Convert packaging to Singlespec
+- update to 1.16 
+
+---

Old:

  jsonpatch-1.14.tar.gz

New:

  jsonpatch-1.16.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.36LIu1/_old  2017-08-16 16:12:50.100783813 +0200
+++ /var/tmp/diff_new_pack.36LIu1/_new  2017-08-16 16:12:50.104783252 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpatch
 #
-# Copyright (c) 2016 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,64 +16,58 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
 Name:   python-jsonpatch
-Version:1.14
+Version:1.16
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/stefankoegl/python-json-patch
 Source: 
https://pypi.io/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-jsonpointer
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module jsonpointer >= 1.9}
+%endif
 Requires:   python-jsonpointer >= 1.9
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?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
 Python module to apply JSON-Patches (according to RFC 6902).
 
 %prep
 %setup -q -n jsonpatch-%{version}
-sed -i "s|entry_poimts|entry_points|" setup.py # Typo fix already in upstream 
git..
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 # Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 for p in jsonpatch jsondiff ; do
-mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
-ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
+%python_clone -a %{buildroot}%{_bindir}/$p
 done
 
 %post
-%_sbindir/update-alternatives \
---install %{_bindir}/jsonpatch jsonpatch %{_bindir}/jsonpatch-%{py_ver} 20 
\
---slave %{_bindir}/jsondiff jsondiff %{_bindir}/jsondiff-%{py_ver}
+%python_install_alternative jsonpatch jsondiff
 
 %preun
-if [ $1 -eq 0 ] ; then
-%_sbindir/update-alternatives --remove jsonpatch 
%{_bindir}/jsonpatch-%{py_ver}
-fi
+%python_uninstall_alternative jsonpatch jsondiff
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%{_bindir}/jsondiff
-%{_bindir}/jsonpatch
-%{_bindir}/jsondiff-%{py_ver}
-%{_bindir}/jsonpatch-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/jsondiff
-%ghost %{_sysconfdir}/alternatives/jsonpatch
-%{python_sitelib}/jsonpatch*
+%doc AUTHORS COPYING README.md
+%python_alternative %{_bindir}/jsonpatch
+%python_alternative %{_bindir}/jsondiff
+%{python_sitelib}/*
 
 %changelog

++ jsonpatch-1.14.tar.gz -> jsonpatch-1.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.14/PKG-INFO new/jsonpatch-1.16/PKG-INFO
--- old/jsonpatch-1.14/PKG-INFO 2016-05-31 20:24:55.0 +0200
+++ new/jsonpatch-1.16/PKG-INFO 2017-06-15 17:42:22.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jsonpatch
-Version: 1.14
+Version: 1.16
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/pyt

commit python-jsonpatch for openSUSE:Factory

2016-12-07 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2016-12-08 00:29:53

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2016-08-17 12:05:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2016-12-08 00:29:54.0 +0100
@@ -1,0 +2,5 @@
+Tue Nov 15 10:53:42 UTC 2016 - dmuel...@suse.com
+
+- udpate to 1.14.0
+
+---

Old:

  jsonpatch-1.11.tar.gz

New:

  jsonpatch-1.14.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.w2wWiU/_old  2016-12-08 00:29:55.0 +0100
+++ /var/tmp/diff_new_pack.w2wWiU/_new  2016-12-08 00:29:55.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpatch
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,13 +17,13 @@
 
 
 Name:   python-jsonpatch
-Version:1.11
+Version:1.14
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/stefankoegl/python-json-patch
-Source: 
http://pypi.python.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-jsonpointer
 Requires:   python-jsonpointer >= 1.9

++ jsonpatch-1.11.tar.gz -> jsonpatch-1.14.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.11/PKG-INFO new/jsonpatch-1.14/PKG-INFO
--- old/jsonpatch-1.11/PKG-INFO 2015-05-08 18:10:53.0 +0200
+++ new/jsonpatch-1.14/PKG-INFO 2016-05-31 20:24:55.0 +0200
@@ -1,34 +1,46 @@
 Metadata-Version: 1.1
 Name: jsonpatch
-Version: 1.11
+Version: 1.14
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
-Description: python-json-patch [![Build 
Status](https://secure.travis-ci.org/stefankoegl/python-json-patch.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-patch)
 [![Coverage 
Status](https://coveralls.io/repos/stefankoegl/python-json-patch/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-patch?branch=master)
 ![Downloads](https://pypip.in/d/jsonpatch/badge.png) 
![Version](https://pypip.in/v/jsonpatch/badge.png)
-=
+Description: python-json-patch |Build Status| |Coverage Status| |Downloads| 
|Version|
+

+
 Applying JSON Patches in Python
 ---
 
-Library to apply JSON Patches according to
-[RFC 6902](http://tools.ietf.org/html/rfc6902)
+Library to apply JSON Patches according to `RFC
+6902 `__
 
 See Sourcecode for Examples
 
-* Website: https://github.com/stefankoegl/python-json-patch
-* Repository: https://github.com/stefankoegl/python-json-patch.git
-* Documentation: https://python-json-patch.readthedocs.org/
-* PyPI: https://pypi.python.org/pypi/jsonpatch
-* Travis-CI: https://travis-ci.org/stefankoegl/python-json-patch
-* Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch
+-  Website: https://github.com/stefankoegl/python-json-patch
+-  Repository: https://github.com/stefankoegl/python-json-patch.git
+-  Documentation: https://python-json-patch.readthedocs.org/
+-  PyPI: https://pypi.python.org/pypi/jsonpatch
+-  Travis-CI: https://travis-ci.org/stefankoegl/python-json-patch
+-  Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch
 
 Running external tests
 --
-To run external tests (such as those from 
https://github.com/json-patch/json-patch-tests) use ext_test.py
+
+To run external tests (such as those from
+https://github.com/json-patch/json-patch-tests) use ext\_test.py
+
+::

commit python-jsonpatch for openSUSE:Factory

2016-08-17 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2016-08-17 12:05:39

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2015-06-24 20:50:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2016-08-17 12:05:45.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives implementation.
+
+---



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.xb3HD9/_old  2016-08-17 12:05:47.0 +0200
+++ /var/tmp/diff_new_pack.xb3HD9/_new  2016-08-17 12:05:47.0 +0200
@@ -28,8 +28,7 @@
 BuildRequires:  python-jsonpointer
 Requires:   python-jsonpointer >= 1.9
 Requires(post):   update-alternatives
-Requires(postun): update-alternatives
-Requires(pre):coreutils
+Requires(preun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -49,31 +48,32 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-for i in patch diff; do
-mv %{buildroot}%{_bindir}/json$i %{buildroot}%{_bindir}/json$i-%{py_ver}
-ln -s %{_bindir}/json$i-%{py_ver} %{buildroot}%{_bindir}/json$i
-done
 
-%pre
-[ -h %{_bindir}/jsonpatch ] || rm -f %{_bindir}/jsonpatch
-[ -h %{_bindir}/jsondiff ] || rm -f %{_bindir}/jsondiff
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+for p in jsonpatch jsondiff ; do
+mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
+ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
+done
 
 %post
-update-alternatives --install \
-%{_bindir}/jsonpatch jsonpatch %{_bindir}/jsonpatch-%{py_ver} 20 \
+%_sbindir/update-alternatives \
+--install %{_bindir}/jsonpatch jsonpatch %{_bindir}/jsonpatch-%{py_ver} 20 
\
 --slave %{_bindir}/jsondiff jsondiff %{_bindir}/jsondiff-%{py_ver}
 
 %preun
 if [ $1 -eq 0 ] ; then
-update-alternatives --remove jsonpatch %{_bindir}/jsonpatch-%{py_ver}
+%_sbindir/update-alternatives --remove jsonpatch 
%{_bindir}/jsonpatch-%{py_ver}
 fi
 
 %files
 %defattr(-,root,root,-)
-%ghost %{_bindir}/jsonpatch
-%{_bindir}/jsonpatch-%{py_ver}
-%ghost %{_bindir}/jsondiff
+%{_bindir}/jsondiff
+%{_bindir}/jsonpatch
 %{_bindir}/jsondiff-%{py_ver}
+%{_bindir}/jsonpatch-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/jsondiff
+%ghost %{_sysconfdir}/alternatives/jsonpatch
 %{python_sitelib}/jsonpatch*
 
 %changelog




commit python-jsonpatch for openSUSE:Factory

2015-06-24 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2015-06-24 20:50:53

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2015-02-13 08:35:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2015-06-24 20:50:54.0 +0200
@@ -1,0 +2,11 @@
+Mon Jun 22 14:36:43 UTC 2015 - tbecht...@suse.com
+
+- update to 1.11.0:
+  * bump version to 1.11
+  * Fix tests for Python 3.2
+  * bump version to 1.10
+  * Require pypandoc instead of pandoc for setup.py
+  * Fix make_patch with unicode paths
+  * Enable container-based builds on Travis-CI
+- Update Requires according to requirements.txt
+---

Old:

  jsonpatch-1.9.tar.gz

New:

  jsonpatch-1.11.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.IeADho/_old  2015-06-24 20:50:54.0 +0200
+++ /var/tmp/diff_new_pack.IeADho/_new  2015-06-24 20:50:54.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonpatch
-Version:1.9
+Version:1.11
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause
@@ -26,7 +26,7 @@
 Source: 
http://pypi.python.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-jsonpointer
-Requires:   python-jsonpointer >= 1.5
+Requires:   python-jsonpointer >= 1.9
 Requires(post):   update-alternatives
 Requires(postun): update-alternatives
 Requires(pre):coreutils

++ jsonpatch-1.9.tar.gz -> jsonpatch-1.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.9/PKG-INFO new/jsonpatch-1.11/PKG-INFO
--- old/jsonpatch-1.9/PKG-INFO  2014-11-03 21:42:26.0 +0100
+++ new/jsonpatch-1.11/PKG-INFO 2015-05-08 18:10:53.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jsonpatch
-Version: 1.9
+Version: 1.11
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.9/jsonpatch.egg-info/PKG-INFO 
new/jsonpatch-1.11/jsonpatch.egg-info/PKG-INFO
--- old/jsonpatch-1.9/jsonpatch.egg-info/PKG-INFO   2014-11-03 
21:42:26.0 +0100
+++ new/jsonpatch-1.11/jsonpatch.egg-info/PKG-INFO  2015-05-08 
18:10:53.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jsonpatch
-Version: 1.9
+Version: 1.11
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.9/jsonpatch.egg-info/requires.txt 
new/jsonpatch-1.11/jsonpatch.egg-info/requires.txt
--- old/jsonpatch-1.9/jsonpatch.egg-info/requires.txt   2014-11-03 
21:42:26.0 +0100
+++ new/jsonpatch-1.11/jsonpatch.egg-info/requires.txt  2015-05-08 
18:10:53.0 +0200
@@ -1 +1 @@
-jsonpointer>=1.5
+jsonpointer>=1.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.9/jsonpatch.py 
new/jsonpatch-1.11/jsonpatch.py
--- old/jsonpatch-1.9/jsonpatch.py  2014-11-03 18:49:38.0 +0100
+++ new/jsonpatch-1.11/jsonpatch.py 2015-05-08 18:07:25.0 +0200
@@ -51,7 +51,7 @@
 
 # Will be parsed by setup.py to determine package metadata
 __author__ = 'Stefan Kögl '
-__version__ = '1.9'
+__version__ = '1.11'
 __website__ = 'https://github.com/stefankoegl/python-json-patch'
 __license__ = 'Modified BSD License'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.9/requirements.txt 
new/jsonpatch-1.11/requirements.txt
--- old/jsonpatch-1.9/requirements.txt  2014-11-03 18:49:06.0 +0100
+++ new/jsonpatch-1.11/requirements.txt 2015-05-08 18:03:57.0 +0200
@@ -1 +1 @@
-jsonpointer>=1.5
+jsonpointer>=1.9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.9/tests.py new/jsonpatch-1.11/tests.py
--- old/jsonpatch-1.9/tests.py  2014-07-03 22:43:36.0 +0200
+++ new/jsonpatch-1.11/tests.py 2015-05-08 18:03:57.0 +0200
@@ -351,6 +351,14 @@
 res = patch.apply(src)
 self.assertEqual(res, dst)
 
+def test_make_patch_unicode(self):
+""" Test if unicode keys and values are handl

commit python-jsonpatch for openSUSE:Factory

2015-02-12 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2015-02-13 08:35:08

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2014-11-18 22:45:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2015-02-13 08:35:10.0 +0100
@@ -1,0 +2,15 @@
+Wed Feb  4 14:28:36 UTC 2015 - tbecht...@suse.com
+
+- update to version 1.9:
+   * bump version to 1.9
+   * require jsonpointer>=1.5
+   * Use ABCs instead of list/dict, fixes #33
+   * Convert readme from markdown to rst for PyPI
+   * Added Python 3.4 and PyPy3 to the build matrix.
+   * bump version to 1.8
+   * Fix installation of commandline scripts (fixes #31)
+   * raise JsonPatchException on missing patch attributes
+   * Add wheel as dev dependency for wheel packages
+- Requires(pre) coreutils to be able to use "rm" cmd
+
+---

Old:

  jsonpatch-1.7.tar.gz

New:

  jsonpatch-1.9.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.LrZHBh/_old  2015-02-13 08:35:10.0 +0100
+++ /var/tmp/diff_new_pack.LrZHBh/_new  2015-02-13 08:35:10.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpatch
 #
-# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonpatch
-Version:1.7
+Version:1.9
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause
@@ -26,9 +26,10 @@
 Source: 
http://pypi.python.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-jsonpointer
-Requires:   python-jsonpointer >= 1.3
+Requires:   python-jsonpointer >= 1.5
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+Requires(pre):coreutils
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

++ jsonpatch-1.7.tar.gz -> jsonpatch-1.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.7/PKG-INFO new/jsonpatch-1.9/PKG-INFO
--- old/jsonpatch-1.7/PKG-INFO  2014-07-03 22:07:40.0 +0200
+++ new/jsonpatch-1.9/PKG-INFO  2014-11-03 21:42:26.0 +0100
@@ -1,12 +1,34 @@
 Metadata-Version: 1.1
 Name: jsonpatch
-Version: 1.7
+Version: 1.9
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
-Description: UNKNOWN
+Description: python-json-patch [![Build 
Status](https://secure.travis-ci.org/stefankoegl/python-json-patch.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-patch)
 [![Coverage 
Status](https://coveralls.io/repos/stefankoegl/python-json-patch/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-patch?branch=master)
 ![Downloads](https://pypip.in/d/jsonpatch/badge.png) 
![Version](https://pypip.in/v/jsonpatch/badge.png)
+=
+Applying JSON Patches in Python
+---
+
+Library to apply JSON Patches according to
+[RFC 6902](http://tools.ietf.org/html/rfc6902)
+
+See Sourcecode for Examples
+
+* Website: https://github.com/stefankoegl/python-json-patch
+* Repository: https://github.com/stefankoegl/python-json-patch.git
+* Documentation: https://python-json-patch.readthedocs.org/
+* PyPI: https://pypi.python.org/pypi/jsonpatch
+* Travis-CI: https://travis-ci.org/stefankoegl/python-json-patch
+* Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch
+
+Running external tests
+--
+To run external tests (such as those from 
https://github.com/json-patch/json-patch-tests) use ext_test.py
+
+./ext_tests.py ../json-patch-tests/tests.json
+
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: C

commit python-jsonpatch for openSUSE:Factory

2014-11-18 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2014-11-18 22:45:03

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2014-09-18 07:12:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2014-11-18 22:45:33.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 08 17:31:00 UTC 2014 - Led 
+
+- fix bashisms in pre script
+
+---



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.U7QC1i/_old  2014-11-18 22:45:35.0 +0100
+++ /var/tmp/diff_new_pack.U7QC1i/_new  2014-11-18 22:45:35.0 +0100
@@ -54,8 +54,8 @@
 done
 
 %pre
-[[ ! -L %{_bindir}/jsonpatch ]] && rm -f %{_bindir}/jsonpatch || :
-[[ ! -L %{_bindir}/jsondiff ]] && rm -f %{_bindir}/jsondiff || :
+[ -h %{_bindir}/jsonpatch ] || rm -f %{_bindir}/jsonpatch
+[ -h %{_bindir}/jsondiff ] || rm -f %{_bindir}/jsondiff
 
 %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-jsonpatch for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2014-09-18 07:12:46

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2013-11-24 12:32:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2014-09-18 07:12:48.0 +0200
@@ -1,0 +2,15 @@
+Mon Sep 15 09:40:21 UTC 2014 - tbecht...@suse.com
+
+- update to version 1.7:
+  * bump version to 1.7
+  * [Setup] use utf-8 explicitly in setup.py
+  * bump version to 1.6
+  * Fix make_patch() when root is an array (fixes #28)
+  * Merge branch 'remove-error' of https://github.com/umago/python-json-patch
+  * Improve error message when removing non-existent objects
+  * bump version to 1.5
+  * fix test for Python 3
+  * fix make_patch where obj keys contain "/", fixes #26
+- Update Requires for python-jsonpointer
+
+---

Old:

  jsonpatch-1.3.tar.gz

New:

  jsonpatch-1.7.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.hbDiT2/_old  2014-09-18 07:12:48.0 +0200
+++ /var/tmp/diff_new_pack.hbDiT2/_new  2014-09-18 07:12:48.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpatch
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonpatch
-Version:1.3
+Version:1.7
 Release:0
 Summary:Python - JSON-Patches
 License:BSD-3-Clause
@@ -26,7 +26,7 @@
 Source: 
http://pypi.python.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-jsonpointer
-Requires:   python-jsonpointer >= 1.0
+Requires:   python-jsonpointer >= 1.3
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ jsonpatch-1.3.tar.gz -> jsonpatch-1.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.3/PKG-INFO new/jsonpatch-1.7/PKG-INFO
--- old/jsonpatch-1.3/PKG-INFO  2013-10-13 15:14:53.0 +0200
+++ new/jsonpatch-1.7/PKG-INFO  2014-07-03 22:07:40.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: jsonpatch
-Version: 1.3
+Version: 1.7
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
@@ -8,3 +8,20 @@
 License: Modified BSD License
 Description: UNKNOWN
 Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
+Classifier: Environment :: Console
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
+Classifier: Topic :: Software Development :: Libraries
+Classifier: Topic :: Utilities
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.3/README.md new/jsonpatch-1.7/README.md
--- old/jsonpatch-1.3/README.md 2013-10-13 15:06:14.0 +0200
+++ new/jsonpatch-1.7/README.md 2013-12-25 12:54:46.0 +0100
@@ -11,9 +11,12 @@
 * Website: https://github.com/stefankoegl/python-json-patch
 * Repository: https://github.com/stefankoegl/python-json-patch.git
 * Documentation: https://python-json-patch.readthedocs.org/
+* PyPI: https://pypi.python.org/pypi/jsonpatch
+* Travis-CI: https://travis-ci.org/stefankoegl/python-json-patch
+* Coveralls: https://coveralls.io/r/stefankoegl/python-json-patch
 
 Running external tests
 --
-To run external tests (such as those from 
https://github.com/json-patch/json-patch-tests) use ext_test.py 
+To run external tests (such as thos

commit python-jsonpatch for openSUSE:Factory

2013-11-24 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2013-11-24 12:32:16

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2013-11-15 16:56:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2013-11-24 12:32:18.0 +0100
@@ -1,0 +2,5 @@
+Fri Nov 15 09:53:50 UTC 2013 - speili...@suse.com
+
+- Don't ghost /etc/alternatives/..., post-build-checks on 12.2 fail
+
+---



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.WjXH3C/_old  2013-11-24 12:32:18.0 +0100
+++ /var/tmp/diff_new_pack.WjXH3C/_new  2013-11-24 12:32:18.0 +0100
@@ -70,10 +70,8 @@
 %files
 %defattr(-,root,root,-)
 %ghost %{_bindir}/jsonpatch
-%ghost %{_sysconfdir}/alternatives/jsonpatch
 %{_bindir}/jsonpatch-%{py_ver}
 %ghost %{_bindir}/jsondiff
-%ghost %{_sysconfdir}/alternatives/jsondiff
 %{_bindir}/jsondiff-%{py_ver}
 %{python_sitelib}/jsonpatch*
 

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



commit python-jsonpatch for openSUSE:Factory

2013-11-15 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2013-11-15 16:56:50

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2013-11-04 13:26:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2013-11-15 16:56:51.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 14 09:46:03 UTC 2013 - speili...@suse.com
+
+- Fix update-alternatives (SLE_11_SP3)
+
+---



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.mLsdMW/_old  2013-11-15 16:56:53.0 +0100
+++ /var/tmp/diff_new_pack.mLsdMW/_new  2013-11-15 16:56:53.0 +0100
@@ -41,6 +41,7 @@
 
 %prep
 %setup -q -n jsonpatch-%{version}
+sed -i "s|entry_poimts|entry_points|" setup.py # Typo fix already in upstream 
git..
 
 %build
 python setup.py build
@@ -49,6 +50,7 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 for i in patch diff; do
 mv %{buildroot}%{_bindir}/json$i %{buildroot}%{_bindir}/json$i-%{py_ver}
+ln -s %{_bindir}/json$i-%{py_ver} %{buildroot}%{_bindir}/json$i
 done
 
 %pre
@@ -68,9 +70,11 @@
 %files
 %defattr(-,root,root,-)
 %ghost %{_bindir}/jsonpatch
+%ghost %{_sysconfdir}/alternatives/jsonpatch
 %{_bindir}/jsonpatch-%{py_ver}
 %ghost %{_bindir}/jsondiff
+%ghost %{_sysconfdir}/alternatives/jsondiff
 %{_bindir}/jsondiff-%{py_ver}
-%{python_sitelib}/*
+%{python_sitelib}/jsonpatch*
 
 %changelog

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



commit python-jsonpatch for openSUSE:Factory

2013-11-04 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2013-11-04 13:26:27

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2013-07-22 13:48:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2013-11-04 13:26:28.0 +0100
@@ -1,0 +2,7 @@
+Mon Oct 21 13:18:40 UTC 2013 - dmuel...@suse.com
+
+- update to 1.3:
+  * Improved Tests, add command line utilities
+- add update-alternatives
+
+---

Old:

  jsonpatch-1.1.tar.gz

New:

  jsonpatch-1.3.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.Dt77Z6/_old  2013-11-04 13:26:30.0 +0100
+++ /var/tmp/diff_new_pack.Dt77Z6/_new  2013-11-04 13:26:30.0 +0100
@@ -17,9 +17,9 @@
 
 
 Name:   python-jsonpatch
-Version:1.1
+Version:1.3
 Release:0
-Summary:Apply JSON-Patches (according to draft 08)
+Summary:Python - JSON-Patches
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/stefankoegl/python-json-patch
@@ -27,6 +27,8 @@
 BuildRequires:  python-devel
 BuildRequires:  python-jsonpointer
 Requires:   python-jsonpointer >= 1.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -35,7 +37,7 @@
 %endif
 
 %description
-Apply JSON-Patches (according to draft 08)
+Python module to apply JSON-Patches (according to RFC 6902).
 
 %prep
 %setup -q -n jsonpatch-%{version}
@@ -45,9 +47,30 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+for i in patch diff; do
+mv %{buildroot}%{_bindir}/json$i %{buildroot}%{_bindir}/json$i-%{py_ver}
+done
+
+%pre
+[[ ! -L %{_bindir}/jsonpatch ]] && rm -f %{_bindir}/jsonpatch || :
+[[ ! -L %{_bindir}/jsondiff ]] && rm -f %{_bindir}/jsondiff || :
+
+%post
+update-alternatives --install \
+%{_bindir}/jsonpatch jsonpatch %{_bindir}/jsonpatch-%{py_ver} 20 \
+--slave %{_bindir}/jsondiff jsondiff %{_bindir}/jsondiff-%{py_ver}
+
+%preun
+if [ $1 -eq 0 ] ; then
+update-alternatives --remove jsonpatch %{_bindir}/jsonpatch-%{py_ver}
+fi
 
 %files
 %defattr(-,root,root,-)
+%ghost %{_bindir}/jsonpatch
+%{_bindir}/jsonpatch-%{py_ver}
+%ghost %{_bindir}/jsondiff
+%{_bindir}/jsondiff-%{py_ver}
 %{python_sitelib}/*
 
 %changelog

++ jsonpatch-1.1.tar.gz -> jsonpatch-1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.1/AUTHORS new/jsonpatch-1.3/AUTHORS
--- old/jsonpatch-1.1/AUTHORS   1970-01-01 01:00:00.0 +0100
+++ new/jsonpatch-1.3/AUTHORS   2013-10-13 15:06:14.0 +0200
@@ -0,0 +1,4 @@
+Stefan Kögl 
+Alexander Shorin 
+Byron Ruth 
+William Kral 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.1/COPYING new/jsonpatch-1.3/COPYING
--- old/jsonpatch-1.1/COPYING   1970-01-01 01:00:00.0 +0100
+++ new/jsonpatch-1.3/COPYING   2013-10-13 15:06:14.0 +0200
@@ -0,0 +1,26 @@
+Copyright (c) 2011 Stefan Kögl 
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+3. The name of the author may not be used to endorse or promote products
+   derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTER

commit python-jsonpatch for openSUSE:Factory

2013-07-22 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2013-07-22 13:33:25

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2013-05-02 11:40:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2013-07-22 13:48:20.0 +0200
@@ -1,0 +2,6 @@
+Thu Jul 11 14:41:17 UTC 2013 - dmuel...@suse.com
+
+- update to 1.1:
+  * various python 3.x fixes
+
+---

Old:

  jsonpatch-1.0.tar.gz

New:

  jsonpatch-1.1.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.e0cLuV/_old  2013-07-22 13:48:21.0 +0200
+++ /var/tmp/diff_new_pack.e0cLuV/_new  2013-07-22 13:48:21.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonpatch
-Version:1.0
+Version:1.1
 Release:0
 Summary:Apply JSON-Patches (according to draft 08)
 License:BSD-3-Clause

++ jsonpatch-1.0.tar.gz -> jsonpatch-1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.0/PKG-INFO new/jsonpatch-1.1/PKG-INFO
--- old/jsonpatch-1.0/PKG-INFO  2013-04-03 17:41:35.0 +0200
+++ new/jsonpatch-1.1/PKG-INFO  2013-06-27 21:50:38.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: jsonpatch
-Version: 1.0
+Version: 1.1
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.0/jsonpatch.egg-info/PKG-INFO 
new/jsonpatch-1.1/jsonpatch.egg-info/PKG-INFO
--- old/jsonpatch-1.0/jsonpatch.egg-info/PKG-INFO   2013-04-03 
17:41:35.0 +0200
+++ new/jsonpatch-1.1/jsonpatch.egg-info/PKG-INFO   2013-06-27 
21:50:37.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: jsonpatch
-Version: 1.0
+Version: 1.1
 Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-1.0/jsonpatch.py 
new/jsonpatch-1.1/jsonpatch.py
--- old/jsonpatch-1.0/jsonpatch.py  2013-04-03 15:48:49.0 +0200
+++ new/jsonpatch-1.1/jsonpatch.py  2013-06-27 21:49:49.0 +0200
@@ -30,11 +30,13 @@
 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
+from __future__ import unicode_literals
+
 """ Apply JSON-Patches (RFC 6902) """
 
 # Will be parsed by setup.py to determine package metadata
 __author__ = 'Stefan Kögl '
-__version__ = '1.0'
+__version__ = '1.1'
 __website__ = 'https://github.com/stefankoegl/python-json-patch'
 __license__ = 'Modified BSD License'
 
@@ -87,10 +89,10 @@
 >>> other = apply_patch(doc, [{'op': 'add', 'path': '/baz', 'value': 
'qux'}])
 >>> doc is not other
 True
->>> other
-{'foo': 'bar', 'baz': 'qux'}
->>> apply_patch(doc, [{'op': 'add', 'path': '/baz', 'value': 'qux'}], 
in_place=True)
-{'foo': 'bar', 'baz': 'qux'}
+>>> other == {'foo': 'bar', 'baz': 'qux'}
+True
+>>> apply_patch(doc, [{'op': 'add', 'path': '/baz', 'value': 'qux'}], 
in_place=True) == {'foo': 'bar', 'baz': 'qux'}
+True
 >>> doc == other
 True
 """
@@ -392,6 +394,9 @@
 value = self.operation["value"]
 subobj, part = self.pointer.to_last(obj)
 
+if part is None:
+return value
+
 if isinstance(subobj, list):
 if part > len(subobj) or part < 0:
 raise JsonPatchConflict("can't replace outside of list")

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



commit python-jsonpatch for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpatch for 
openSUSE:Factory checked in at 2013-05-02 11:40:24

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


Package is "python-jsonpatch"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpatch/python-jsonpatch.changes
2013-02-23 16:39:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-jsonpatch.new/python-jsonpatch.changes   
2013-05-02 11:40:26.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 29 12:36:33 UTC 2013 - dmuel...@suse.com
+
+- update to 1.0
+  * first stable release, some bugfixes 
+
+---

Old:

  jsonpatch-0.12.tar.gz

New:

  jsonpatch-1.0.tar.gz



Other differences:
--
++ python-jsonpatch.spec ++
--- /var/tmp/diff_new_pack.viBMt6/_old  2013-05-02 11:40:27.0 +0200
+++ /var/tmp/diff_new_pack.viBMt6/_new  2013-05-02 11:40:27.0 +0200
@@ -13,20 +13,20 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-jsonpatch
-Version:0.12
+Version:1.0
 Release:0
-License:BSD-3-Clause
 Summary:Apply JSON-Patches (according to draft 08)
-Url:https://github.com/stefankoegl/python-json-patch
+License:BSD-3-Clause
 Group:  Development/Languages/Python
+Url:https://github.com/stefankoegl/python-json-patch
 Source: 
http://pypi.python.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-jsonpointer
-Requires:   python-jsonpointer
-Requires:   python-simplejson
+Requires:   python-jsonpointer >= 1.0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

++ jsonpatch-0.12.tar.gz -> jsonpatch-1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-0.12/PKG-INFO new/jsonpatch-1.0/PKG-INFO
--- old/jsonpatch-0.12/PKG-INFO 2013-01-03 09:34:44.0 +0100
+++ new/jsonpatch-1.0/PKG-INFO  2013-04-03 17:41:35.0 +0200
@@ -1,7 +1,7 @@
 Metadata-Version: 1.0
 Name: jsonpatch
-Version: 0.12
-Summary:  Apply JSON-Patches (according to draft 08) 
+Version: 1.0
+Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-0.12/jsonpatch.egg-info/PKG-INFO 
new/jsonpatch-1.0/jsonpatch.egg-info/PKG-INFO
--- old/jsonpatch-0.12/jsonpatch.egg-info/PKG-INFO  2013-01-03 
09:34:44.0 +0100
+++ new/jsonpatch-1.0/jsonpatch.egg-info/PKG-INFO   2013-04-03 
17:41:35.0 +0200
@@ -1,7 +1,7 @@
 Metadata-Version: 1.0
 Name: jsonpatch
-Version: 0.12
-Summary:  Apply JSON-Patches (according to draft 08) 
+Version: 1.0
+Summary:  Apply JSON-Patches (RFC 6902) 
 Home-page: https://github.com/stefankoegl/python-json-patch
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-0.12/jsonpatch.egg-info/requires.txt 
new/jsonpatch-1.0/jsonpatch.egg-info/requires.txt
--- old/jsonpatch-0.12/jsonpatch.egg-info/requires.txt  2013-01-03 
09:34:44.0 +0100
+++ new/jsonpatch-1.0/jsonpatch.egg-info/requires.txt   2013-04-03 
17:41:35.0 +0200
@@ -1 +1 @@
-jsonpointer>=0.6
\ No newline at end of file
+jsonpointer>=1.0
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpatch-0.12/jsonpatch.py 
new/jsonpatch-1.0/jsonpatch.py
--- old/jsonpatch-0.12/jsonpatch.py 2013-01-03 09:33:51.0 +0100
+++ new/jsonpatch-1.0/jsonpatch.py  2013-04-03 15:48:49.0 +0200
@@ -30,13 +30,11 @@
 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-""" Apply JSON-Patches (according to draft 08) """
-
-# http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-05
+""" Apply JSON-Patches (RFC 6902) """
 
 # Will be parsed by setup.py to determine package metadata
 __author__ = 'Stefan Kögl '
-__version__ = '0.12'
+__version__ = '1.0'
 __website__ = 'https://github.com/stefankoegl/python-json-patch'
 __license__ = 'Modified BSD License'
 
@@ -300,7 +298,7 @@
 
 for operation in self.patch:
 operation = self._get_operation(ope