forked from pool/python-Cython
Accepting request 950793 from devel:languages:python
- Make the running the test suite conditional (default off). Seven hours of running it is just too much. - Enable running of the test suite. - update to 0.29.27: * The ``cythonize`` command has a new option ``-M`` to generate ``.dep`` dependency files for the compilation unit. This can be used by external build tools to track these dependencies. * Calls to ``range()`` with more than three arguments did not fail. * Some C compiler warnings about missing type struct initialisers in Py3.10 were resolved. * Cython no longer warns about using OpenMP 3.0 features since they are now considered generally available. OBS-URL: https://build.opensuse.org/request/show/950793 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Cython?expand=0&rev=63
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:af377d543a762867da11fcf6e558f7a4a535ff8693f30cce123fab10c00fa312
|
|
||||||
size 2079448
|
|
3
Cython-0.29.27.tar.gz
Normal file
3
Cython-0.29.27.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c6a442504db906dfc13a480e96850cced994ecdc076bcf492c43515b78f70da2
|
||||||
|
size 2081166
|
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Enable running of the test suite.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 31 13:46:21 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
- update to 0.29.27:
|
||||||
|
* The ``cythonize`` command has a new option ``-M`` to generate ``.dep`` dependency
|
||||||
|
files for the compilation unit. This can be used by external build tools to track
|
||||||
|
these dependencies.
|
||||||
|
* Calls to ``range()`` with more than three arguments did not fail.
|
||||||
|
* Some C compiler warnings about missing type struct initialisers in Py3.10 were resolved.
|
||||||
|
* Cython no longer warns about using OpenMP 3.0 features since they are now
|
||||||
|
considered generally available.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 4 15:59:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Tue Jan 4 15:59:48 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -18,8 +18,9 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
|
%bcond_with test
|
||||||
Name: python-Cython
|
Name: python-Cython
|
||||||
Version: 0.29.26
|
Version: 0.29.27
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Cython compiler for writing C extensions for the Python language
|
Summary: The Cython compiler for writing C extensions for the Python language
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -79,6 +80,13 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/
|
|||||||
%fdupes %{buildroot}%{$python_sitearch}
|
%fdupes %{buildroot}%{$python_sitearch}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with test}
|
||||||
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
|
||||||
|
$python runtests.py -v
|
||||||
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative cython cythonize cygdb
|
%python_install_alternative cython cythonize cygdb
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user