Accepting request 308963 from devel:languages:python

- Update to version 0.7.1:
  * Rename ``bin/jp`` to ``bin/jp.py``
  * Fix issue with precedence when parsing wildcard
    projections
  * Remove ordereddict and simplejson as py2.6 dependencies.
    These were never actually used in the jmespath code base,
    only in the unit tests.  Unittests requirements are handled
    via requirements26.txt.

OBS-URL: https://build.opensuse.org/request/show/308963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jmespath?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2015-05-28 07:57:55 +00:00 committed by Git OBS Bridge
commit 28d644cdf4
4 changed files with 20 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3a2f1e9a86b265d420939c0bb263511009d7179d1886b2d18122d5603b43a9a
size 16036

3
jmespath-0.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd5a12ee3dfa470283a020a35e69e83b0700d44fe413014fd35ad5584c5f5fd1
size 19696

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed May 27 17:04:07 UTC 2015 - rjschwei@suse.com
- Update to version 0.7.1:
* Rename ``bin/jp`` to ``bin/jp.py``
* Fix issue with precedence when parsing wildcard
projections
* Remove ordereddict and simplejson as py2.6 dependencies.
These were never actually used in the jmespath code base,
only in the unit tests. Unittests requirements are handled
via requirements26.txt.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 26 16:57:39 UTC 2015 - benoit.monin@gmx.fr Sun Apr 26 16:57:39 UTC 2015 - benoit.monin@gmx.fr

View File

@ -19,7 +19,7 @@
%define baseName jmespath %define baseName jmespath
Name: python-jmespath Name: python-jmespath
Version: 0.7.0 Version: 0.7.1
Release: 0 Release: 0
Summary: Extract elements from JSON document Summary: Extract elements from JSON document
License: MIT License: MIT
@ -78,6 +78,9 @@ python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir} python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir}
pushd %{buildroot}/%{_bindir}
ln -s jp.py jp
popd
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -85,6 +88,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-script
%dir %{python_sitelib}/jmespath %dir %{python_sitelib}/jmespath
%dir %{python_sitelib}/%{baseName}-%{version}-py%{py_ver}.egg-info %dir %{python_sitelib}/%{baseName}-%{version}-py%{py_ver}.egg-info
%{_bindir}/jp %{_bindir}/jp
%{_bindir}/jp.py
%{python_sitelib}/jmespath/* %{python_sitelib}/jmespath/*
%{python_sitelib}/*egg-info/* %{python_sitelib}/*egg-info/*