diff options
Diffstat (limited to 'dev-python/cython/files')
4 files changed, 0 insertions, 108 deletions
diff --git a/dev-python/cython/files/50cython-gentoo.el b/dev-python/cython/files/50cython-gentoo.el deleted file mode 100644 index e6dcc6a6d7fb..000000000000 --- a/dev-python/cython/files/50cython-gentoo.el +++ /dev/null @@ -1,11 +0,0 @@ -;;; site-lisp configuration for cython-mode - -(add-to-list 'load-path "@SITELISP@") - -(autoload 'cython-mode "cython-mode" "Major mode for editing Cython files" t) -;;;###autoload -(add-to-list 'auto-mode-alist '("\\.pyx\\'" . cython-mode)) -;;;###autoload -(add-to-list 'auto-mode-alist '("\\.pxd\\'" . cython-mode)) -;;;###autoload -(add-to-list 'auto-mode-alist '("\\.pxi\\'" . cython-mode)) diff --git a/dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch b/dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch deleted file mode 100644 index b7a9d19a248d..000000000000 --- a/dev-python/cython/files/cython-0.29.37.1-no-warn-ptr-types.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py -index e9bfa9fe9..43be47dd5 100644 ---- a/Cython/Compiler/ModuleNode.py -+++ b/Cython/Compiler/ModuleNode.py -@@ -376,6 +376,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): - self.generate_includes(env, modules, code, early=False) - - code = globalstate['all_the_rest'] -+ # Gentoo: workaround for https://github.com/cython/cython/issues/2747 -+ # https://bugs.gentoo.org/918983 -+ code.putln('#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"') - - self.generate_cached_builtins_decls(env, code) - self.generate_lambda_definitions(env, code) diff --git a/dev-python/cython/files/cython-3.0.2-enummeta.patch b/dev-python/cython/files/cython-3.0.2-enummeta.patch deleted file mode 100644 index 284af4ac6c16..000000000000 --- a/dev-python/cython/files/cython-3.0.2-enummeta.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 81cc077ad035947a3429c245f1e28c8b43c6dcc6 Mon Sep 17 00:00:00 2001 -From: da-woods <dw-git@d-woods.co.uk> -Date: Sat, 2 Sep 2023 10:32:59 +0100 -Subject: [PATCH] Fix invalid fastcall dict when keywords are passed - -Fixes #5665 - -I'm slightly surprised this hasn't caused more bugs. We're passing -a dict where we should be passing a tuple of names. - -Replacement should hopefully be right, but I don't know how -optimized or otherwise it is. ---- - Cython/Utility/ObjectHandling.c | 36 +++++++++++++++++++-------------- - 1 file changed, 21 insertions(+), 15 deletions(-) - -diff --git a/Cython/Utility/ObjectHandling.c b/Cython/Utility/ObjectHandling.c -index 8ea5be42935..507fb94f605 100644 ---- a/Cython/Utility/ObjectHandling.c -+++ b/Cython/Utility/ObjectHandling.c -@@ -2328,27 +2328,33 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj - #endif - #endif - -- #if CYTHON_VECTORCALL -- #if Py_VERSION_HEX < 0x03090000 -- vectorcallfunc f = _PyVectorcall_Function(func); -- #else -- vectorcallfunc f = PyVectorcall_Function(func); -- #endif -- if (f) { -- return f(func, args, (size_t)nargs, kwargs); -- } -- #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL -- // exclude fused functions for now -- if (__Pyx_CyFunction_CheckExact(func)) { -- __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func); -- if (f) return f(func, args, (size_t)nargs, kwargs); -+ if (kwargs == NULL) { -+ #if CYTHON_VECTORCALL -+ #if Py_VERSION_HEX < 0x03090000 -+ vectorcallfunc f = _PyVectorcall_Function(func); -+ #else -+ vectorcallfunc f = PyVectorcall_Function(func); -+ #endif -+ if (f) { -+ return f(func, args, (size_t)nargs, NULL); -+ } -+ #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL -+ // exclude fused functions for now -+ if (__Pyx_CyFunction_CheckExact(func)) { -+ __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func); -+ if (f) return f(func, args, (size_t)nargs, NULL); -+ } -+ #endif - } -- #endif - - if (nargs == 0) { - return __Pyx_PyObject_Call(func, $empty_tuple, kwargs); - } -+ #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API -+ return PyObject_VectorcallDict(func, args, nargs, kwargs); -+ #else - return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs); -+ #endif - } - - diff --git a/dev-python/cython/files/cython-3.0.8-no-warn-ptr-types.patch b/dev-python/cython/files/cython-3.0.8-no-warn-ptr-types.patch deleted file mode 100644 index bfa51fd2bf5c..000000000000 --- a/dev-python/cython/files/cython-3.0.8-no-warn-ptr-types.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py -index b46b6cee6..9f9f08d61 100644 ---- a/Cython/Compiler/ModuleNode.py -+++ b/Cython/Compiler/ModuleNode.py -@@ -507,6 +507,9 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): - self.generate_includes(env, modules, code, early=False) - - code = globalstate['module_code'] -+ # Gentoo: workaround for https://github.com/cython/cython/issues/2747 -+ # https://bugs.gentoo.org/918983 -+ code.putln('#pragma GCC diagnostic ignored "-Wincompatible-pointer-types"') - - self.generate_cached_builtins_decls(env, code) - |