From a95a80ba579559418bf168f8d35c50d51979a58aa424ac1e6cc60c65518f5a16 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 15 Oct 2023 15:32:14 +0000 Subject: [PATCH] Accepting request 1117882 from home:bnavigator:branches:KDE:Qt:PyQt - Update to 6.7.12 * The latest version of ABI v13 is v13.6.0. * The latest version of ABI v12 is v12.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/1117882 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=37 --- python-sip6.changes | 14 +++++++++++++ python-sip6.spec | 2 +- sip-6.7.11.tar.gz | 3 --- sip-6.7.12.tar.gz | 3 +++ support-python3.6.patch | 44 ++++++++++++++++++++--------------------- 5 files changed, 40 insertions(+), 26 deletions(-) delete mode 100644 sip-6.7.11.tar.gz create mode 100644 sip-6.7.12.tar.gz diff --git a/python-sip6.changes b/python-sip6.changes index a4f64af..44f4842 100644 --- a/python-sip6.changes +++ b/python-sip6.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun Oct 15 13:42:16 UTC 2023 - Ben Greiner + +- Update to 6.7.12 + * The latest version of ABI v13 is v13.6.0. + * The latest version of ABI v12 is v12.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:01:01 UTC 2023 - Ben Greiner diff --git a/python-sip6.spec b/python-sip6.spec index 83ca43a..847d238 100644 --- a/python-sip6.spec +++ b/python-sip6.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-sip6 -Version: 6.7.11 +Version: 6.7.12 Release: 0 Summary: A Python bindings generator for C/C++ libraries License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP diff --git a/sip-6.7.11.tar.gz b/sip-6.7.11.tar.gz deleted file mode 100644 index 47c3a58..0000000 --- a/sip-6.7.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0dc3287a0b172e5664931c87847750d47e4fdcda4fe362b514af8edd655b469 -size 1165368 diff --git a/sip-6.7.12.tar.gz b/sip-6.7.12.tar.gz new file mode 100644 index 0000000..1d353e6 --- /dev/null +++ b/sip-6.7.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08e66f742592eb818ac8fda4173e2ed64c9f2d40b70bee11db1c499127d98450 +size 1169656 diff --git a/support-python3.6.patch b/support-python3.6.patch index ae2af3e..c06f767 100644 --- a/support-python3.6.patch +++ b/support-python3.6.patch @@ -1,7 +1,7 @@ -Index: sip-6.7.9/PKG-INFO +Index: sip-6.7.12/PKG-INFO =================================================================== ---- sip-6.7.9.orig/PKG-INFO -+++ sip-6.7.9/PKG-INFO +--- sip-6.7.12.orig/PKG-INFO ++++ sip-6.7.12/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS @@ -9,12 +9,12 @@ Index: sip-6.7.9/PKG-INFO -Requires-Python: >=3.7 +Requires-Python: >=3.6 License-File: LICENSE - License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 -Index: sip-6.7.9/setup.py + License-File: LICENSE-GPL3 +Index: sip-6.7.12/setup.py =================================================================== ---- sip-6.7.9.orig/setup.py -+++ sip-6.7.9/setup.py +--- sip-6.7.12.orig/setup.py ++++ sip-6.7.12/setup.py @@ -50,7 +50,7 @@ setup( name='sip', version=version, @@ -24,20 +24,20 @@ Index: sip-6.7.9/setup.py install_requires=['packaging', 'ply', 'setuptools', 'tomli;python_version<"3.11"'], packages=find_packages(), -Index: sip-6.7.9/sipbuild/py_versions.py +Index: sip-6.7.12/sipbuild/py_versions.py =================================================================== ---- sip-6.7.9.orig/sipbuild/py_versions.py -+++ sip-6.7.9/sipbuild/py_versions.py +--- sip-6.7.12.orig/sipbuild/py_versions.py ++++ sip-6.7.12/sipbuild/py_versions.py @@ -22,4 +22,4 @@ # The oldest supported minor version of Python v3. -OLDEST_SUPPORTED_MINOR = 7 +OLDEST_SUPPORTED_MINOR = 6 -Index: sip-6.7.9/sipbuild/module/source/12/setup.py.in +Index: sip-6.7.12/sipbuild/module/source/12/setup.py.in =================================================================== ---- sip-6.7.9.orig/sipbuild/module/source/12/setup.py.in -+++ sip-6.7.9/sipbuild/module/source/12/setup.py.in +--- sip-6.7.12.orig/sipbuild/module/source/12/setup.py.in ++++ sip-6.7.12/sipbuild/module/source/12/setup.py.in @@ -40,6 +40,6 @@ setup( name='@SIP_MODULE_PROJECT_NAME@', version='@SIP_MODULE_VERSION@', @@ -46,10 +46,10 @@ Index: sip-6.7.9/sipbuild/module/source/12/setup.py.in + python_requires='>=3.6', ext_modules=[module] ) -Index: sip-6.7.9/sipbuild/module/source/12/sip.h.in +Index: sip-6.7.12/sipbuild/module/source/12/sip.h.in =================================================================== ---- sip-6.7.9.orig/sipbuild/module/source/12/sip.h.in -+++ sip-6.7.9/sipbuild/module/source/12/sip.h.in +--- sip-6.7.12.orig/sipbuild/module/source/12/sip.h.in ++++ sip-6.7.12/sipbuild/module/source/12/sip.h.in @@ -24,8 +24,8 @@ #include @@ -61,10 +61,10 @@ Index: sip-6.7.9/sipbuild/module/source/12/sip.h.in #endif -Index: sip-6.7.9/sipbuild/module/source/13/setup.py.in +Index: sip-6.7.12/sipbuild/module/source/13/setup.py.in =================================================================== ---- sip-6.7.9.orig/sipbuild/module/source/13/setup.py.in -+++ sip-6.7.9/sipbuild/module/source/13/setup.py.in +--- sip-6.7.12.orig/sipbuild/module/source/13/setup.py.in ++++ sip-6.7.12/sipbuild/module/source/13/setup.py.in @@ -40,6 +40,6 @@ setup( name='@SIP_MODULE_PROJECT_NAME@', version='@SIP_MODULE_VERSION@', @@ -73,10 +73,10 @@ Index: sip-6.7.9/sipbuild/module/source/13/setup.py.in + python_requires='>=3.6', ext_modules=[module] ) -Index: sip-6.7.9/sipbuild/module/source/13/sip.h.in +Index: sip-6.7.12/sipbuild/module/source/13/sip.h.in =================================================================== ---- sip-6.7.9.orig/sipbuild/module/source/13/sip.h.in -+++ sip-6.7.9/sipbuild/module/source/13/sip.h.in +--- sip-6.7.12.orig/sipbuild/module/source/13/sip.h.in ++++ sip-6.7.12/sipbuild/module/source/13/sip.h.in @@ -24,8 +24,8 @@ #include