commit python-jsonpointer for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package python-jsonpointer for 
openSUSE:Factory checked in at 2019-03-29 20:39:21

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


Package is "python-jsonpointer"

Fri Mar 29 20:39:21 2019 rev:14 rq:689758 version:2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2018-12-27 00:26:59.379780995 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new.25356/python-jsonpointer.changes
 2019-03-29 20:39:23.642687281 +0100
@@ -1,0 +2,13 @@
+Thu Mar 28 21:17:46 UTC 2019 - Jan Engelhardt 
+
+- Use noun phrase in descriptions.
+
+---
+Thu Mar 28 14:38:52 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.0:
+  * Fix typos in messages
+  * Accept pointer as argument in commandline utility
+- Run tests
+
+---

Old:

  jsonpointer-1.14.tar.gz

New:

  jsonpointer-2.0.tar.gz



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.NSYm3L/_old  2019-03-29 20:39:24.554687190 +0100
+++ /var/tmp/diff_new_pack.NSYm3L/_new  2019-03-29 20:39:24.558687190 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpointer
 #
-# 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
@@ -18,24 +18,23 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpointer
-Version:1.14
+Version:2.0
 Release:0
-Summary:Identify specific nodes in a JSON document
+Summary:Module to identify specific nodes in a JSON document
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/stefankoegl/python-json-pointer
-Source: 
https://pypi.io/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
+URL:https://github.com/stefankoegl/python-json-pointer
+Source: 
https://files.pythonhosted.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
-Identify specific nodes in a JSON document (according to draft 08)
+A module to identify specific nodes in a JSON document (according to draft 08).
 
 %prep
 %setup -q -n jsonpointer-%{version}
@@ -45,8 +44,12 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/jsonpointer
 
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests.py
+
 %post
 %python_install_alternative jsonpointer
 
@@ -54,7 +57,8 @@
 %python_uninstall_alternative jsonpointer
 
 %files %{python_files}
