Accepting request 1032704 from KDE:Qt:PyQt

- Add sip-hg2860-fixprop.patch
  * https://www.riverbankcomputing.com/hg/sip/rev/2157850bf018
  * https://www.riverbankcomputing.com/pipermail/pyqt/2022-October/045021.html
- Update to 6.7.3
  * This is a very minor bug-fix release but also continues the
    progress of porting the C code to Python.

OBS-URL: https://build.opensuse.org/request/show/1032704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip6?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2022-11-02 11:46:26 +00:00 committed by Git OBS Bridge
commit e38398ecc0
5 changed files with 31 additions and 4 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
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>
- Update to 6.7.3
* This is a very minor bug-fix release but also continues the
progress of porting the C code to Python.
-------------------------------------------------------------------
Wed Oct 12 12:20:24 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -17,13 +17,15 @@
Name: python-sip6
Version: 6.7.2
Version: 6.7.3
Release: 0
Summary: A Python bindings generator for C/C++ libraries
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}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:325016c787d0bff20999c420339ad816fbfd39a7c49b2c4dcda12b63c379dbda
size 1157566

3
sip-6.7.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:564a7a8c5c1a42f1b69e9258af2b43ea31fbbab206d2e182e75c173caf7d83f8
size 1160568

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