forked from pool/python-cffi
Accepting request 309689 from home:benoit_monin:branches:devel:languages:python
- update to version 1.1.0 - add python-cffi-rpmlintrc: cffi specifically installs C headers in site-packages - add new test dependency gcc-c++ - skip the tests on SLE11 since they fail on i586 OBS-URL: https://build.opensuse.org/request/show/309689 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
f619bc917c
commit
3d13a415a1
@@ -17,13 +17,15 @@
|
||||
|
||||
|
||||
Name: python-cffi
|
||||
Version: 0.9.2
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: Foreign Function Interface for Python calling C code
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://cffi.readthedocs.org
|
||||
Source0: http://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz
|
||||
Source1: python-cffi-rpmlintrc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# Documentation requirements:
|
||||
@@ -53,8 +55,12 @@ python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
# tests fail on SLE11 i586, so skip them
|
||||
# TODO recheck with version > 1.1.0
|
||||
%if 0%{?suse_version} > 1110
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python_sitearch} py.test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user