Sync from SUSE:ALP:Source:Standard:1.0 python-PyQt6-sip revision f3c12f41ab23062d86e5be8ce4f5889f

This commit is contained in:
Adrian Schröter 2023-12-19 15:16:47 +01:00
commit 39bc473a9f
5 changed files with 212 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
PyQt6_sip-13.6.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

71
python-PyQt6-sip.changes Normal file
View File

@ -0,0 +1,71 @@
-------------------------------------------------------------------
Wed Oct 18 05:13:44 UTC 2023 - llyyr <llyyr.public@gmail.com>
- 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 <code@bnavigator.de>
- Update to ABI version 13.5.2
* Match python-sip6-devel 6.7.10+
-------------------------------------------------------------------
Sat Jun 10 10:50:41 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon Apr 24 19:44:27 UTC 2023 - Ben Greiner <code@bnavigator.de>
- 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 <alarrosa@suse.com>
- 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 <code@bnavigator.de>
- Upate to ABI version 13.4.1
* am_send, wt_reserve
-------------------------------------------------------------------
Mon Jun 20 21:27:09 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>
- 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 <code@bnavigator.de>
- Update to ABI version 13.2.1
* fix in objmap
-------------------------------------------------------------------
Fri Dec 3 14:33:46 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>
- Update to version 13.1.0
-------------------------------------------------------------------
Fri Feb 19 20:09:56 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Initial specfile for version 13.0.1

62
python-PyQt6-sip.spec Normal file
View File

@ -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

53
support-python3.6.patch Normal file
View File

@ -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 <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