archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pyside6 / repos / extra-x86_64 / pysidebug-2127.patch
blob6359f01a1a6e13a780f3fb140355c40964ff196e
1 From 34e8eb569b865259055558384f91b7eeb4e27958 Mon Sep 17 00:00:00 2001
2 From: Christian Tismer <tismer@stackless.com>
3 Date: Thu, 24 Nov 2022 10:24:58 +0100
4 Subject: Fix a cmake-only build
6 pyminver was computed by cmake and evaluated by parser.py .
7 A recent refactoring extracted a computed string in a
8 wrong way.
10 Change-Id: Ia8264294ad0e050863ea912a9fee15792bed8f10
11 Pick-to: 6.4
12 Fixes: PYSIDE-2127
13 Fixes: PYSIDE-2128
14 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
15 ---
16 .../shibokenmodule/files.dir/shibokensupport/signature/parser.py | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 diff --git a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py
20 index be82a4f92..66d79ad27 100644
21 --- a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py
22 +++ b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/parser.py
23 @@ -69,7 +69,7 @@ def _get_flag_enum_option():
24 flag = getattr(sys, sysname)
25 if not isinstance(flag, int):
26 flag = True
27 - p = f"\n *** Python is at version {'.'.join(map(str, pyminver))} now."
28 + p = f"\n *** Python is at version {'.'.join(map(str, pyminver or (0,)))} now."
29 # PYSIDE-1797: Emit a warning when we may remove pep384_issue33738.cpp
30 if pyminver and pyminver >= (3, 8):
31 warnings.warn(f"{p} The file pep384_issue33738.cpp should be removed ASAP! ***")
32 --
33 cgit v1.2.1