summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-21 23:13:31 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-21 23:13:31 +0000
commitf2e855155c4f5af5e61941d2c3067f806a55ee14 (patch)
treee2758eff602546329ffd0916890ad149951c5e22 /dev-python/wxpython/files
parentbfdd679dba49c8088511166cea7b9fe95b923b43 (diff)
downloadbaldeagleos-repo-f2e855155c4f5af5e61941d2c3067f806a55ee14.tar.gz
baldeagleos-repo-f2e855155c4f5af5e61941d2c3067f806a55ee14.tar.xz
baldeagleos-repo-f2e855155c4f5af5e61941d2c3067f806a55ee14.zip
Adding metadata
Diffstat (limited to 'dev-python/wxpython/files')
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.0-cython-3.patch19
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.0-fix-cython3.patch13
2 files changed, 19 insertions, 13 deletions
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 <swt@techie.net>
+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)