summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-06-03 21:55:27 +0200
committerMichał Górny <mgorny@gentoo.org>2025-06-03 21:59:34 +0200
commite54ec892d3a4c6620519a68f2f462176bb60ad61 (patch)
tree63a04c15da20efe8751847246d4d74d29aaa25e7 /dev-python/wxpython/files
parentd85e3e4861cc8e47f5e364dd86ee43b47a554aef (diff)
downloadgentoo-e54ec892d3a4c6620519a68f2f462176bb60ad61.tar.gz
gentoo-e54ec892d3a4c6620519a68f2f462176bb60ad61.tar.bz2
gentoo-e54ec892d3a4c6620519a68f2f462176bb60ad61.zip
dev-python/wxpython: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
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-no-attrdict.patch13
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch46
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.1-integer-division-for-randint.patch26
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.1-sip-6.10.0.patch23
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.2-sip-6.10.0.patch14
6 files changed, 0 insertions, 141 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
deleted file mode 100644
index aff380108b8ea..0000000000000
--- a/dev-python/wxpython/files/wxpython-4.2.0-cython-3.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-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-no-attrdict.patch b/dev-python/wxpython/files/wxpython-4.2.0-no-attrdict.patch
deleted file mode 100644
index b3e4beff2cfe6..0000000000000
--- a/dev-python/wxpython/files/wxpython-4.2.0-no-attrdict.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-As in https://src.fedoraproject.org/rpms/python-wxpython4/raw/rawhide/f/no-attrdict.patch.
---- a/buildtools/config.py
-+++ b/buildtools/config.py
-@@ -27,8 +27,6 @@ from distutils.dep_util import newer
-
- import distutils.sysconfig
-
--from attrdict import AttrDict
--
- runSilently = False
-
- #----------------------------------------------------------------------
-
diff --git a/dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch b/dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch
deleted file mode 100644
index 7baf5708b8ffb..0000000000000
--- a/dev-python/wxpython/files/wxpython-4.2.1-doxygen-1.9.7.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-https://bugs.gentoo.org/934482
-https://github.com/wxWidgets/Phoenix/commit/6a049ccc0ad96f25c3f7d8540b218ffe8921d8c5
-
-From 6a049ccc0ad96f25c3f7d8540b218ffe8921d8c5 Mon Sep 17 00:00:00 2001
-From: Scott Talbert <swt@techie.net>
-Date: Tue, 5 Dec 2023 23:42:21 -0500
-Subject: [PATCH] Support building with Doxygen 1.9.7
-
-Doxygen 1.9.7 made some changes whereby some method definitions are now
-defined in separate XML files, with a "refid" that links to them. In
-order to support this, we need to follow these "refids" to pick up the
-method definition from the separate group XML files.
---- a/etgtools/extractors.py
-+++ b/etgtools/extractors.py
-@@ -62,6 +62,8 @@ def extract(self, element):
- # class. Should be overridden in derived classes to get what each one
- # needs in addition to the base.
- self.name = element.find(self.nameTag).text
-+ if self.name is None:
-+ self.name = ''
- if '::' in self.name:
- loc = self.name.rfind('::')
- self.name = self.name[loc+2:]
-@@ -1574,12 +1576,21 @@ def addElement(self, element):
- extractingMsg(kind, element)
- for node in element.findall('sectiondef/memberdef'):
- self.addElement(node)
-+ for node in element.findall('sectiondef/member'):
-+ node = self.resolveRefid(node)
-+ self.addElement(node)
-
- else:
- raise ExtractorError('Unknown module item kind: %s' % kind)
-
- return item
-
-+ def resolveRefid(self, node):
-+ from etgtools import XMLSRC
-+ refid = node.get('refid')
-+ fname = os.path.join(XMLSRC, refid.rsplit('_', 1)[0]) + '.xml'
-+ root = et.parse(fname).getroot()
-+ return root.find(".//memberdef[@id='{}']".format(refid))
-
-
- def addCppFunction(self, type, name, argsString, body, doc=None, **kw):
-
diff --git a/dev-python/wxpython/files/wxpython-4.2.1-integer-division-for-randint.patch b/dev-python/wxpython/files/wxpython-4.2.1-integer-division-for-randint.patch
deleted file mode 100644
index b98624d7df8f3..0000000000000
--- a/dev-python/wxpython/files/wxpython-4.2.1-integer-division-for-randint.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From https://github.com/wxWidgets/Phoenix/pull/2508
-From 3b042c863f4092f802a877a972fd6eb284451a78 Mon Sep 17 00:00:00 2001
-From: Ben Greiner <code@bnavigator.de>
-Date: Sat, 6 Jan 2024 21:58:29 +0100
-Subject: [PATCH] integer division for randint
-
-Python 3.12 does not accept floats for random.randint() anymore
----
- unittests/test_dcDrawLists.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/unittests/test_dcDrawLists.py b/unittests/test_dcDrawLists.py
-index 9e35e5eaf..6696a79a0 100644
---- a/unittests/test_dcDrawLists.py
-+++ b/unittests/test_dcDrawLists.py
-@@ -63,8 +63,8 @@ def makeRandomRectangles():
- rects = []
-
- for i in range(num):
-- W = random.randint(10, w/2)
-- H = random.randint(10, h/2)
-+ W = random.randint(10, w//2)
-+ H = random.randint(10, h//2)
- x = random.randint(0, w - W)
- y = random.randint(0, h - H)
- rects.append( (x, y, W, H) )
diff --git a/dev-python/wxpython/files/wxpython-4.2.1-sip-6.10.0.patch b/dev-python/wxpython/files/wxpython-4.2.1-sip-6.10.0.patch
deleted file mode 100644
index 5d6751d7a8d48..0000000000000
--- a/dev-python/wxpython/files/wxpython-4.2.1-sip-6.10.0.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-https://bugs.gentoo.org/949510#c4
-https://github.com/wxWidgets/Phoenix/commit/de9aa4be5bb49adf82991c7582ea3c42ed505bf7.patch
-
-From de9aa4be5bb49adf82991c7582ea3c42ed505bf7 Mon Sep 17 00:00:00 2001
-From: Scott Talbert <swt@techie.net>
-Date: Sun, 9 Feb 2025 17:50:08 -0500
-Subject: [PATCH] Update SIP ABI version to 12.14
-
-We haven't supported 12.8 since before we upgraded to SIP 6.6+.
-However, SIP has not been correctly generating the correct module
-version until very recently, so generating 12.8 doesn't actually compile
-with current wxPython.
---- a/buildtools/config.py
-+++ b/buildtools/config.py
-@@ -88,7 +88,7 @@ class Configuration(object):
- PKGDIR = 'wx'
- # The name of the top-level package
-
-- SIP_ABI = '12.8'
-+ SIP_ABI = '12.14'
- SIP_TRACE = False
-
- # ---------------------------------------------------------------
diff --git a/dev-python/wxpython/files/wxpython-4.2.2-sip-6.10.0.patch b/dev-python/wxpython/files/wxpython-4.2.2-sip-6.10.0.patch
deleted file mode 100644
index 7f15661b601f1..0000000000000
--- a/dev-python/wxpython/files/wxpython-4.2.2-sip-6.10.0.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugs.gentoo.org/949510#c4
-https://github.com/wxWidgets/Phoenix/commit/de9aa4be5bb49adf82991c7582ea3c42ed505bf7.patch
-
---- a/buildtools/config.py
-+++ b/buildtools/config.py
-@@ -85,7 +85,7 @@
- PKGDIR = 'wx'
- # The name of the top-level package
-
-- SIP_ABI = '12.9'
-+ SIP_ABI = '12.14'
- SIP_TRACE = False
-
- # ---------------------------------------------------------------