diff --git a/python-sip6.changes b/python-sip6.changes index 4ccc2c6..d5c5330 100644 --- a/python-sip6.changes +++ b/python-sip6.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Apr 24 19:40:46 UTC 2023 - Ben Greiner + +- Update to 6.7.9 + * The latest version of ABI v13 is v13.5.1. + * The latest version of ABI v12 is v12.12.1. + * Bug fixes. +- Release v6.7.8 4th April 2023 + * The latest version of ABI v13 is v13.5.0. + * The latest version of ABI v12 is v12.12.0. + * The 'wheel-includes' value of the 'tool.sip.project' section of + pyproject.toml now supports the use of absolute file patterns. + * Replaced the use of the 'toml' package with the standard library 'tomllib' + package for Python v3.11 and later, and the 'tomli' package for earlier + versions of Python. + * Bug fixes. + ------------------------------------------------------------------- Fri Apr 21 12:34:07 UTC 2023 - Dirk Müller diff --git a/python-sip6.spec b/python-sip6.spec index f0b70c1..9319e70 100644 --- a/python-sip6.spec +++ b/python-sip6.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-sip6 -Version: 6.7.7 +Version: 6.7.9 Release: 0 Summary: A Python bindings generator for C/C++ libraries License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP @@ -30,7 +30,7 @@ BuildRequires: %{python_module devel >= 3.6} BuildRequires: %{python_module packaging} BuildRequires: %{python_module ply} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module tomli if %python-base < 3.11} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -55,7 +55,7 @@ Requires: python-dataclasses Requires: python-packaging Requires: python-ply Requires: python-setuptools -Requires: python-toml +Requires: (python-tomli if python-base < 3.11) Requires(post): update-alternatives Requires(postun):update-alternatives Conflicts: python-sip-impl diff --git a/sip-6.7.7.tar.gz b/sip-6.7.7.tar.gz deleted file mode 100644 index 2eb62b7..0000000 --- a/sip-6.7.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dee9c06fa8ae6d441a401f922867fc6196edda274eebd9fbfec54f0769c2a9e2 -size 1161807 diff --git a/sip-6.7.9.tar.gz b/sip-6.7.9.tar.gz new file mode 100644 index 0000000..0a56ec0 --- /dev/null +++ b/sip-6.7.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35d51fc10f599d3696abb50f29d068ad04763df7b77808c76b74597660f99b17 +size 1163252 diff --git a/support-python3.6.patch b/support-python3.6.patch index 0b305f4..ae2af3e 100644 --- a/support-python3.6.patch +++ b/support-python3.6.patch @@ -1,7 +1,7 @@ -Index: sip-6.7.5/PKG-INFO +Index: sip-6.7.9/PKG-INFO =================================================================== ---- sip-6.7.5.orig/PKG-INFO -+++ sip-6.7.5/PKG-INFO +--- sip-6.7.9.orig/PKG-INFO ++++ sip-6.7.9/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS @@ -11,33 +11,33 @@ Index: sip-6.7.5/PKG-INFO License-File: LICENSE License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 -Index: sip-6.7.5/setup.py +Index: sip-6.7.9/setup.py =================================================================== ---- sip-6.7.5.orig/setup.py -+++ sip-6.7.5/setup.py +--- sip-6.7.9.orig/setup.py ++++ sip-6.7.9/setup.py @@ -50,7 +50,7 @@ setup( name='sip', version=version, license='SIP', - python_requires='>=3.7', + python_requires='>=3.6', - install_requires=['packaging', 'ply', 'setuptools', 'toml'], + install_requires=['packaging', 'ply', 'setuptools', + 'tomli;python_version<"3.11"'], packages=find_packages(), - package_data={ -Index: sip-6.7.5/sipbuild/py_versions.py +Index: sip-6.7.9/sipbuild/py_versions.py =================================================================== ---- sip-6.7.5.orig/sipbuild/py_versions.py -+++ sip-6.7.5/sipbuild/py_versions.py +--- sip-6.7.9.orig/sipbuild/py_versions.py ++++ sip-6.7.9/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.5/sipbuild/module/source/12/setup.py.in +Index: sip-6.7.9/sipbuild/module/source/12/setup.py.in =================================================================== ---- sip-6.7.5.orig/sipbuild/module/source/12/setup.py.in -+++ sip-6.7.5/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 @@ -40,6 +40,6 @@ setup( name='@SIP_MODULE_PROJECT_NAME@', version='@SIP_MODULE_VERSION@', @@ -46,10 +46,10 @@ Index: sip-6.7.5/sipbuild/module/source/12/setup.py.in + python_requires='>=3.6', ext_modules=[module] ) -Index: sip-6.7.5/sipbuild/module/source/12/sip.h.in +Index: sip-6.7.9/sipbuild/module/source/12/sip.h.in =================================================================== ---- sip-6.7.5.orig/sipbuild/module/source/12/sip.h.in -+++ sip-6.7.5/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 @@ -24,8 +24,8 @@ #include @@ -61,10 +61,10 @@ Index: sip-6.7.5/sipbuild/module/source/12/sip.h.in #endif -Index: sip-6.7.5/sipbuild/module/source/13/setup.py.in +Index: sip-6.7.9/sipbuild/module/source/13/setup.py.in =================================================================== ---- sip-6.7.5.orig/sipbuild/module/source/13/setup.py.in -+++ sip-6.7.5/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 @@ -40,6 +40,6 @@ setup( name='@SIP_MODULE_PROJECT_NAME@', version='@SIP_MODULE_VERSION@', @@ -73,10 +73,10 @@ Index: sip-6.7.5/sipbuild/module/source/13/setup.py.in + python_requires='>=3.6', ext_modules=[module] ) -Index: sip-6.7.5/sipbuild/module/source/13/sip.h.in +Index: sip-6.7.9/sipbuild/module/source/13/sip.h.in =================================================================== ---- sip-6.7.5.orig/sipbuild/module/source/13/sip.h.in -+++ sip-6.7.5/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 @@ -24,8 +24,8 @@ #include