From f2e855155c4f5af5e61941d2c3067f806a55ee14 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 21 Dec 2023 23:13:31 +0000 Subject: Adding metadata --- .../wxpython/files/wxpython-4.2.0-cython-3.patch | 19 +++++++++++++++++++ .../wxpython/files/wxpython-4.2.0-fix-cython3.patch | 13 ------------- 2 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 dev-python/wxpython/files/wxpython-4.2.0-cython-3.patch delete mode 100644 dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch (limited to 'dev-python/wxpython/files') diff --git a/dev-python/wxpython/files/wxpython-4.2.0-cython-3.patch b/dev-python/wxpython/files/wxpython-4.2.0-cython-3.patch new file mode 100644 index 000000000000..aff380108b8e --- /dev/null +++ b/dev-python/wxpython/files/wxpython-4.2.0-cython-3.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/911703 +https://github.com/wxWidgets/Phoenix/pull/2441 + +From aeb557d01e7cd37176ebbf0f1ae6d0b53c115378 Mon Sep 17 00:00:00 2001 +From: Scott Talbert +Date: Tue, 25 Jul 2023 12:42:32 -0400 +Subject: [PATCH] Fix compatibility with Cython 3.0.0 + +Remove unused import which seems to be removed in Cython 3. +--- a/wx/svg/_nanosvg.pyx ++++ b/wx/svg/_nanosvg.pyx +@@ -42,7 +42,6 @@ for manipulating the SVG shape info in memory. + + import sys + +-cimport cython.object + from cpython.buffer cimport ( + Py_buffer, PyObject_CheckBuffer, PyObject_GetBuffer, PyBUF_SIMPLE, + PyBuffer_Release) diff --git a/dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch b/dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch deleted file mode 100644 index 3961f12e3442..000000000000 --- a/dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/wx/svg/_nanosvg.pyx b/wx/svg/_nanosvg.pyx -index cda04d5ca..d1cae1aa9 100644 ---- a/wx/svg/_nanosvg.pyx -+++ b/wx/svg/_nanosvg.pyx -@@ -42,7 +42,7 @@ for manipulating the SVG shape info in memory. - - import sys - --cimport cython.object -+ - from cpython.buffer cimport ( - Py_buffer, PyObject_CheckBuffer, PyObject_GetBuffer, PyBUF_SIMPLE, - PyBuffer_Release) -- cgit v1.3.1