Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
1e036a7d26 |
BIN
PyQt5_sip-12.13.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
PyQt5_sip-12.13.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
18
fix-build-gcc14.patch
Normal file
18
fix-build-gcc14.patch
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
From: Phil Thompson <phil@riverbankcomputing.com>
|
||||||
|
Date: Mon, 4 Dec 2023 11:54:31 +0000
|
||||||
|
Subject: [PATCH] Removed a warning message (soon to be an error message) in
|
||||||
|
the v12 module.
|
||||||
|
|
||||||
|
Index: PyQt5_sip-12.13.0/siplib.c
|
||||||
|
===================================================================
|
||||||
|
--- PyQt5_sip-12.13.0.orig/siplib.c
|
||||||
|
+++ PyQt5_sip-12.13.0/siplib.c
|
||||||
|
@@ -3902,7 +3902,7 @@ static int parsePass1(PyObject **parseEr
|
||||||
|
{
|
||||||
|
case '#':
|
||||||
|
/* A ctor has an argument with the /Transfer/ annotation. */
|
||||||
|
- *selfp = va_arg(va, PyObject *);
|
||||||
|
+ *selfp = (sipSimpleWrapper *)va_arg(va, PyObject *);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'B':
|
@@ -1,39 +0,0 @@
|
|||||||
Index: pyqt5_sip-12.16.1/PKG-INFO
|
|
||||||
===================================================================
|
|
||||||
--- pyqt5_sip-12.16.1.orig/PKG-INFO
|
|
||||||
+++ pyqt5_sip-12.16.1/PKG-INFO
|
|
||||||
@@ -5,7 +5,7 @@ Summary: The sip module support for PyQt
|
|
||||||
Home-page: https://github.com/Python-SIP/sip
|
|
||||||
Author: Phil Thompson
|
|
||||||
Author-email: phil@riverbankcomputing.com
|
|
||||||
-License: SIP
|
|
||||||
+License: BSD-2-Clause
|
|
||||||
Platform: X11
|
|
||||||
Platform: macOS
|
|
||||||
Platform: Windows
|
|
||||||
Index: pyqt5_sip-12.16.1/setup.py
|
|
||||||
===================================================================
|
|
||||||
--- pyqt5_sip-12.16.1.orig/setup.py
|
|
||||||
+++ pyqt5_sip-12.16.1/setup.py
|
|
||||||
@@ -17,7 +17,7 @@ module = Extension('PyQt5.sip', module_s
|
|
||||||
setup(
|
|
||||||
name='PyQt5_sip',
|
|
||||||
version='12.16.1',
|
|
||||||
- license='SIP',
|
|
||||||
+ license='BSD-2-Clause',
|
|
||||||
python_requires='>=3.9',
|
|
||||||
ext_modules=[module]
|
|
||||||
)
|
|
||||||
Index: pyqt5_sip-12.16.1/PyQt5_sip.egg-info/PKG-INFO
|
|
||||||
===================================================================
|
|
||||||
--- pyqt5_sip-12.16.1.orig/PyQt5_sip.egg-info/PKG-INFO
|
|
||||||
+++ pyqt5_sip-12.16.1/PyQt5_sip.egg-info/PKG-INFO
|
|
||||||
@@ -5,7 +5,7 @@ Summary: The sip module support for PyQt
|
|
||||||
Home-page: https://github.com/Python-SIP/sip
|
|
||||||
Author: Phil Thompson
|
|
||||||
Author-email: phil@riverbankcomputing.com
|
|
||||||
-License: SIP
|
|
||||||
+License: BSD-2-Clause
|
|
||||||
Platform: X11
|
|
||||||
Platform: macOS
|
|
||||||
Platform: Windows
|
|
BIN
pyqt5_sip-12.16.1.tar.gz
(Stored with Git LFS)
BIN
pyqt5_sip-12.16.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,24 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 22 08:47:55 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
|
|
||||||
|
|
||||||
- Add patch to fix license in setup.py and PKG-INFO files. I
|
|
||||||
contacted upstream (Phil Thompson) and he confirmed that
|
|
||||||
pyqt6-sip is now licensed just as BSD-2-Clause and setup.py needs
|
|
||||||
fixing. Considering the sources of pyqt6-sip and pyqt5-sip had
|
|
||||||
the same license related changes, I added the following patch
|
|
||||||
to fix this here too:
|
|
||||||
* fix-license-in-setup_py.patch
|
|
||||||
- Rebase patch:
|
|
||||||
* support-python3.6.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jan 21 10:53:06 UTC 2025 - Dirk Stoecker <opensuse@dstoecker.de>
|
|
||||||
|
|
||||||
- update to 12.16.1
|
|
||||||
No changelog provided
|
|
||||||
* fix-build-gcc14.patch (fixed upstream)
|
|
||||||
* refresh support-python3.6.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 7 07:49:00 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
Thu Mar 7 07:49:00 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
@@ -18,15 +18,14 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-qt5-sip
|
Name: python-qt5-sip
|
||||||
Version: 12.16.1
|
Version: 12.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: BSD-2-Clause
|
License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
|
||||||
Summary: The sip module support for PyQt5
|
Summary: The sip module support for PyQt5
|
||||||
URL: https://github.com/Python-SIP/sip
|
URL: https://www.riverbankcomputing.com/software/sip/
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source0: https://files.pythonhosted.org/packages/source/P/PyQt5-sip/pyqt5_sip-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/P/PyQt5-sip/PyQt5_sip-%{version}.tar.gz
|
||||||
Patch0: fix-license-in-setup_py.patch
|
Patch0: fix-build-gcc14.patch
|
||||||
# PATCH-FIX-OPENSUSE Set minimum python version to 3.6 to support Leap distribution
|
|
||||||
Patch100: support-python3.6.patch
|
Patch100: support-python3.6.patch
|
||||||
BuildRequires: %{python_module devel >= 3.6}
|
BuildRequires: %{python_module devel >= 3.6}
|
||||||
BuildRequires: %{python_module setuptools >= 30.3}
|
BuildRequires: %{python_module setuptools >= 30.3}
|
||||||
@@ -46,7 +45,7 @@ bindings for any C or C++ library. For example, it is also used to
|
|||||||
create wxPython, the Python bindings for the wxWidget toolkit.
|
create wxPython, the Python bindings for the wxWidget toolkit.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pyqt5_sip-%{version}
|
%autosetup -p1 -n PyQt5_sip-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -56,7 +55,7 @@ create wxPython, the Python bindings for the wxWidget toolkit.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE LICENSE-GPL2 LICENSE-GPL3
|
||||||
%dir %{python_sitearch}/PyQt5
|
%dir %{python_sitearch}/PyQt5
|
||||||
%{python_sitearch}/PyQt5/sip*
|
%{python_sitearch}/PyQt5/sip*
|
||||||
%{python_sitearch}/PyQt5_sip-%{version}*info
|
%{python_sitearch}/PyQt5_sip-%{version}*info
|
||||||
|
@@ -1,56 +1,35 @@
|
|||||||
diff -ur pyqt5_sip-12.16.1/PKG-INFO pyqt5_sip-12.16.1_fix/PKG-INFO
|
Index: PyQt5_sip-12.13.0/setup.py
|
||||||
--- pyqt5_sip-12.16.1/PKG-INFO 2024-12-12 11:01:36.048525000 +0100
|
===================================================================
|
||||||
+++ pyqt5_sip-12.16.1_fix/PKG-INFO 2025-01-21 12:59:58.918060996 +0100
|
--- PyQt5_sip-12.13.0.orig/setup.py
|
||||||
@@ -9,7 +9,7 @@
|
+++ PyQt5_sip-12.13.0/setup.py
|
||||||
Platform: X11
|
@@ -40,6 +40,6 @@ setup(
|
||||||
Platform: macOS
|
|
||||||
Platform: Windows
|
|
||||||
-Requires-Python: >=3.9
|
|
||||||
+Requires-Python: >=3.6
|
|
||||||
License-File: LICENSE
|
|
||||||
|
|
||||||
sip Extension Module
|
|
||||||
diff -ur pyqt5_sip-12.16.1/PyQt5_sip.egg-info/PKG-INFO pyqt5_sip-12.16.1_fix/PyQt5_sip.egg-info/PKG-INFO
|
|
||||||
--- pyqt5_sip-12.16.1/PyQt5_sip.egg-info/PKG-INFO 2024-12-12 11:01:35.000000000 +0100
|
|
||||||
+++ pyqt5_sip-12.16.1_fix/PyQt5_sip.egg-info/PKG-INFO 2025-01-21 13:00:02.294780054 +0100
|
|
||||||
@@ -9,7 +9,7 @@
|
|
||||||
Platform: X11
|
|
||||||
Platform: macOS
|
|
||||||
Platform: Windows
|
|
||||||
-Requires-Python: >=3.9
|
|
||||||
+Requires-Python: >=3.6
|
|
||||||
License-File: LICENSE
|
|
||||||
|
|
||||||
sip Extension Module
|
|
||||||
diff -ur pyqt5_sip-12.16.1/setup.py pyqt5_sip-12.16.1_fix/setup.py
|
|
||||||
--- pyqt5_sip-12.16.1/setup.py 2024-12-12 11:01:35.000000000 +0100
|
|
||||||
+++ pyqt5_sip-12.16.1_fix/setup.py 2025-01-21 13:01:46.169725120 +0100
|
|
||||||
@@ -18,6 +18,6 @@
|
|
||||||
name='PyQt5_sip',
|
name='PyQt5_sip',
|
||||||
version='12.16.1',
|
version='12.13.0',
|
||||||
license='BSD-2-Clause',
|
license='SIP',
|
||||||
- python_requires='>=3.9',
|
- python_requires='>=3.7',
|
||||||
+ python_requires='>=3.6',
|
+ python_requires='>=3.6',
|
||||||
ext_modules=[module]
|
ext_modules=[module]
|
||||||
)
|
)
|
||||||
diff -ur pyqt5_sip-12.16.1/sip.h pyqt5_sip-12.16.1_fix/sip.h
|
Index: PyQt5_sip-12.13.0/sip.h
|
||||||
--- pyqt5_sip-12.16.1/sip.h 2024-12-12 11:01:35.000000000 +0100
|
===================================================================
|
||||||
+++ pyqt5_sip-12.16.1_fix/sip.h 2025-01-21 13:01:46.169725120 +0100
|
--- PyQt5_sip-12.13.0.orig/sip.h
|
||||||
@@ -14,8 +14,8 @@
|
+++ PyQt5_sip-12.13.0/sip.h
|
||||||
|
@@ -24,8 +24,8 @@
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
/* Sanity check on the Python version. */
|
/* Sanity check on the Python version. */
|
||||||
-#if PY_VERSION_HEX < 0x03090000
|
-#if PY_VERSION_HEX < 0x03070000
|
||||||
-#error "This version of PyQt5.sip requires Python v3.9 or later"
|
-#error "This version of PyQt5.sip requires Python v3.7 or later"
|
||||||
+#if PY_VERSION_HEX < 0x03060000
|
+#if PY_VERSION_HEX < 0x03060000
|
||||||
+#error "This version of PyQt5.sip requires Python v3.6 or later"
|
+#error "This version of PyQt5.sip requires Python v3.6 or later"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
diff -ur pyqt5_sip-12.16.1/siplib.c pyqt5_sip-12.16.1_fix/siplib.c
|
Index: PyQt5_sip-12.13.0/siplib.c
|
||||||
--- pyqt5_sip-12.16.1/siplib.c 2024-12-12 11:01:35.000000000 +0100
|
===================================================================
|
||||||
+++ pyqt5_sip-12.16.1_fix/siplib.c 2025-01-21 13:01:46.173058506 +0100
|
--- PyQt5_sip-12.13.0.orig/siplib.c
|
||||||
@@ -1027,6 +1027,10 @@
|
+++ PyQt5_sip-12.13.0/siplib.c
|
||||||
|
@@ -1046,6 +1046,10 @@ const sipAPIDef *sip_init_library(PyObje
|
||||||
PyObject *obj;
|
PyObject *obj;
|
||||||
PyMethodDef *md;
|
PyMethodDef *md;
|
||||||
|
|
||||||
@@ -61,7 +40,7 @@ diff -ur pyqt5_sip-12.16.1/siplib.c pyqt5_sip-12.16.1_fix/siplib.c
|
|||||||
/* Add the SIP version number. */
|
/* Add the SIP version number. */
|
||||||
obj = PyLong_FromLong(SIP_VERSION);
|
obj = PyLong_FromLong(SIP_VERSION);
|
||||||
|
|
||||||
@@ -13335,12 +13339,16 @@
|
@@ -13331,12 +13335,16 @@ int sip_api_convert_from_slice_object(Py
|
||||||
Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step,
|
Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step,
|
||||||
Py_ssize_t *slicelength)
|
Py_ssize_t *slicelength)
|
||||||
{
|
{
|
||||||
@@ -78,3 +57,29 @@ diff -ur pyqt5_sip-12.16.1/siplib.c pyqt5_sip-12.16.1_fix/siplib.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Index: PyQt5_sip-12.13.0/PKG-INFO
|
||||||
|
===================================================================
|
||||||
|
--- PyQt5_sip-12.13.0.orig/PKG-INFO
|
||||||
|
+++ PyQt5_sip-12.13.0/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
|
||||||
|
Index: PyQt5_sip-12.13.0/PyQt5_sip.egg-info/PKG-INFO
|
||||||
|
===================================================================
|
||||||
|
--- PyQt5_sip-12.13.0.orig/PyQt5_sip.egg-info/PKG-INFO
|
||||||
|
+++ PyQt5_sip-12.13.0/PyQt5_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
|
||||||
|
Reference in New Issue
Block a user