From 8f6265eb39ef8ea36e6f017240667a9ec05b611cac3b9ce86afe4ebaf0679d6f Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 27 May 2015 17:10:32 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-jmespath?expand=0&rev=11 --- jmespath-0.7.0.tar.gz | 3 --- jmespath-0.7.1.tar.gz | 3 +++ python-jmespath.changes | 12 ++++++++++++ python-jmespath.spec | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 jmespath-0.7.0.tar.gz create mode 100644 jmespath-0.7.1.tar.gz diff --git a/jmespath-0.7.0.tar.gz b/jmespath-0.7.0.tar.gz deleted file mode 100644 index 7ecd970..0000000 --- a/jmespath-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3a2f1e9a86b265d420939c0bb263511009d7179d1886b2d18122d5603b43a9a -size 16036 diff --git a/jmespath-0.7.1.tar.gz b/jmespath-0.7.1.tar.gz new file mode 100644 index 0000000..4fc032f --- /dev/null +++ b/jmespath-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b170a3f96223dfa049f310f85c7207ae8d210337fccaa8f6c62f16c4ee1022eb +size 74921 diff --git a/python-jmespath.changes b/python-jmespath.changes index 5d510b8..475b7e2 100644 --- a/python-jmespath.changes +++ b/python-jmespath.changes @@ -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 diff --git a/python-jmespath.spec b/python-jmespath.spec index 7f30cb5..c2928a4 100644 --- a/python-jmespath.spec +++ b/python-jmespath.spec @@ -19,7 +19,7 @@ %define baseName jmespath Name: python-jmespath -Version: 0.7.0 +Version: 0.7.1 Release: 0 Summary: Extract elements from JSON document License: MIT @@ -78,6 +78,9 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir} +pushd %{buildroot}/%{_bindir} +ln -s jp.py jp +popd %files %defattr(-,root,root,-) @@ -85,6 +88,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-script %dir %{python_sitelib}/jmespath %dir %{python_sitelib}/%{baseName}-%{version}-py%{py_ver}.egg-info %{_bindir}/jp +%{_bindir}/jp.py %{python_sitelib}/jmespath/* %{python_sitelib}/*egg-info/*