forked from pool/python-Cython
Accepting request 906249 from home:polslinux:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/906249 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cython?expand=0&rev=151
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user