From 937c342025673bcd4a8e4e3d3a05797f6d58083dba443ded2ac7cabd7f9b6889 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 31 Jan 2022 19:20:40 +0000 Subject: [PATCH 1/3] Accepting request 950217 from home:polslinux:branches:devel:languages:python - 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/950217 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=154 --- Cython-0.29.26.tar.gz | 3 --- Cython-0.29.27.tar.gz | 3 +++ python-Cython.changes | 12 ++++++++++++ python-Cython.spec | 2 +- 4 files changed, 16 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..ef108b2 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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..0f2294a 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python 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 From ecb4cd5d283949d043b54c0beda344375f9823dc99aa3b7cdba8018129bb9aaf Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 31 Jan 2022 20:31:11 +0000 Subject: [PATCH 2/3] - Enable running of the test suite. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=155 --- python-Cython.changes | 5 +++++ python-Cython.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/python-Cython.changes b/python-Cython.changes index ef108b2..d1e4fce 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-Cython.spec b/python-Cython.spec index 0f2294a..981f566 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -79,6 +79,11 @@ $python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/ %fdupes %{buildroot}%{$python_sitearch} } +%check +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1 +$python runtests.py -v +} + %post %python_install_alternative cython cythonize cygdb From d66d57bce2566557274c3780c161eb46b9d479e952fa47fb36aed12c79626d5f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 2 Feb 2022 17:55:24 +0000 Subject: [PATCH 3/3] - 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 --- python-Cython.changes | 6 ++++++ python-Cython.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/python-Cython.changes b/python-Cython.changes index d1e4fce..a4017f5 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/python-Cython.spec b/python-Cython.spec index 981f566..e9be980 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -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