Accepting request 357115 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/357115 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jmespath?expand=0&rev=8
This commit is contained in:
commit
b72346c81a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cd5a12ee3dfa470283a020a35e69e83b0700d44fe413014fd35ad5584c5f5fd1
|
|
||||||
size 19696
|
|
3
jmespath-0.9.0.tar.gz
Normal file
3
jmespath-0.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:08dfaa06d4397f283a01e57089f3360e3b52b5b9da91a70e1fd91e9f0cdd3d3d
|
||||||
|
size 20855
|
@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 1 11:24:14 UTC 2016 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.9.0
|
||||||
|
* Add support for new lines with tokens in an expression
|
||||||
|
* Add support for `JEP 9 <http://jmespath.org/proposals/improved-filters.html>`__,
|
||||||
|
which introduces "and" expressions, "unary" expressions, "not" expressions,
|
||||||
|
and "paren" expressions
|
||||||
|
* Fix issue with hardcoded path in ``jp.py`` executable
|
||||||
|
(`issue 90 <https://github.com/jmespath/jmespath.py/issues/90>`__,
|
||||||
|
`issue 88 <https://github.com/jmespath/jmespath.py/issues/88>`__,
|
||||||
|
`issue 82 <https://github.com/jmespath/jmespath.py/issues/82>`__)
|
||||||
|
- Update to version 0.8.0
|
||||||
|
* Improve lexing performance (`issue 84 <https://github.com/jmespath/jmespath.py/pull/84>`__)
|
||||||
|
* Fix parsing error for multiselect lists (`issue 86 <https://github.com/jmespath/jmespath.py/issues/86>`__)
|
||||||
|
* Fix issue with escaping single quotes in literal strings (`issue 85 <https://github.com/jmespath/jmespath.py/issues/85>`__)
|
||||||
|
* Add support for providing your own dict cls to support
|
||||||
|
ordered dictionaries (`issue 94 <https://github.com/jmespath/jmespath.py/pull/94>`__)
|
||||||
|
* Add map() function (`issue 95 <https://github.com/jmespath/jmespath.py/pull/95>`__)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 20 19:42:39 UTC 2016 - rjschwei@suse.com
|
||||||
|
|
||||||
|
- Fix build issues for SLE 11
|
||||||
|
+ More test dependencies required
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 20 19:08:32 UTC 2016 - rjschwei@suse.com
|
||||||
|
|
||||||
|
- Manage the jp executable with update-alternatives now that
|
||||||
|
python3-jmespath exists
|
||||||
|
- spec file improvements
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 27 17:04:07 UTC 2015 - rjschwei@suse.com
|
Wed May 27 17:04:07 UTC 2015 - rjschwei@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jmespath
|
# spec file for package python-jmespath
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,19 +19,27 @@
|
|||||||
%define baseName jmespath
|
%define baseName jmespath
|
||||||
|
|
||||||
Name: python-jmespath
|
Name: python-jmespath
|
||||||
Version: 0.7.1
|
Version: 0.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Extract elements from JSON document
|
Summary: Extract elements from JSON document
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/boto/jmespath
|
Url: https://github.com/boto/jmespath
|
||||||
Source0: https://pypi.python.org/packages/source/j/%{baseName}/%{baseName}-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/j/%{baseName}/%{baseName}-%{version}.tar.gz
|
||||||
Requires: python
|
Requires: python-base
|
||||||
Requires: python-ply >= 3.4
|
Requires: python-ply >= 3.4
|
||||||
BuildRequires: python
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-ply
|
BuildRequires: python-ply >= 3.4
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
# For testing
|
||||||
|
BuildRequires: python-nose
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
|
BuildRequires: python-ordereddict
|
||||||
|
%endif
|
||||||
|
BuildRequires: python-simplejson
|
||||||
|
BuildRequires: python-unittest2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
@ -79,17 +87,25 @@ 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}
|
pushd %{buildroot}/%{_bindir}
|
||||||
ln -s jp.py jp
|
mv jp.py jp-%{py_ver}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%check
|
||||||
|
nosetests tests
|
||||||
|
|
||||||
|
%post
|
||||||
|
"%_sbindir/update-alternatives" --install %{_bindir}/jp jp %{_bindir}/jp-%{py_ver} 30
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
"%_sbindir/update-alternatives" --remove jp %{_bindir}/jp-%{py_ver}
|
||||||
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE.txt README.rst
|
%doc LICENSE.txt README.rst
|
||||||
%dir %{python_sitelib}/jmespath
|
%{_bindir}/jp-%{py_ver}
|
||||||
%dir %{python_sitelib}/%{baseName}-%{version}-py%{py_ver}.egg-info
|
%{python_sitelib}/jmespath/
|
||||||
%{_bindir}/jp
|
%{python_sitelib}/%{baseName}-%{version}-py%{py_ver}.egg-info/
|
||||||
%{_bindir}/jp.py
|
|
||||||
%{python_sitelib}/jmespath/*
|
|
||||||
%{python_sitelib}/*egg-info/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user