summaryrefslogtreecommitdiff
path: root/dev-python/pyside
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2026-03-10 19:25:14 +0000
committerNowa Ammerlaan <nowa@gentoo.org>2026-03-11 15:58:30 +0100
commit911e676b6c3fd022704e2a86034ff210dfed0492 (patch)
tree6edfa46f0da5c831db873f95639d3bb7e439ed40 /dev-python/pyside
parentf599e0c57ad8132f7617b600886f6f182e1ec617 (diff)
dev-python/pyside: support wheel 0.46
Closes: https://bugs.gentoo.org/953288 Signed-off-by: Chris Mayo <aklhfex@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@gentoo.org>
Diffstat (limited to 'dev-python/pyside')
-rw-r--r--dev-python/pyside/files/pyside-6.10.2-quick-fix-build-wheel.patch15
-rw-r--r--dev-python/pyside/pyside-6.10.2.ebuild5
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"
)