Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PyQt6-sip for openSUSE:Factory checked in at 2023-03-15 18:54:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyQt6-sip (Old) and /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyQt6-sip" Wed Mar 15 18:54:35 2023 rev:7 rq:1071860 version:13.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyQt6-sip/python-PyQt6-sip.changes 2023-02-10 14:34:27.537611701 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyQt6-sip.new.31432/python-PyQt6-sip.changes 2023-03-15 18:54:49.564485011 +0100 @@ -1,0 +2,7 @@ +Tue Mar 14 06:16:41 UTC 2023 - Antonio Larrosa <alarr...@suse.com> + +- Add patch to support Python 3.6 in order to build for + SLE/Leap 15: + * support-python3.6.patch + +------------------------------------------------------------------- New: ---- support-python3.6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyQt6-sip.spec ++++++ --- /var/tmp/diff_new_pack.LRtdmr/_old 2023-03-15 18:54:50.116487947 +0100 +++ /var/tmp/diff_new_pack.LRtdmr/_new 2023-03-15 18:54:50.120487968 +0100 @@ -23,7 +23,9 @@ License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP URL: https://www.riverbankcomputing.com/software/sip/ Source0: https://files.pythonhosted.org/packages/source/P/PyQt6-sip/PyQt6_sip-%{version}.tar.gz -BuildRequires: %{python_module devel >= 3.7} +# PATCH-FIX-SLE support-python3.6.patch alarr...@suse.com -- Let python-PyQt6-sip work with SLE's python3.6 +Patch0: support-python3.6.patch +BuildRequires: %{python_module devel >= 3.6} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -40,7 +42,7 @@ without a library to be wrapped. %prep -%setup -q -n PyQt6_sip-%{version} +%autosetup -p1 -n PyQt6_sip-%{version} %build export CFLAGS="%{optflags}" ++++++ support-python3.6.patch ++++++ Index: PyQt6_sip-13.4.1/PKG-INFO =================================================================== --- PyQt6_sip-13.4.1.orig/PKG-INFO +++ PyQt6_sip-13.4.1/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS Platform: Windows -Requires-Python: >=3.7 +Requires-Python: >=3.6 License-File: LICENSE License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 Index: PyQt6_sip-13.4.1/PyQt6_sip.egg-info/PKG-INFO =================================================================== --- PyQt6_sip-13.4.1.orig/PyQt6_sip.egg-info/PKG-INFO +++ PyQt6_sip-13.4.1/PyQt6_sip.egg-info/PKG-INFO @@ -9,7 +9,7 @@ License: SIP Platform: X11 Platform: macOS Platform: Windows -Requires-Python: >=3.7 +Requires-Python: >=3.6 License-File: LICENSE License-File: LICENSE-GPL3 License-File: LICENSE-GPL2 Index: PyQt6_sip-13.4.1/setup.py =================================================================== --- PyQt6_sip-13.4.1.orig/setup.py +++ PyQt6_sip-13.4.1/setup.py @@ -40,6 +40,6 @@ setup( name='PyQt6_sip', version='13.4.1', license='SIP', - python_requires='>=3.7', + python_requires='>=3.6', ext_modules=[module] ) Index: PyQt6_sip-13.4.1/sip.h =================================================================== --- PyQt6_sip-13.4.1.orig/sip.h +++ PyQt6_sip-13.4.1/sip.h @@ -24,8 +24,8 @@ #include <Python.h> /* Sanity check on the Python version. */ -#if PY_VERSION_HEX < 0x03070000 -#error "This version of PyQt6.sip requires Python v3.7 or later" +#if PY_VERSION_HEX < 0x03060000 +#error "This version of PyQt6.sip requires Python v3.6 or later" #endif