forked from pool/python-pyqt-builder
Accepting request 1058060 from home:alarrosa:branches:KDE:Qt:PyQt
- Add patch to support python 3.6 needed by SLE: * support-python3.6.patch OBS-URL: https://build.opensuse.org/request/show/1058060 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-pyqt-builder?expand=0&rev=8
This commit is contained in:
parent
2db2d2ab6e
commit
bcc074d2f4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 11:22:21 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Add patch to support python 3.6 needed by SLE:
|
||||
* support-python3.6.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 3 17:16:00 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -24,8 +24,9 @@ Summary: The PEP 517 compliant PyQt build system
|
||||
License: GPL-2.0-only OR GPL-3.0-only OR SUSE-SIP
|
||||
URL: https://www.riverbankcomputing.com/software/pyqt-builder
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyQt-builder/PyQt-builder-%{version}.tar.gz
|
||||
Patch0: support-python3.6.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-sip-devel >= 6.7
|
||||
@ -50,7 +51,7 @@ optional project.py script. Any PEP 517 compliant frontend, for example
|
||||
sip-install or pip can then be used to build and install the project.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyQt-builder-%{version}
|
||||
%autosetup -p1 -n PyQt-builder-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
39
support-python3.6.patch
Normal file
39
support-python3.6.patch
Normal file
@ -0,0 +1,39 @@
|
||||
Index: PyQt-builder-1.14.0/PKG-INFO
|
||||
===================================================================
|
||||
--- PyQt-builder-1.14.0.orig/PKG-INFO
|
||||
+++ PyQt-builder-1.14.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-GPL3
|
||||
License-File: LICENSE-GPL2
|
||||
Index: PyQt-builder-1.14.0/PyQt_builder.egg-info/PKG-INFO
|
||||
===================================================================
|
||||
--- PyQt-builder-1.14.0.orig/PyQt_builder.egg-info/PKG-INFO
|
||||
+++ PyQt-builder-1.14.0/PyQt_builder.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-GPL3
|
||||
License-File: LICENSE-GPL2
|
||||
Index: PyQt-builder-1.14.0/setup.py
|
||||
===================================================================
|
||||
--- PyQt-builder-1.14.0.orig/setup.py
|
||||
+++ PyQt-builder-1.14.0/setup.py
|
||||
@@ -48,7 +48,7 @@ setup(
|
||||
name='PyQt-builder',
|
||||
version=version,
|
||||
license='SIP',
|
||||
- python_requires='>=3.7',
|
||||
+ python_requires='>=3.6',
|
||||
install_requires=['packaging', 'sip >=6.7, <7'],
|
||||
packages=find_packages(),
|
||||
package_data={
|
Loading…
x
Reference in New Issue
Block a user