- Make the running the test suite conditional (default

off). Seven hours of running it is just too much.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=156
This commit is contained in:
Matej Cepl 2022-02-02 17:55:24 +00:00 committed by Git OBS Bridge
parent ecb4cd5d28
commit d66d57bce2
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 2 17:54:50 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Make the running the test suite conditional (default
off). Seven hours of running it is just too much.
-------------------------------------------------------------------
Mon Jan 31 20:31:01 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -18,6 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%bcond_with test
Name: python-Cython
Version: 0.29.27
Release: 0
@ -80,9 +81,11 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/
}
%check
%if %{with test}
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
$python runtests.py -v
}
%endif
%post
%python_install_alternative cython cythonize cygdb