Accepting request 1117884 from home:bnavigator:branches:KDE:Qt:PyQt

- Update to 12.13.0
  * Added sipPyTypeDictRef() to the v12 and v13 ABIs.
    sipPyTypeDict() is now deprecated and must not be used with
    Python v3.12 and later.
  * Classes will automatically support being iterated over if they
    implement '__getitem__()' or 'operator[]' and have a method
    annotated with '__len__'.
  * Bug fixes.

OBS-URL: https://build.opensuse.org/request/show/1117884
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-qt5-sip?expand=0&rev=10
This commit is contained in:
Benjamin Greiner 2023-10-15 15:32:02 +00:00 committed by Git OBS Bridge
parent 8b9d11e506
commit 229d925fa1
5 changed files with 36 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10d9bfa9f59f0fd1cad81be187479316ffc95684f573efea94512cb4257d2b17
size 123020

BIN
PyQt5_sip-12.13.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Oct 15 13:56:21 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 12.13.0
* Added sipPyTypeDictRef() to the v12 and v13 ABIs.
sipPyTypeDict() is now deprecated and must not be used with
Python v3.12 and later.
* Classes will automatically support being iterated over if they
implement '__getitem__()' or 'operator[]' and have a method
annotated with '__len__'.
* Bug fixes.
-------------------------------------------------------------------
Wed Sep 27 09:04:14 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-qt5-sip
Version: 12.12.2
Version: 12.13.0
Release: 0
License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
Summary: The sip module support for PyQt5

View File

@ -1,19 +1,19 @@
Index: PyQt5_sip-12.12.2/setup.py
Index: PyQt5_sip-12.13.0/setup.py
===================================================================
--- PyQt5_sip-12.12.2.orig/setup.py
+++ PyQt5_sip-12.12.2/setup.py
--- PyQt5_sip-12.13.0.orig/setup.py
+++ PyQt5_sip-12.13.0/setup.py
@@ -40,6 +40,6 @@ setup(
name='PyQt5_sip',
version='12.12.2',
version='12.13.0',
license='SIP',
- python_requires='>=3.7',
+ python_requires='>=3.6',
ext_modules=[module]
)
Index: PyQt5_sip-12.12.2/sip.h
Index: PyQt5_sip-12.13.0/sip.h
===================================================================
--- PyQt5_sip-12.12.2.orig/sip.h
+++ PyQt5_sip-12.12.2/sip.h
--- PyQt5_sip-12.13.0.orig/sip.h
+++ PyQt5_sip-12.13.0/sip.h
@@ -24,8 +24,8 @@
#include <Python.h>
@ -25,11 +25,11 @@ Index: PyQt5_sip-12.12.2/sip.h
#endif
Index: PyQt5_sip-12.12.2/siplib.c
Index: PyQt5_sip-12.13.0/siplib.c
===================================================================
--- PyQt5_sip-12.12.2.orig/siplib.c
+++ PyQt5_sip-12.12.2/siplib.c
@@ -1041,6 +1041,10 @@ const sipAPIDef *sip_init_library(PyObje
--- PyQt5_sip-12.13.0.orig/siplib.c
+++ PyQt5_sip-12.13.0/siplib.c
@@ -1046,6 +1046,10 @@ const sipAPIDef *sip_init_library(PyObje
PyObject *obj;
PyMethodDef *md;
@ -40,7 +40,7 @@ Index: PyQt5_sip-12.12.2/siplib.c
/* Add the SIP version number. */
obj = PyLong_FromLong(SIP_VERSION);
@@ -13307,12 +13311,16 @@ int sip_api_convert_from_slice_object(Py
@@ -13331,12 +13335,16 @@ int sip_api_convert_from_slice_object(Py
Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step,
Py_ssize_t *slicelength)
{
@ -57,10 +57,10 @@ Index: PyQt5_sip-12.12.2/siplib.c
}
Index: PyQt5_sip-12.12.2/PKG-INFO
Index: PyQt5_sip-12.13.0/PKG-INFO
===================================================================
--- PyQt5_sip-12.12.2.orig/PKG-INFO
+++ PyQt5_sip-12.12.2/PKG-INFO
--- PyQt5_sip-12.13.0.orig/PKG-INFO
+++ PyQt5_sip-12.13.0/PKG-INFO
@@ -9,7 +9,7 @@ License: SIP
Platform: X11
Platform: macOS
@ -68,12 +68,12 @@ Index: PyQt5_sip-12.12.2/PKG-INFO
-Requires-Python: >=3.7
+Requires-Python: >=3.6
License-File: LICENSE
License-File: LICENSE-GPL3
License-File: LICENSE-GPL2
Index: PyQt5_sip-12.12.2/PyQt5_sip.egg-info/PKG-INFO
License-File: LICENSE-GPL3
Index: PyQt5_sip-12.13.0/PyQt5_sip.egg-info/PKG-INFO
===================================================================
--- PyQt5_sip-12.12.2.orig/PyQt5_sip.egg-info/PKG-INFO
+++ PyQt5_sip-12.12.2/PyQt5_sip.egg-info/PKG-INFO
--- PyQt5_sip-12.13.0.orig/PyQt5_sip.egg-info/PKG-INFO
+++ PyQt5_sip-12.13.0/PyQt5_sip.egg-info/PKG-INFO
@@ -9,7 +9,7 @@ License: SIP
Platform: X11
Platform: macOS
@ -81,5 +81,5 @@ Index: PyQt5_sip-12.12.2/PyQt5_sip.egg-info/PKG-INFO
-Requires-Python: >=3.7
+Requires-Python: >=3.6
License-File: LICENSE
License-File: LICENSE-GPL3
License-File: LICENSE-GPL2
License-File: LICENSE-GPL3