diff --git a/.gitignore b/.gitignore index c6b8516..6411db2 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ Cython-0.12.1.tar.gz /Cython-0.29.16.tar.gz /Cython-0.29.17.tar.gz /Cython-0.29.19.tar.gz +/Cython-0.29.21.tar.gz diff --git a/Cython.spec b/Cython.spec index 499ea31..305c6c7 100644 --- a/Cython.spec +++ b/Cython.spec @@ -4,7 +4,7 @@ %bcond_without tests Name: Cython -Version: 0.29.19 +Version: 0.29.21 %global upver %{version_no_tilde %{nil}} Release: 1%{?dist} Summary: Language for writing Python extension modules @@ -118,6 +118,9 @@ cp -p cython-mode-init.el cython-mode-init.elc %{buildroot}%{_emacs_sitestartdir %{_emacs_sitestartdir}/cython*.el* %changelog +* Wed Jul 22 2020 Gwyn Ciesla - 0.29.21-1 +- 0.29.21 + * Wed May 27 2020 sguelton@redhat.com - 0.29.19-1 - Update to 0.29.19 diff --git a/class-static-method-workaround.patch b/class-static-method-workaround.patch index 4f854e0..b0a66b0 100644 --- a/class-static-method-workaround.patch +++ b/class-static-method-workaround.patch @@ -25,31 +25,6 @@ diff -U3 -r cython-0.29.17.orig/Cython/Compiler/Nodes.py cython-0.29.17/Cython/C if self.is_classmethod and env.lookup_here('classmethod'): # classmethod() was overridden - not much we can do here ... -diff -U3 -r cython-0.29.17.orig/Cython/Utility/CythonFunction.c cython-0.29.17/Cython/Utility/CythonFunction.c ---- cython-0.29.17.orig/Cython/Utility/CythonFunction.c 2020-04-26 13:48:48.000000000 +0200 -+++ cython-0.29.17/Cython/Utility/CythonFunction.c 2020-05-15 17:44:55.160172251 +0200 -@@ -548,21 +548,6 @@ - - static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type) - { -- __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; -- -- if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) { -- Py_INCREF(func); -- return func; -- } -- -- if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) { -- if (type == NULL) -- type = (PyObject *)(Py_TYPE(obj)); -- return __Pyx_PyMethod_New(func, type, (PyObject *)(Py_TYPE(type))); -- } -- -- if (obj == Py_None) -- obj = NULL; - return __Pyx_PyMethod_New(func, obj, type); - } - diff -U3 -r cython-0.29.17.orig/Cython/Utility/ObjectHandling.c cython-0.29.17/Cython/Utility/ObjectHandling.c --- cython-0.29.17.orig/Cython/Utility/ObjectHandling.c 2020-04-26 13:48:48.000000000 +0200 +++ cython-0.29.17/Cython/Utility/ObjectHandling.c 2020-05-15 17:44:55.160172251 +0200 diff --git a/sources b/sources index 4ae2411..1155232 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Cython-0.29.19.tar.gz) = 402f95f82099db0ae99ca2f849a9aef97558c9c6be62d3b3c66c346ecc94efbbe824ffc77f3cc6dd1d7054a2fb0332b10fe855ca1b054095f2df2ee297fd96a7 +SHA512 (Cython-0.29.21.tar.gz) = 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679