Benjamin Greiner 2022-10-31 10:45:07 +00:00 committed by Git OBS Bridge
parent 35b15df806
commit 66d0caa2d3
3 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 31 10:44:03 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Add sip-hg2860-fixprop.patch
* https://www.riverbankcomputing.com/hg/sip/rev/2157850bf018
* https://www.riverbankcomputing.com/pipermail/pyqt/2022-October/045021.html
-------------------------------------------------------------------
Sat Oct 29 19:11:18 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -24,6 +24,8 @@ License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
Group: Development/Libraries/Python
URL: https://www.riverbankcomputing.com/software/sip
Source0: https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz
# PATCH-FIX-UPSTREAM sip-hg2860-fixprop.patch https://www.riverbankcomputing.com/hg/sip/rev/2157850bf018, https://www.riverbankcomputing.com/pipermail/pyqt/2022-October/045021.html
Patch0: sip-hg2860-fixprop.patch
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module ply}

11
sip-hg2860-fixprop.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/sipbuild/generator/outputs/pyi.py Fri Oct 28 16:36:35 2022 +0100
+++ b/sipbuild/generator/outputs/pyi.py Sat Oct 29 09:18:07 2022 +0100
@@ -495,7 +495,7 @@
defined)
s = _indent(indent)
- s += f'def {prop.name.name}{sinature}: ...\n'
+ s += f'def {prop.name.name}{signature}: ...\n'
pf.write(s)
break