15
0
forked from pool/python-cffi

Accepting request 531217 from home:seanmarlow:branches:devel:languages:python

- Update pytest in spec to add c directory tests in addition to 
  testing directory.
- Omit test_init_once_multithread tests as they rely on multiple
  threads finishing in a given time. Returns sporadic pass/fail
  within build.
- Update to 1.11.1.

OBS-URL: https://build.opensuse.org/request/show/531217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=37
This commit is contained in:
Jan Matejek
2017-10-04 13:07:40 +00:00
committed by Git OBS Bridge
parent 546c5651a6
commit 4ecbbe5c86
4 changed files with 71 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname cffi
Name: python-%{modname}
Version: 1.10.0
Version: 1.11.1
Release: 0
Summary: Foreign Function Interface for Python calling C code
License: MIT
@@ -55,7 +55,7 @@ export CFLAGS="%{optflags}"
%python_install
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%$python_bin_suffix
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%$python_bin_suffix -k "not test_init_once_multithread" c/ testing/
%files %{python_files}
%defattr(-,root,root,-)