commit:     911e676b6c3fd022704e2a86034ff210dfed0492
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Tue Mar 10 19:25:14 2026 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 14:58:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911e676b

dev-python/pyside: support wheel 0.46

Closes: https://bugs.gentoo.org/953288
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45915
Closes: https://github.com/gentoo/gentoo/pull/45915
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 .../files/pyside-6.10.2-quick-fix-build-wheel.patch       | 15 +++++++++++++++
 dev-python/pyside/pyside-6.10.2.ebuild                    |  5 ++---
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/dev-python/pyside/files/pyside-6.10.2-quick-fix-build-wheel.patch 
b/dev-python/pyside/files/pyside-6.10.2-quick-fix-build-wheel.patch
new file mode 100644
index 000000000000..56992c3f49a4
--- /dev/null
+++ b/dev-python/pyside/files/pyside-6.10.2-quick-fix-build-wheel.patch
@@ -0,0 +1,15 @@
+--- a/build_scripts/wheel_override.py
++++ b/build_scripts/wheel_override.py
+@@ -20,9 +20,9 @@
+ 
+     from packaging import tags
+     from wheel import __version__ as wheel_version
+-    from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
+-    from wheel.bdist_wheel import get_abi_tag, get_platform
+-    from wheel.bdist_wheel import safer_name as _safer_name
++    from setuptools.command.bdist_wheel import bdist_wheel as _bdist_wheel
++    from setuptools.command.bdist_wheel import get_abi_tag, get_platform
++    from setuptools.command.bdist_wheel import safer_name as _safer_name
+ 
+     wheel_module_exists = True
+ except Exception as e:

diff --git a/dev-python/pyside/pyside-6.10.2.ebuild 
b/dev-python/pyside/pyside-6.10.2.ebuild
index 5db861780e32..385e746864de 100644
--- a/dev-python/pyside/pyside-6.10.2.ebuild
+++ b/dev-python/pyside/pyside-6.10.2.ebuild
@@ -213,7 +213,7 @@ DEPEND="${RDEPEND}
 BDEPEND="
        dev-build/cmake
        dev-python/distro[${PYTHON_USEDEP}]
-       <dev-python/wheel-0.46.0[${PYTHON_USEDEP}]
+       dev-python/wheel[${PYTHON_USEDEP}]
        dev-util/patchelf
        doc? (
                >=dev-libs/libxml2-2.6.32
@@ -226,8 +226,7 @@ BDEPEND="
 "
 
 PATCHES=(
-       # Needs porting to newer wheel and setuptools
-       "${FILESDIR}/${PN}-6.8.2-quick-fix-build-wheel.patch"
+       "${FILESDIR}/${PN}-6.10.2-quick-fix-build-wheel.patch"
        "${FILESDIR}/${PN}-6.10.0-dont-vendor-ffmpeg.patch"
        "${FILESDIR}/${PN}-6.10.1-pass-ninja-opts.patch"
 )

Reply via email to