-%defattr(-,root,root,-)
+%doc README.md
+%license LICENSE.txt
 %python_alternative %{_bindir}/jsonpointer
 %{python_sitelib}/*
 

++ jsonpointer-1.14.tar.gz -> jsonpointer-2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpointer-1.14/PKG-INFO 
new/jsonpointer-2.0/PKG-INFO
--- old/jsonpointer-1.14/PKG-INFO   2017-10-30 20:49:55.0 +0100
+++ new/jsonpointer-2.0/PKG-INFO2018-01-16 16:23:40.0 +0100
@@ -1,13 +1,17 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: jsonpointer
-Version: 1.14
+Version: 2.0
 Summary:  Identify specific nodes in a JSON document (RFC 6901) 
 Home-page: https://github.com/stefankoegl/python-json-pointer
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
-Description: python-json-pointer |Build Status| |Coverage Status| |Downloads| 
|Version|
-
==
+Description-Content-Type: UNKNOWN
+Description: python-json-pointer
+===
+
+|PyPI version| |Supported Python versions| |Build Status| |Coverage
+Status|
 
 Resolve JSON Pointers in Python
 ---
@@ -15,20 +19,22 @@
 Library to resolve JSON Pointers according to `RFC
 6901 `__
 
-See Sourcecode for Examples \* Website:
+See source 

commit python-jsonpointer for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package python-jsonpointer for 
openSUSE:Factory checked in at 2018-12-27 00:26:58

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


Package is "python-jsonpointer"

Thu Dec 27 00:26:58 2018 rev:13 rq:659459 version:1.14

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2017-11-16 14:00:03.267712551 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new.28833/python-jsonpointer.changes
 2018-12-27 00:26:59.379780995 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:49:38 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.WvGNPS/_old  2018-12-27 00:26:59.743780698 +0100
+++ /var/tmp/diff_new_pack.WvGNPS/_new  2018-12-27 00:26:59.743780698 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpointer
 #
-# 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
@@ -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-pointer
 Source: 
https://pypi.io/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives




commit python-jsonpointer for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package python-jsonpointer for 
openSUSE:Factory checked in at 2017-11-16 14:00:02

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


Package is "python-jsonpointer"

Thu Nov 16 14:00:02 2017 rev:12 rq:541911 version:1.14

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2017-08-14 12:36:49.342942945 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new/python-jsonpointer.changes   
2017-11-16 14:00:03.267712551 +0100
@@ -1,0 +2,6 @@
+Tue Nov 14 23:03:26 UTC 2017 - dmuel...@suse.com
+
+- update to 1.14:
+  * Support for python 3.6
+
+---

Old:

  jsonpointer-1.10.tar.gz

New:

  jsonpointer-1.14.tar.gz



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.1pMgag/_old  2017-11-16 14:00:04.159680230 +0100
+++ /var/tmp/diff_new_pack.1pMgag/_new  2017-11-16 14:00:04.163680085 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpointer
-Version:1.10
+Version:1.14
 Release:0
 Summary:Identify specific nodes in a JSON document
 License:BSD-3-Clause

++ jsonpointer-1.10.tar.gz -> jsonpointer-1.14.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpointer-1.10/COPYING new/jsonpointer-1.14/COPYING
--- old/jsonpointer-1.10/COPYING2015-10-28 19:54:18.0 +0100
+++ new/jsonpointer-1.14/COPYING1970-01-01 01:00:00.0 +0100
@@ -1,26 +0,0 @@
-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 INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpointer-1.10/LICENSE.txt 
new/jsonpointer-1.14/LICENSE.txt
--- old/jsonpointer-1.10/LICENSE.txt1970-01-01 01:00:00.0 +0100
+++ new/jsonpointer-1.14/LICENSE.txt2017-10-30 20:49:19.0 +0100
@@ -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 INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF 

commit python-jsonpointer for openSUSE:Factory

2017-08-14 Thread root
Hello community,

here is the log from the commit of package python-jsonpointer for 
openSUSE:Factory checked in at 2017-08-14 12:36:48

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


Package is "python-jsonpointer"

Mon Aug 14 12:36:48 2017 rev:11 rq:515122 version:1.10

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2016-12-08 00:29:59.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new/python-jsonpointer.changes   
2017-08-14 12:36:49.342942945 +0200
@@ -1,0 +2,5 @@
+Tue Aug  8 06:32:28 UTC 2017 - tbecht...@suse.com
+
+- convert to singlespec
+
+---



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.tsvJk9/_old  2017-08-14 12:36:50.498780638 +0200
+++ /var/tmp/diff_new_pack.tsvJk9/_new  2017-08-14 12:36:50.518777830 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpointer
 #
-# 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,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpointer
 Version:1.10
 Release:0
@@ -24,16 +25,15 @@
 Group:  Development/Languages/Python
 Url:https://github.com/stefankoegl/python-json-pointer
 Source: 
https://pypi.io/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 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
 Identify specific nodes in a JSON document (according to draft 08)
@@ -42,30 +42,21 @@
 %setup -q -n jsonpointer-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/jsonpointer 
%{buildroot}%{_bindir}/jsonpointer-%{py_ver}
-ln -s -f %{_sysconfdir}/alternatives/jsonpointer 
%{buildroot}%{_bindir}/jsonpointer
+%python_install
+%python_clone -a %{buildroot}%{_bindir}/jsonpointer
 
 %post
-%_sbindir/update-alternatives \
---install %{_bindir}/jsonpointer jsonpointer 
%{_bindir}/jsonpointer-%{py_ver} 20
+%python_install_alternative jsonpointer
 
 %preun
-if [ $1 -eq 0 ] ; then
-%_sbindir/update-alternatives --remove jsonpointer 
%{_bindir}/jsonpointer-%{py_ver}
-fi
+%python_uninstall_alternative jsonpointer
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%{_bindir}/jsonpointer
-%{_bindir}/jsonpointer-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/jsonpointer
+%python_alternative %{_bindir}/jsonpointer
 %{python_sitelib}/*
 
 %changelog




commit python-jsonpointer for openSUSE:Factory

2016-12-07 Thread h_root
Hello community,

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

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


Package is "python-jsonpointer"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2016-08-17 12:05:20.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new/python-jsonpointer.changes   
2016-12-08 00:29:59.0 +0100
@@ -1,0 +2,7 @@
+Tue Nov 15 10:51:34 UTC 2016 - dmuel...@suse.com
+
+- update to 1.10:
+  * Drop support for Python 3.2
+  * Add support for Python 3.5
+
+---

Old:

  jsonpointer-1.9.tar.gz

New:

  jsonpointer-1.10.tar.gz



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.5nAJGF/_old  2016-12-08 00:30:00.0 +0100
+++ /var/tmp/diff_new_pack.5nAJGF/_new  2016-12-08 00:30:00.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpointer
 #
-# 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-jsonpointer
-Version:1.9
+Version:1.10
 Release:0
 Summary:Identify specific nodes in a JSON document
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/stefankoegl/python-json-pointer
-Source: 
http://pypi.python.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 Requires(post): update-alternatives

++ jsonpointer-1.9.tar.gz -> jsonpointer-1.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpointer-1.9/PKG-INFO 
new/jsonpointer-1.10/PKG-INFO
--- old/jsonpointer-1.9/PKG-INFO2015-05-07 18:01:17.0 +0200
+++ new/jsonpointer-1.10/PKG-INFO   2015-10-28 20:12:49.0 +0100
@@ -1,34 +1,27 @@
 Metadata-Version: 1.1
 Name: jsonpointer
-Version: 1.9
+Version: 1.10
 Summary:  Identify specific nodes in a JSON document (RFC 6901) 
 Home-page: https://github.com/stefankoegl/python-json-pointer
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
-Description: python-json-pointer `|Build Status| 
`_ `|Coverage Status| 
`_ 
|Downloads| |Version|
-
===
+Description: python-json-pointer [![Build 
Status](https://secure.travis-ci.org/stefankoegl/python-json-pointer.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-pointer)
 [![Coverage 
Status](https://coveralls.io/repos/stefankoegl/python-json-pointer/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-pointer?branch=master)
 ![Downloads](https://pypip.in/d/jsonpointer/badge.png) 
![Version](https://pypip.in/v/jsonpointer/badge.png)
+===
 
 Resolve JSON Pointers in Python
 ---
 
-Library to resolve JSON Pointers according to `RFC
-6901 `_
+Library to resolve JSON Pointers according to
+[RFC 6901](http://tools.ietf.org/html/rfc6901)
 
-See Sourcecode for Examples \* Website:
-https://github.com/stefankoegl/python-json-pointer \* Repository:
-https://github.com/stefankoegl/python-json-pointer.git \* 
Documentation:
-https://python-json-pointer.readthedocs.org/ \* PyPI:
-https://pypi.python.org/pypi/jsonpointer \* Travis-CI:
-https://travis-ci.org/stefankoegl/python-json-pointer \* Coveralls:
-https://coveralls.io/r/stefankoegl/python-json-pointer
-
-.. |Build
-Status| image:: 
https://secure.travis-ci.org/stefankoegl/python-json-pointer.png?branch=master
-.. |Coverage
-Status| image:: 
https://coveralls.io/repos/stefankoegl/python-json-pointer/badge.png?branch=master
-.. |Downloads| image:: 

commit python-jsonpointer for openSUSE:Factory

2016-08-17 Thread h_root
Hello community,

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

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


Package is "python-jsonpointer"

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2015-06-23 12:01:09.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new/python-jsonpointer.changes   
2016-08-17 12:05:20.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives implementation.
+
+---



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.OGIV2j/_old  2016-08-17 12:05:21.0 +0200
+++ /var/tmp/diff_new_pack.OGIV2j/_new  2016-08-17 12:05:21.0 +0200
@@ -19,7 +19,7 @@
 Name:   python-jsonpointer
 Version:1.9
 Release:0
-Summary:Identify specific nodes in a JSON document (according to draft 
08)
+Summary:Identify specific nodes in a JSON document
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/stefankoegl/python-json-pointer
@@ -27,8 +27,7 @@
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 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()")}
@@ -47,25 +46,26 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-mv %{buildroot}%{_bindir}/jsonpointer 
%{buildroot}%{_bindir}/jsonpointer-%{py_ver}
-ln -s %{_bindir}/jsonpointer-%{py_ver} %{buildroot}%{_bindir}/jsonpointer
 
-%pre
-[ -h %{_bindir}/jsonpointer ] || rm -f %{_bindir}/jsonpointer
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+mv %{buildroot}%{_bindir}/jsonpointer 
%{buildroot}%{_bindir}/jsonpointer-%{py_ver}
+ln -s -f %{_sysconfdir}/alternatives/jsonpointer 
%{buildroot}%{_bindir}/jsonpointer
 
 %post
-update-alternatives --install \
-%{_bindir}/jsonpointer jsonpointer %{_bindir}/jsonpointer-%{py_ver} 20
+%_sbindir/update-alternatives \
+--install %{_bindir}/jsonpointer jsonpointer 
%{_bindir}/jsonpointer-%{py_ver} 20
 
 %preun
 if [ $1 -eq 0 ] ; then
-update-alternatives --remove jsonpointer %{_bindir}/jsonpointer-%{py_ver}
+%_sbindir/update-alternatives --remove jsonpointer 
%{_bindir}/jsonpointer-%{py_ver}
 fi
 
 %files
 %defattr(-,root,root,-)
-%ghost %{_bindir}/jsonpointer
+%{_bindir}/jsonpointer
 %{_bindir}/jsonpointer-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/jsonpointer
 %{python_sitelib}/*
 
 %changelog




commit python-jsonpointer for openSUSE:Factory

2015-06-23 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpointer for 
openSUSE:Factory checked in at 2015-06-23 12:01:08

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


Package is python-jsonpointer

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2015-02-12 10:22:47.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new/python-jsonpointer.changes   
2015-06-23 12:01:09.0 +0200
@@ -1,0 +2,10 @@
+Mon Jun 22 14:49:05 UTC 2015 - tbecht...@suse.com
+
+- update to 1.9:
+  * bump version to 1.9
+  * bump version to 1.8
+  * Fix Tests for Python 3.2
+  * Fix UnicodeEncodeError with non-ASCII paths, fixes #18
+  * Enable container-based builds on Travis-CI
+
+---

Old:

  jsonpointer-1.7.tar.gz

New:

  jsonpointer-1.9.tar.gz



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.QGfHgf/_old  2015-06-23 12:01:09.0 +0200
+++ /var/tmp/diff_new_pack.QGfHgf/_new  2015-06-23 12:01:09.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-jsonpointer
-Version:1.7
+Version:1.9
 Release:0
 Summary:Identify specific nodes in a JSON document (according to draft 
08)
 License:BSD-3-Clause

++ jsonpointer-1.7.tar.gz - jsonpointer-1.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpointer-1.7/PKG-INFO new/jsonpointer-1.9/PKG-INFO
--- old/jsonpointer-1.7/PKG-INFO2014-12-14 19:25:56.0 +0100
+++ new/jsonpointer-1.9/PKG-INFO2015-05-07 18:01:17.0 +0200
@@ -1,27 +1,34 @@
 Metadata-Version: 1.1
 Name: jsonpointer
-Version: 1.7
+Version: 1.9
 Summary:  Identify specific nodes in a JSON document (RFC 6901) 
 Home-page: https://github.com/stefankoegl/python-json-pointer
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
 License: Modified BSD License
-Description: python-json-pointer [![Build 
Status](https://secure.travis-ci.org/stefankoegl/python-json-pointer.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-pointer)
 [![Coverage 
Status](https://coveralls.io/repos/stefankoegl/python-json-pointer/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-pointer?branch=master)
 ![Downloads](https://pypip.in/d/jsonpointer/badge.png) 
![Version](https://pypip.in/v/jsonpointer/badge.png)
-===
+Description: python-json-pointer `|Build Status| 
https://travis-ci.org/stefankoegl/python-json-pointer`_ `|Coverage Status| 
https://coveralls.io/r/stefankoegl/python-json-pointer?branch=master`_ 
|Downloads| |Version|
+
===
 
 Resolve JSON Pointers in Python
 ---
 
-Library to resolve JSON Pointers according to
-[RFC 6901](http://tools.ietf.org/html/rfc6901)
+Library to resolve JSON Pointers according to `RFC
+6901 http://tools.ietf.org/html/rfc6901`_
 
-See Sourcecode for Examples
-* Website: https://github.com/stefankoegl/python-json-pointer
-* Repository: https://github.com/stefankoegl/python-json-pointer.git
-* Documentation: https://python-json-pointer.readthedocs.org/
-* PyPI: https://pypi.python.org/pypi/jsonpointer
-* Travis-CI: https://travis-ci.org/stefankoegl/python-json-pointer
-* Coveralls: https://coveralls.io/r/stefankoegl/python-json-pointer
+See Sourcecode for Examples \* Website:
+https://github.com/stefankoegl/python-json-pointer \* Repository:
+https://github.com/stefankoegl/python-json-pointer.git \* 
Documentation:
+https://python-json-pointer.readthedocs.org/ \* PyPI:
+https://pypi.python.org/pypi/jsonpointer \* Travis-CI:
+https://travis-ci.org/stefankoegl/python-json-pointer \* Coveralls:
+https://coveralls.io/r/stefankoegl/python-json-pointer
+
+.. |Build
+Status| image:: 
https://secure.travis-ci.org/stefankoegl/python-json-pointer.png?branch=master
+.. |Coverage
+Status| image:: 
https://coveralls.io/repos/stefankoegl/python-json-pointer/badge.png?branch=master
+.. |Downloads| image:: https://pypip.in/d/jsonpointer/badge.png
+.. |Version| image:: https://pypip.in/v/jsonpointer/badge.png
 
 Platform: UNKNOWN
 Classifier: 

commit python-jsonpointer for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

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

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


Package is python-jsonpointer

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2013-05-02 11:41:55.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new/python-jsonpointer.changes   
2014-09-17 17:25:26.0 +0200
@@ -1,0 +2,47 @@
+Mon Sep 15 09:45:48 UTC 2014 - tbecht...@suse.com
+
+- update to version 1.4:
+  * bump version to 1.4
+  * [Setup] use utf-8 explicitly in setup.py, fixes #8
+  * Merge pull request #7 from alexsdutton/patch-1
+  * Calculate path properly when self.parts == [].
+  * Added tests for round-tripping pointers from paths to parts
+  * JsonPointer.from_parts should handle the empty path
+  * fix doctest for Python 3
+  * bump version to 1.3
+  * add JsonPointer.path and JsonPointer.from_parts
+  * bump version to 1.2
+  * add trove classifiers (fixes #6)
+  * fix string formatting in assert statement
+  * fix typo in setup.py
+  * add links to README.md
+  * add MANIFEST.in
+  * add comments to commandline doc
+  * add jsonpointer commandline utility
+  * add missing AUTHORS
+  * Support for set_pointer and indexing arbitrary objects via 
__getitem__/__setitem__
+  * refactor type check
+  * add tests for JsonPointer.to_last()
+  * remove unused param of to_last()
+  * add test for out-of-bounds error
+  * add test for JsonPointer.contains(other)
+  * add test for invalid list index
+  * add test for pointer string not starting with /
+  * add test for comparing a pointer to another object
+  * show pypi information in README
+  * show coverage status in README
+  * remove some code from coverage calculation
+  * move coverage code from tests.py to makefile
+  * add coveralls support to .travis.yml
+  * add doctests for pairwise(iter)
+  * mention supported Python versions in docs
+  * Drop support for Python 2.5
+  * also target Python 3.3 and PyPy
+  * fix unicode literal quirks in Python 3.2
+  * let sphinx extract version, author from source
+  * README: add link to docs
+  * add some documentation
+  * ignore *.swp and files generated during packaging
+- Install /usr/bin/jsonpointer with update-alternatives
+
+---

Old:

  jsonpointer-1.0.tar.gz

New:

  jsonpointer-1.4.tar.gz



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.U3osSa/_old  2014-09-17 17:25:27.0 +0200
+++ /var/tmp/diff_new_pack.U3osSa/_new  2014-09-17 17:25:27.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpointer
 #
-# 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-jsonpointer
-Version:1.0
+Version:1.4
 Release:0
 Summary:Identify specific nodes in a JSON document (according to draft 
08)
 License:BSD-3-Clause
@@ -25,6 +25,8 @@
 Url:https://github.com/stefankoegl/python-json-pointer
 Source: 
http://pypi.python.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
 BuildRequires:  python-devel
+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())}
@@ -43,9 +45,25 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+mv %{buildroot}%{_bindir}/jsonpointer 
%{buildroot}%{_bindir}/jsonpointer-%{py_ver}
+ln -s %{_bindir}/jsonpointer-%{py_ver} %{buildroot}%{_bindir}/jsonpointer
+
+%pre
+[[ ! -L %{_bindir}/jsonpointer ]]  rm -f %{_bindir}/jsonpointer || :
+
+%post
+update-alternatives --install \
+%{_bindir}/jsonpointer jsonpointer %{_bindir}/jsonpointer-%{py_ver} 20
+
+%preun
+if [ $1 -eq 0 ] ; then
+update-alternatives --remove jsonpointer %{_bindir}/jsonpointer-%{py_ver}
+fi
 
 %files
 %defattr(-,root,root,-)
+%ghost %{_bindir}/jsonpointer
+%{_bindir}/jsonpointer-%{py_ver}
 %{python_sitelib}/*
 
 %changelog

++ jsonpointer-1.0.tar.gz - jsonpointer-1.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit python-jsonpointer for openSUSE:Factory

2013-05-02 Thread h_root
Hello community,

here is the log from the commit of package python-jsonpointer for 
openSUSE:Factory checked in at 2013-05-02 11:41:54

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


Package is python-jsonpointer

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpointer/python-jsonpointer.changes
2013-02-23 08:09:18.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpointer.new/python-jsonpointer.changes   
2013-05-02 11:41:55.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 29 12:40:25 UTC 2013 - dmuel...@suse.com
+
+- update to 1.0:
+  * no changes 
+
+---

Old:

  jsonpointer-0.7.tar.gz

New:

  jsonpointer-1.0.tar.gz



Other differences:
--
++ python-jsonpointer.spec ++
--- /var/tmp/diff_new_pack.fTnL4d/_old  2013-05-02 11:41:56.0 +0200
+++ /var/tmp/diff_new_pack.fTnL4d/_new  2013-05-02 11:41:56.0 +0200
@@ -13,15 +13,16 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-jsonpointer
-Version:0.7
+Version:1.0
 Release:0
-License:BSD-3-Clause
 Summary:Identify specific nodes in a JSON document (according to draft 
08)
-Url:https://github.com/stefankoegl/python-json-pointer
+License:BSD-3-Clause
 Group:  Development/Languages/Python
+Url:https://github.com/stefankoegl/python-json-pointer
 Source: 
http://pypi.python.org/packages/source/j/jsonpointer/jsonpointer-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ jsonpointer-0.7.tar.gz - jsonpointer-1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpointer-0.7/PKG-INFO new/jsonpointer-1.0/PKG-INFO
--- old/jsonpointer-0.7/PKG-INFO2013-01-06 10:58:44.0 +0100
+++ new/jsonpointer-1.0/PKG-INFO2013-04-03 17:07:28.0 +0200
@@ -1,7 +1,7 @@
 Metadata-Version: 1.0
 Name: jsonpointer
-Version: 0.7
-Summary:  Identify specific nodes in a JSON document (according to draft 08) 
+Version: 1.0
+Summary:  Identify specific nodes in a JSON document (RFC 6901) 
 Home-page: https://github.com/stefankoegl/python-json-pointer
 Author: Stefan Kögl
 Author-email: ste...@skoegl.net
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpointer-0.7/jsonpointer.py 
new/jsonpointer-1.0/jsonpointer.py
--- old/jsonpointer-0.7/jsonpointer.py  2013-01-06 10:58:08.0 +0100
+++ new/jsonpointer-1.0/jsonpointer.py  2013-04-03 15:41:18.0 +0200
@@ -30,13 +30,11 @@
 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
- Identify specific nodes in a JSON document (according to draft 08) 
-
-# http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-08
+ Identify specific nodes in a JSON document (RFC 6901) 
 
 # Will be parsed by setup.py to determine package metadata
 __author__ = 'Stefan Kögl ste...@skoegl.net'
-__version__ = '0.7'
+__version__ = '1.0'
 __website__ = 'https://github.com/stefankoegl/python-json-pointer'
 __license__ = 'Modified BSD License'
 

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