forked from pool/python-jsonpath-rw
Accepting request 305632 from home:benoit_monin:branches:devel:languages:python
- update to version 1.4.0 - 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 OBS-URL: https://build.opensuse.org/request/show/305632 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpath-rw?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
f1255499af
commit
9a7480e1f9
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:070f316dd172cdbb733f8da1b981ebcd3c8f90b75aca9f978c9ac145c1a25e86
|
||||
size 12685
|
||||
3
jsonpath-rw-1.4.0.tar.gz
Normal file
3
jsonpath-rw-1.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fac4fbec
|
||||
size 13814
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 17:54:26 UTC 2015 - benoit.monin@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 15:14:09 UTC 2014 - speilicke@suse.com
|
||||
|
||||
|
||||
@@ -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 @@ extend. (You can also execute them :-)
|
||||
|
||||
%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 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%{_bindir}/jsonpath.py
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user