commit 0d89f2432972ce196af86c35d312e4ab00aba088a4d43a1a99909fbcfb482b55 Author: Adrian Schröter Date: Fri May 3 19:54:56 2024 +0200 Sync from SUSE:SLFO:Main python-PyQt6-sip revision f3c12f41ab23062d86e5be8ce4f5889f diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/PyQt6_sip-13.6.0.tar.gz b/PyQt6_sip-13.6.0.tar.gz new file mode 100644 index 0000000..c778722 --- /dev/null +++ b/PyQt6_sip-13.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2486e1588071943d4f6657ba09096dc9fffd2322ad2c30041e78ea3f037b5778 +size 111576 diff --git a/python-PyQt6-sip.changes b/python-PyQt6-sip.changes new file mode 100644 index 0000000..b92a246 --- /dev/null +++ b/python-PyQt6-sip.changes @@ -0,0 +1,71 @@ +------------------------------------------------------------------- +Wed Oct 18 05:13:44 UTC 2023 - llyyr + +- Update to ABI version 13.6.0 + * Properly fix the Python v3.12 support by deprecating + sipPyTypeDict() and adding sipPyTypeDictRef(). + +------------------------------------------------------------------- +Wed Sep 27 09:07:58 UTC 2023 - Ben Greiner + +- Update to ABI version 13.5.2 + * Match python-sip6-devel 6.7.10+ + +------------------------------------------------------------------- +Sat Jun 10 10:50:41 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Mon Apr 24 19:44:27 UTC 2023 - Ben Greiner + +- Update to 13.5.1 + * Fixed the new handling of ctors with /Transfer/ annotated + arguments. + +------------------------------------------------------------------- +Tue Mar 14 06:16:41 UTC 2023 - Antonio Larrosa + +- Add patch to support Python 3.6 in order to build for + SLE/Leap 15: + * support-python3.6.patch + +------------------------------------------------------------------- +Sun Jan 29 19:42:14 UTC 2023 - Ben Greiner + +- Upate to ABI version 13.4.1 + * am_send, wt_reserve + +------------------------------------------------------------------- +Mon Jun 20 21:27:09 UTC 2022 - Ben Greiner + +- Update to ABI version 13.4.0 + * The array type is now accessible from the sip module. + +------------------------------------------------------------------- +Wed Apr 13 08:31:18 UTC 2022 - Ben Greiner + +- Update to ABI version 13.3.1 +- Support for Python 3.6 has been dropped + +------------------------------------------------------------------- +Sat Feb 5 20:29:12 UTC 2022 - Ben Greiner + +- Update to ABI version 13.2.1 + * fix in objmap + +------------------------------------------------------------------- +Fri Dec 3 14:33:46 UTC 2021 - Ben Greiner + +- Update to ABI version 13.2.0 + * no release notes other than those from SIP 6.5.0 + +------------------------------------------------------------------- +Thu May 13 20:58:11 UTC 2021 - Ben Greiner + +- Update to version 13.1.0 + +------------------------------------------------------------------- +Fri Feb 19 20:09:56 UTC 2021 - Ben Greiner + +- Initial specfile for version 13.0.1 diff --git a/python-PyQt6-sip.spec b/python-PyQt6-sip.spec new file mode 100644 index 0000000..b4f03f2 --- /dev/null +++ b/python-PyQt6-sip.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-PyQt6-sip +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-PyQt6-sip +Version: 13.6.0 +Release: 0 +Summary: The sip module support for PyQt6 +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 +# PATCH-FIX-SLE support-python3.6.patch alarrosa@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 +%python_subpackages + +%description +The sip extension module provides support for the PyQt6 package. + +SIP is a tool for automatically generating Python bindings for +C and C++ libraries. SIP was originally developed in 1998 for +PyQt - the Python bindings for the Qt GUI toolkit - but is +suitable for generating bindings for any C or C++ library. SIP +can also be used write self contained extension modules, i.e. +without a library to be wrapped. + +%prep +%autosetup -p1 -n PyQt6_sip-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%files %{python_files} +%license LICENSE LICENSE-GPL2 LICENSE-GPL3 +%dir %{python_sitearch}/PyQt6 +%{python_sitearch}/PyQt6/sip* +%{python_sitearch}/PyQt6_sip-%{version}*info + +%changelog diff --git a/support-python3.6.patch b/support-python3.6.patch new file mode 100644 index 0000000..e886287 --- /dev/null +++ b/support-python3.6.patch @@ -0,0 +1,53 @@ +diff --git a/PKG-INFO b/PKG-INFO +index a623a2d..d4ef17b 100644 +--- a/PKG-INFO ++++ b/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-GPL2 + License-File: LICENSE-GPL3 +diff --git a/PyQt6_sip.egg-info/PKG-INFO b/PyQt6_sip.egg-info/PKG-INFO +index b0e3b68..6c98da4 100644 +--- a/PyQt6_sip.egg-info/PKG-INFO ++++ b/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-GPL2 + License-File: LICENSE-GPL3 +diff --git a/setup.py b/setup.py +index 13bfdb0..f09e4df 100644 +--- a/setup.py ++++ b/setup.py +@@ -40,6 +40,6 @@ setup( + name='PyQt6_sip', + version='13.6.0', + license='SIP', +- python_requires='>=3.7', ++ python_requires='>=3.6', + ext_modules=[module] + ) +diff --git a/sip.h b/sip.h +index 89830b8..af9e3fb 100644 +--- a/sip.h ++++ b/sip.h +@@ -24,8 +24,8 @@ + #include + + /* 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 + +