[packages/python-PyQtWebEngine] - updated dependencies, package doc files, disable python3 here
qboosh
qboosh at pld-linux.org
Thu Jun 5 20:41:39 CEST 2025
commit c0cd4d3565f67003e6d0652df4c3053d50ea4fed
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 5 20:30:41 2025 +0200
- updated dependencies, package doc files, disable python3 here
python-PyQtWebEngine.spec | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/python-PyQtWebEngine.spec b/python-PyQtWebEngine.spec
index 36293b3..72771d8 100644
--- a/python-PyQtWebEngine.spec
+++ b/python-PyQtWebEngine.spec
@@ -1,36 +1,39 @@
+#
# Conditional build:
%bcond_without python2 # CPython 2.x modules
-%bcond_without python3 # CPython 3.x modules
+%bcond_with python3 # CPython 3.x modules (now built with sip6 from python3-PyQtWebEngine.spec)
%define module PyQtWebEngine
# minimal required sip version
%define sip_ver 2:4.19.14-1
-# last qt version covered by these bindings (minimal required is currently 5.0.0)
-# %define qt_ver %{version}
-%define qt_ver 5.12.0
+# last qt version covered by these bindings (minimal required is currently 5.4.0)
+# see sip/QtWebEngineCore/QtWebEngineCoremod.sip /%Timeline
+%define qt_ver 5.15.0
%define _enable_debug_packages 0
Summary: Python 2 bindings for the Qt5WebEngine module
Summary(pl.UTF-8): Wiązania Pythona 2 do modułu Qt5WebEngine
Name: python-%{module}
+# keep < 5.15.7 here for python2/sip4 support
Version: 5.15.5
Release: 4
License: GPL v3
Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/pyqtwebengine/
Source0: https://pypi.python.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-%{version}.tar.gz
# Source0-md5: 935e8948c6e2a4b41faa0734367ead43
Patch0: install.patch
-URL: http://www.riverbankcomputing.com/software/pyqtwebengine/
+URL: https://www.riverbankcomputing.com/software/pyqtwebengine/
BuildRequires: Qt5WebEngine-devel >= %{qt_ver}
BuildRequires: pkgconfig
%if %{with python2}
-BuildRequires: python-PyQt5
+BuildRequires: python-PyQt5 >= 5.15
BuildRequires: python-PyQt5-sip >= %{sip_ver}
BuildRequires: python-sip-devel >= %{sip_ver}
%endif
%if %{with python3}
-BuildRequires: python3-PyQt5
+BuildRequires: python3-PyQt5 >= 5.15
BuildRequires: python3-PyQt5-sip >= %{sip_ver}
BuildRequires: python3-sip-devel >= %{sip_ver}
%endif
@@ -38,7 +41,7 @@ BuildRequires: qt5-build >= %{qt_ver}
BuildRequires: qt5-qmake >= %{qt_ver}
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
-BuildRequires: sip-PyQt5 >= 5.12
+BuildRequires: sip-PyQt5 >= 5.15
Requires: python-libs
Requires: python-PyQt5-sip >= %{sip_ver}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -69,6 +72,7 @@ Summary: SIP files needed to build bindings for Qt5WebEngine
Summary(pl.UTF-8): Pliki SIP potrzebne do budowania wiązań do Qt5WebEngine
Group: Development/Languages/Python
Requires: sip >= %{sip_ver}
+Requires: sip-PyQt5 >= 5.15
%description -n sip-PyQtWebEngine
SIP files needed to build bindings for Qt5WebEngine.
@@ -146,6 +150,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%files
%defattr(644,root,root,755)
+%doc ChangeLog NEWS README
%attr(755,root,root) %{py_sitedir}/PyQt5/QtWebEngine.so
%attr(755,root,root) %{py_sitedir}/PyQt5/QtWebEngineCore.so
%attr(755,root,root) %{py_sitedir}/PyQt5/QtWebEngineWidgets.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-PyQtWebEngine.git/commitdiff/c0cd4d3565f67003e6d0652df4c3053d50ea4fed
More information about the pld-cvs-commit
mailing list