- Add sip-hg2860-fixprop.patch
* https://www.riverbankcomputing.com/hg/sip/rev/2157850bf018 * https://www.riverbankcomputing.com/pipermail/pyqt/2022-October/045021.html OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=19
This commit is contained in:
parent
35b15df806
commit
66d0caa2d3
@ -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>
|
Sat Oct 29 19:11:18 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
URL: https://www.riverbankcomputing.com/software/sip
|
URL: https://www.riverbankcomputing.com/software/sip
|
||||||
Source0: https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz
|
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 devel >= 3.7}
|
||||||
BuildRequires: %{python_module packaging}
|
BuildRequires: %{python_module packaging}
|
||||||
BuildRequires: %{python_module ply}
|
BuildRequires: %{python_module ply}
|
||||||
|
11
sip-hg2860-fixprop.patch
Normal file
11
sip-hg2860-fixprop.patch
Normal 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
|
Loading…
x
Reference in New Issue
Block a user