From 50be9f58a0f77c3e7a39d5f7e034dfd60f3172cbfeefe41b49d2f74f1ad3202d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 3 Feb 2022 22:16:15 +0000 Subject: [PATCH] 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 --- Cython-0.29.26.tar.gz | 3 --- Cython-0.29.27.tar.gz | 3 +++ python-Cython.changes | 23 +++++++++++++++++++++++ python-Cython.spec | 10 +++++++++- 4 files changed, 35 insertions(+), 4 deletions(-) delete mode 100644 Cython-0.29.26.tar.gz create mode 100644 Cython-0.29.27.tar.gz diff --git a/Cython-0.29.26.tar.gz b/Cython-0.29.26.tar.gz deleted file mode 100644 index ba103ea..0000000 --- a/Cython-0.29.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:af377d543a762867da11fcf6e558f7a4a535ff8693f30cce123fab10c00fa312 -size 2079448 diff --git a/Cython-0.29.27.tar.gz b/Cython-0.29.27.tar.gz new file mode 100644 index 0000000..be480d4 --- /dev/null +++ b/Cython-0.29.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6a442504db906dfc13a480e96850cced994ecdc076bcf492c43515b78f70da2 +size 2081166 diff --git a/python-Cython.changes b/python-Cython.changes index 474f44d..a4017f5 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Feb 2 17:54:50 UTC 2022 - Matej Cepl + +- 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 + +- Enable running of the test suite. + +------------------------------------------------------------------- +Mon Jan 31 13:46:21 UTC 2022 - Paolo Stivanin + +- 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 diff --git a/python-Cython.spec b/python-Cython.spec index 6428898..e9be980 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python +%bcond_with test Name: python-Cython -Version: 0.29.26 +Version: 0.29.27 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 @@ -79,6 +80,13 @@ $python -O -m compileall -d %{$python_sitearch} %{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 %python_install_alternative cython cythonize cygdb