From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F84A158089 for ; Sun, 10 Sep 2023 16:29:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9421D2BC017; Sun, 10 Sep 2023 16:29:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 763382BC017 for ; Sun, 10 Sep 2023 16:29:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F8BF335C4E for ; Sun, 10 Sep 2023 16:29:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8073810DC for ; Sun, 10 Sep 2023 16:29:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1694363326.3270eeb0bb5f0834dc54da4f20b2e9d856510cb2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wxpython/, dev-python/wxpython/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wxpython/files/wxpython-4.2.0-cython-3.patch dev-python/wxpython/wxpython-4.2.0.ebuild X-VCS-Directories: dev-python/wxpython/files/ dev-python/wxpython/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3270eeb0bb5f0834dc54da4f20b2e9d856510cb2 X-VCS-Branch: master Date: Sun, 10 Sep 2023 16:29:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e3a0dddb-658e-4beb-a463-f01473c070a8 X-Archives-Hash: 79f16c5ff802958215e1c8373db8199c commit: 3270eeb0bb5f0834dc54da4f20b2e9d856510cb2 Author: Sam James gentoo org> AuthorDate: Sun Sep 10 16:28:41 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 10 16:28:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3270eeb0 dev-python/wxpython: fix build w/ cython-3 Closes: https://bugs.gentoo.org/911703 Signed-off-by: Sam James gentoo.org> .../wxpython/files/wxpython-4.2.0-cython-3.patch | 19 +++++++++++++++++++ dev-python/wxpython/wxpython-4.2.0.ebuild | 1 + 2 files changed, 20 insertions(+) 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/wxpython-4.2.0.ebuild b/dev-python/wxpython/wxpython-4.2.0.ebuild index d5528c5f28f0..5d44d61b86f0 100644 --- a/dev-python/wxpython/wxpython-4.2.0.ebuild +++ b/dev-python/wxpython/wxpython-4.2.0.ebuild @@ -51,6 +51,7 @@ PATCHES=( #"${FILESDIR}/${PN}-4.0.6-skip-broken-tests.patch" "${FILESDIR}/${PN}-4.2.0-no-attrdict.patch" "${FILESDIR}/${PN}-4.2.0-flags.patch" + "${FILESDIR}/${PN}-4.2.0-cython-3.patch" ) python_prepare_all() {