forked from pool/python-pyparsing
Accepting request 438174 from home:TheBlackCat:branches:devel:languages:python
update to version 2.1.10 OBS-URL: https://build.opensuse.org/request/show/438174 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=33
This commit is contained in:
@@ -17,23 +17,21 @@
|
||||
|
||||
|
||||
Name: python-pyparsing
|
||||
Version: 2.0.7
|
||||
Version: 2.1.10
|
||||
Release: 0
|
||||
Url: http://pyparsing.wikispaces.com/
|
||||
Summary: Grammar Parser Library for Python
|
||||
License: MIT and GPL-2.0+ and GPL-3.0+
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyparsing/pyparsing-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python
|
||||
Provides: python-parsing = %{version}
|
||||
Obsoletes: python-parsing < %{version}
|
||||
%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
|
||||
|
||||
%description
|
||||
The pyparsing module is an alternative approach to creating and executing
|
||||
@@ -60,7 +58,7 @@ This package contains the documentation of %{name}
|
||||
%build
|
||||
python setup.py build
|
||||
# Fix wrong EOL encoding:
|
||||
sed -i 's/\r$//' CHANGES LICENSE README examples/*
|
||||
sed -i 's/\r$//' CHANGES LICENSE README examples/*py
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
Reference in New Issue
Block a user