python-qt5-sip/fix-license-in-setup_py.patch
Benjamin Greiner f74a2a1694 - 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
2025-01-22 12:31:18 +00:00

40 lines
1.3 KiB
Diff

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