diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-23 00:27:52 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-23 09:44:21 +0100 |
| commit | 43a0e0b1de9180cff7419bdb0cc0670768afd2f1 (patch) | |
| tree | c52ca31a3dd44d65030102982d7872a216dfe875 /dev-qt/qtwebengine | |
| parent | 35978829ce30dd940bec44fe69a8b1449359cf3e (diff) | |
| download | gentoo-43a0e0b1de9180cff7419bdb0cc0670768afd2f1.tar.gz gentoo-43a0e0b1de9180cff7419bdb0cc0670768afd2f1.tar.bz2 gentoo-43a0e0b1de9180cff7419bdb0cc0670768afd2f1.zip | |
dev-qt/qtwebengine: enable py3.13
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine')
| -rw-r--r-- | dev-qt/qtwebengine/files/qtwebengine-5.15.16_p20241115-py3.13-pipes.patch | 21 | ||||
| -rw-r--r-- | dev-qt/qtwebengine/qtwebengine-5.15.16_p20241115.ebuild | 3 |
2 files changed, 23 insertions, 1 deletions
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() { |
