- 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 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-qt5-sip?expand=0&rev=14
This commit is contained in:
parent
2de4cfce86
commit
f74a2a1694
39
fix-license-in-setup_py.patch
Normal file
39
fix-license-in-setup_py.patch
Normal file
@ -0,0 +1,39 @@
|
||||
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
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -25,6 +25,7 @@ Summary: The sip module support for PyQt5
|
||||
URL: https://github.com/Python-SIP/sip
|
||||
Group: Development/Languages/Python
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyQt5-sip/pyqt5_sip-%{version}.tar.gz
|
||||
Patch0: fix-license-in-setup_py.patch
|
||||
# PATCH-FIX-OPENSUSE Set minimum python version to 3.6 to support Leap distribution
|
||||
Patch100: support-python3.6.patch
|
||||
BuildRequires: %{python_module devel >= 3.6}
|
||||
|
@ -28,7 +28,7 @@ diff -ur pyqt5_sip-12.16.1/setup.py pyqt5_sip-12.16.1_fix/setup.py
|
||||
@@ -18,6 +18,6 @@
|
||||
name='PyQt5_sip',
|
||||
version='12.16.1',
|
||||
license='SIP',
|
||||
license='BSD-2-Clause',
|
||||
- python_requires='>=3.9',
|
||||
+ python_requires='>=3.6',
|
||||
ext_modules=[module]
|
||||
|
Loading…
x
Reference in New Issue
Block a user