diff --git a/Cython-0.29.23.tar.gz b/Cython-0.29.23.tar.gz deleted file mode 100644 index 85e516e..0000000 --- a/Cython-0.29.23.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6a0d31452f0245daacb14c979c77e093eb1a546c760816b5eed0047686baad8e -size 2073944 diff --git a/Cython-0.29.24.tar.gz b/Cython-0.29.24.tar.gz new file mode 100644 index 0000000..18f3a0a --- /dev/null +++ b/Cython-0.29.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdf04d07c3600860e8c2ebaad4e8f52ac3feb212453c1764a49ac08c827e8443 +size 2076225 diff --git a/cython_use_imgmath.patch b/cython_use_imgmath.patch deleted file mode 100644 index 1ca6ff3..0000000 --- a/cython_use_imgmath.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 452627ce99f3fa180f85838b8208a3cb3fcf0b71 Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Sun, 27 Jan 2019 16:43:41 +0100 -Subject: [PATCH] Docs: switch from outdated "pngmath" sphinx package to - "imgmath", and use "svg" as output format. See #2818. - ---- - docs/conf.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/docs/conf.py b/docs/conf.py -index 10662e28ca..c20a57574e 100644 ---- a/docs/conf.py -+++ b/docs/conf.py -@@ -41,7 +41,7 @@ - extensions = [ - 'ipython_console_highlighting', - 'cython_highlighting', -- 'sphinx.ext.pngmath', -+ 'sphinx.ext.imgmath', - 'sphinx.ext.todo', - 'sphinx.ext.intersphinx', - 'sphinx.ext.autodoc' -@@ -132,6 +132,9 @@ - # If true, keep warnings as "system message" paragraphs in the built documents. - #keep_warnings = False - -+# The output image format. The default is 'png'. It should be either 'png' or 'svg'. -+imgmath_image_format = "svg" -+ - - # -- Options for HTML output --------------------------------------------------- - diff --git a/python-Cython.changes b/python-Cython.changes index f0a7ed3..8f1fe44 100644 --- a/python-Cython.changes +++ b/python-Cython.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Jul 14 08:28:08 UTC 2021 - Paolo Stivanin + +- Update to 0.29.24: + * Inline functions in pxd files that used memory views could lead to invalid + C code if the module that imported from them does not use memory views. + * Several declarations in ``libcpp.string`` were added and corrected. + * Pickling unbound Cython compiled methods failed. + * The tracing code was adapted to work with CPython 3.10. + * The optimised ``in`` operator failed on unicode strings in Py3.9 and later + that were constructed from an external ``wchar_t`` source. + Also, related C compiler warnings about deprecated C-API usage were resolved. + * Some compiler crashes were resolved. + * An incorrect warning about 'unused' generator expressions was removed. + * The attributes ``gen.gi_frame`` and ``coro.cr_frame`` of Cython compiled + generators and coroutines now return an actual frame object for introspection, + instead of ``None``. +- Drop cython_use_imgmath.patch + ------------------------------------------------------------------- Wed Apr 21 21:19:17 UTC 2021 - Dirk Müller diff --git a/python-Cython.spec b/python-Cython.spec index 795e22e..3088308 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Cython -Version: 0.29.23 +Version: 0.29.24 Release: 0 Summary: The Cython compiler for writing C extensions for the Python language License: Apache-2.0 URL: http://www.cython.org Source: https://files.pythonhosted.org/packages/source/C/Cython/Cython-%{version}.tar.gz Source1: python-Cython-rpmlintrc -# PATCH-FIX-UPSTREAM -- cython_use_imgmath.patch -- Don't use removed pngmath Sphinx extension -- gh#cython/cython#2818 -Patch0: cython_use_imgmath.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module xml} BuildRequires: fdupes @@ -55,7 +53,6 @@ allows the compiler to generate very efficient C code from Cython code. %prep %setup -q -n Cython-%{version} -%patch0 -p1 # Fix non-executable scripts sed -i "s|^#!.*||" Cython/Debugger/{libpython,Cygdb}.py cython.py