commit python-jsonpath-rw for openSUSE:Factory
Hello community, here is the log from the commit of package python-jsonpath-rw for openSUSE:Factory checked in at 2020-08-13 10:17:59 Comparing /work/SRC/openSUSE:Factory/python-jsonpath-rw (Old) and /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.3399 (New) Package is "python-jsonpath-rw" Thu Aug 13 10:17:59 2020 rev:8 rq:826084 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-jsonpath-rw/python-jsonpath-rw.changes 2019-01-28 20:49:26.397842202 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.3399/python-jsonpath-rw.changes 2020-08-13 10:23:39.282892513 +0200 @@ -1,0 +2,6 @@ +Wed Aug 12 17:11:58 UTC 2020 - Matej Cepl + +- Replace pypi.python.org Source URL with the canonical files.pythonhosted.org +- Run SPEC file through spec-cleaner. + +--- Other differences: -- ++ python-jsonpath-rw.spec ++ --- /var/tmp/diff_new_pack.Bkw4lU/_old 2020-08-13 10:23:43.030894053 +0200 +++ /var/tmp/diff_new_pack.Bkw4lU/_new 2020-08-13 10:23:43.034894054 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jsonpath-rw # -# Copyright (c) 2018 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 @@ -16,15 +16,22 @@ # +# detritus in /etc/alternatives from brp-python-bytecompile must be removed +%define __os_install_post %(echo '%__os_install_post; \ + rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyo; \ + rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyc') + %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define modname jsonpath-rw + Name: python-jsonpath-rw Version:1.4.0 Release:0 Summary:An extended implementation of JSONPath for Python License:Apache-2.0 Group: Development/Languages/Python -Url:https://github.com/kennknowles/python-jsonpath-rw -Source: https://pypi.python.org/packages/source/j/jsonpath-rw/jsonpath-rw-%{version}.tar.gz +URL:https://github.com/kennknowles/python-jsonpath-rw +Source: https://files.pythonhosted.org/packages/source/j/jsonpath-rw/%{modname}-%{version}.tar.gz BuildRequires: %{python_module ply} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} @@ -34,14 +41,7 @@ Requires: python-six Requires(post): update-alternatives Requires(postun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - -# detritus in /etc/alternatives from brp-python-bytecompile must be removed -%define __os_install_post %(echo '%{__os_install_post}; \ - rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyo; \ - rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyc') - %python_subpackages %description @@ -72,7 +72,6 @@ %python_uninstall_alternative jsonpath.py %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %python_alternative %{_bindir}/jsonpath.py %{python_sitelib}/*
commit python-jsonpath-rw for openSUSE:Factory
Hello community, here is the log from the commit of package python-jsonpath-rw for openSUSE:Factory checked in at 2019-01-28 20:48:25 Comparing /work/SRC/openSUSE:Factory/python-jsonpath-rw (Old) and /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.28833 (New) Package is "python-jsonpath-rw" Mon Jan 28 20:48:25 2019 rev:7 rq:668805 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-jsonpath-rw/python-jsonpath-rw.changes 2018-12-24 11:38:47.745590337 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.28833/python-jsonpath-rw.changes 2019-01-28 20:49:26.397842202 +0100 @@ -1,0 +2,5 @@ +Tue Jan 8 23:06:06 UTC 2019 - Jonathan Brownell + +- Remove redundant /etc/alternatives files produced on Red Hat + +--- Other differences: -- ++ python-jsonpath-rw.spec ++ --- /var/tmp/diff_new_pack.oxN093/_old 2019-01-28 20:49:26.965841603 +0100 +++ /var/tmp/diff_new_pack.oxN093/_new 2019-01-28 20:49:26.965841603 +0100 @@ -37,6 +37,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# detritus in /etc/alternatives from brp-python-bytecompile must be removed +%define __os_install_post %(echo '%{__os_install_post}; \ + rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyo; \ + rm -f %{buildroot}%{_sysconfdir}/alternatives/jsonpath.pyc') + %python_subpackages %description
commit python-jsonpath-rw for openSUSE:Factory
Hello community, here is the log from the commit of package python-jsonpath-rw for openSUSE:Factory checked in at 2018-12-24 11:38:46 Comparing /work/SRC/openSUSE:Factory/python-jsonpath-rw (Old) and /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.28833 (New) Package is "python-jsonpath-rw" Mon Dec 24 11:38:46 2018 rev:6 rq:659456 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-jsonpath-rw/python-jsonpath-rw.changes 2017-08-04 11:58:09.817929364 +0200 +++ /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new.28833/python-jsonpath-rw.changes 2018-12-24 11:38:47.745590337 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:49:35 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-jsonpath-rw.spec ++ --- /var/tmp/diff_new_pack.jSauq3/_old 2018-12-24 11:38:48.241589896 +0100 +++ /var/tmp/diff_new_pack.jSauq3/_new 2018-12-24 11:38:48.245589893 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jsonpath-rw # -# 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/kennknowles/python-jsonpath-rw Source: https://pypi.python.org/packages/source/j/jsonpath-rw/jsonpath-rw-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module ply} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six}
commit python-jsonpath-rw for openSUSE:Factory
Hello community, here is the log from the commit of package python-jsonpath-rw for openSUSE:Factory checked in at 2017-08-04 11:58:09 Comparing /work/SRC/openSUSE:Factory/python-jsonpath-rw (Old) and /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new (New) Package is "python-jsonpath-rw" Fri Aug 4 11:58:09 2017 rev:5 rq:508331 version:1.4.0 Changes: --- /work/SRC/openSUSE:Factory/python-jsonpath-rw/python-jsonpath-rw.changes 2016-11-28 15:10:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new/python-jsonpath-rw.changes 2017-08-04 11:58:09.817929364 +0200 @@ -1,0 +2,5 @@ +Wed Jul 5 08:35:57 UTC 2017 - tbecht...@suse.com + +- convert to singlespec + +--- Other differences: -- ++ python-jsonpath-rw.spec ++ --- /var/tmp/diff_new_pack.6lGLMD/_old 2017-08-04 11:58:10.769795011 +0200 +++ /var/tmp/diff_new_pack.6lGLMD/_new 2017-08-04 11:58:10.773794447 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jsonpath-rw # -# 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-jsonpath-rw Version:1.4.0 Release:0 @@ -24,18 +25,20 @@ Group: Development/Languages/Python Url:https://github.com/kennknowles/python-jsonpath-rw Source: https://pypi.python.org/packages/source/j/jsonpath-rw/jsonpath-rw-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-ply -BuildRequires: python-setuptools -BuildRequires: python-six +BuildRequires: %{python_module devel} +BuildRequires: %{python_module ply} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: python-rpm-macros +Requires: python-decorator Requires: python-ply >= 3.4 Requires: python-six +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()")} -%else BuildArch: noarch -%endif + +%python_subpackages %description This library provides a robust and significantly extended implementation @@ -52,15 +55,22 @@ sed -i '/^#!/ d' jsonpath_rw/bin/jsonpath.py %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_clone -a %{buildroot}%{_bindir}/jsonpath.py + +%post +%python_install_alternative jsonpath.py + +%postun +%python_uninstall_alternative jsonpath.py -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.rst -%{_bindir}/jsonpath.py +%python_alternative %{_bindir}/jsonpath.py %{python_sitelib}/* %changelog
commit python-jsonpath-rw for openSUSE:Factory
Hello community, here is the log from the commit of package python-jsonpath-rw for openSUSE:Factory checked in at 2016-11-28 15:10:44 Comparing /work/SRC/openSUSE:Factory/python-jsonpath-rw (Old) and /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new (New) Package is "python-jsonpath-rw" Changes: --- /work/SRC/openSUSE:Factory/python-jsonpath-rw/python-jsonpath-rw.changes 2015-05-10 10:46:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new/python-jsonpath-rw.changes 2016-11-28 15:10:45.0 +0100 @@ -13,0 +14,5 @@ +Fri Jul 25 06:54:37 UTC 2014 - dmuel...@suse.com + +- require ply >= 3.4 (bnc#09) + +--- Other differences: -- ++ python-jsonpath-rw.spec ++ --- /var/tmp/diff_new_pack.hPUhHW/_old 2016-11-28 15:10:46.0 +0100 +++ /var/tmp/diff_new_pack.hPUhHW/_new 2016-11-28 15:10:46.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jsonpath-rw # -# 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 @@ -28,7 +28,7 @@ BuildRequires: python-ply BuildRequires: python-setuptools BuildRequires: python-six -Requires: python-ply +Requires: python-ply >= 3.4 Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110
commit python-jsonpath-rw for openSUSE:Factory
Hello community, here is the log from the commit of package python-jsonpath-rw for openSUSE:Factory checked in at 2015-05-10 10:46:38 Comparing /work/SRC/openSUSE:Factory/python-jsonpath-rw (Old) and /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new (New) Package is python-jsonpath-rw Changes: --- /work/SRC/openSUSE:Factory/python-jsonpath-rw/python-jsonpath-rw.changes 2014-01-09 15:32:00.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsonpath-rw.new/python-jsonpath-rw.changes 2015-05-10 10:46:39.0 +0200 @@ -1,0 +2,12 @@ +Wed May 6 17:54:26 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 1.4.0: + * no changelog available +- shorten the summary to fix an rpmlint error +- add python-ply and python-six as BuildRequires to ensure their + availability +- remove python-decorator from Requires: unneeded +- remove unwanted shebang in jsonpath.py +- add jsonpath.py to the package files + +--- Old: jsonpath-rw-1.2.3.tar.gz New: jsonpath-rw-1.4.0.tar.gz Other differences: -- ++ python-jsonpath-rw.spec ++ --- /var/tmp/diff_new_pack.RGGQCF/_old 2015-05-10 10:46:39.0 +0200 +++ /var/tmp/diff_new_pack.RGGQCF/_new 2015-05-10 10:46:39.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jsonpath-rw # -# 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,20 +17,21 @@ Name: python-jsonpath-rw -Version:1.2.3 +Version:1.4.0 Release:0 -Summary:A robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming +Summary:An extended implementation of JSONPath for Python License:Apache-2.0 Group: Development/Languages/Python Url:https://github.com/kennknowles/python-jsonpath-rw Source: https://pypi.python.org/packages/source/j/jsonpath-rw/jsonpath-rw-%{version}.tar.gz BuildRequires: python-devel +BuildRequires: python-ply BuildRequires: python-setuptools +BuildRequires: python-six Requires: python-ply Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} 0%{?suse_version} = 1110 -Requires: python-decorator %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %else BuildArch: noarch @@ -47,6 +48,8 @@ %prep %setup -q -n jsonpath-rw-%{version} +# remove unwanted shebang +sed -i '/^#!/ d' jsonpath_rw/bin/jsonpath.py %build python setup.py build @@ -57,6 +60,7 @@ %files %defattr(-,root,root,-) %doc README.rst +%{_bindir}/jsonpath.py %{python_sitelib}/* %changelog ++ jsonpath-rw-1.2.3.tar.gz - jsonpath-rw-1.4.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsonpath-rw-1.2.3/PKG-INFO new/jsonpath-rw-1.4.0/PKG-INFO --- old/jsonpath-rw-1.2.3/PKG-INFO 2013-12-18 16:57:20.0 +0100 +++ new/jsonpath-rw-1.4.0/PKG-INFO 2015-04-19 03:47:14.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: jsonpath-rw -Version: 1.2.3 +Version: 1.4.0 Summary: A robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming. Home-page: https://github.com/kennknowles/python-jsonpath-rw Author: Kenneth Knowles @@ -14,7 +14,8 @@ |Build Status| |Test coverage| |PyPi version| |PyPi downloads| This library provides a robust and significantly extended implementation -of JSONPath for Python. It is tested with Python 2.6, 2.7, 3.2, 3.3, and PyPy. +of JSONPath for Python. It is tested with Python 2.6, 2.7, 3.2, 3.3. +*(On travis-ci there is a segfault when running the tests with pypy; I don't think the problem lies with this library)*. This library differs from other JSONPath implementations in that it is a full *language* implementation, meaning the JSONPath expressions are @@ -32,7 +33,7 @@ Then: -:: +.. code:: python $ python @@ -59,6 +60,9 @@ ['number two', 'number one'] # You can also build expressions directly quite easily + from jsonpath_rw.jsonpath import Fields + from jsonpath_rw.jsonpath import Slice + jsonpath_expr_direct =