commit:     43a0e0b1de9180cff7419bdb0cc0670768afd2f1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 23:27:52 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 08:44:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a0e0b1

dev-qt/qtwebengine: enable py3.13

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...qtwebengine-5.15.16_p20241115-py3.13-pipes.patch | 21 +++++++++++++++++++++
 .../qtwebengine-5.15.16_p20241115.ebuild            |  3 ++-
 2 files changed, 23 insertions(+), 1 deletion(-)

diff --git 
a/dev-qt/qtwebengine/files/qtwebengine-5.15.16_p20241115-py3.13-pipes.patch 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.16_p20241115-py3.13-pipes.patch
new file mode 100644
index 000000000000..b04f6a4667bb
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.16_p20241115-py3.13-pipes.patch
@@ -0,0 +1,21 @@
+diff --git a/src/3rdparty/chromium/build/android/gyp/util/build_utils.py 
b/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
+index 022980517..e3f82704a 100644
+--- a/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
++++ b/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
+@@ -12,7 +12,6 @@ import fnmatch
+ import json
+ import logging
+ import os
+-import pipes
+ import re
+ import shutil
+ import stat
+@@ -198,7 +197,7 @@ class CalledProcessError(Exception):
+     # A user should be able to simply copy and paste the command that failed
+     # into their shell.
+     copyable_command = '( cd {}; {} )'.format(os.path.abspath(self.cwd),
+-        ' '.join(map(pipes.quote, self.args)))
++                                              printed_cmd)
+     return 'Command failed: {}\n{}'.format(copyable_command, self.output)
+ 
+ 

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.16_p20241115.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.16_p20241115.ebuild
index eb2dc1c56445..ca6718646a2d 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.16_p20241115.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.16_p20241115.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PATCHSET="${PN}-5.15.14_p20240510-patchset"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 PYTHON_REQ_USE="xml(+)"
 inherit check-reqs estack flag-o-matic multiprocessing python-any-r1 qt5-build 
toolchain-funcs
 
@@ -103,6 +103,7 @@ PATCHES=(
        "${FILESDIR}/${PN}-5.15.14_p20240510-re2.patch" # bug 913923
        "${FILESDIR}/${PN}-5.15.14_p20240510-gcc15-cstdint.patch"
        "${FILESDIR}/${PN}-5.15.14_p20240510-gcc15-template-id-cdtor.patch"
+       "${FILESDIR}/${P}-py3.13-pipes.patch" # thx to Fedora
 )
 
 python_check_deps() {

Reply via email to