From d16e328f2c706606c4ed081bbb5a767f121aeedc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:39:19 +0100 Subject: [PATCH] update to 5.15.5 [release 5.15.5-1mamba;Tue Apr 12 2022] --- pyqtwebengine.spec | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/pyqtwebengine.spec b/pyqtwebengine.spec index 2de430a..b355db6 100644 --- a/pyqtwebengine.spec +++ b/pyqtwebengine.spec @@ -1,6 +1,5 @@ -%define with_pyver 3 Name: pyqtwebengine -Version: 5.15.2 +Version: 5.15.5 Release: 1mamba Summary: A set of Python bindings for The Qt Company’s Qt WebEngine framework Group: System/Libraries @@ -9,13 +8,17 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://www.riverbankcomputing.com/software/pyqtwebengine/intro Source: https://pypi.debian.net/PyQtWebEngine/PyQtWebEngine-%{version}.tar.gz -#Source: https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/%{version}/PyQtWebEngine_gpl-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(pyqt5) +BuildRequires: python3.7dist(pyqt5-sip) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel BuildRequires: libQt5WebEngine-devel >= %{version} -Requires: python >= %python_version +BuildRequires: PyQt5-py3 +BuildRequires: PyQt5-sip-py3 +BuildRequires: PyQt5-py310 +BuildRequires: PyQt5-sip-py310 %description %{summary}. @@ -37,23 +40,23 @@ This package contains the Sip interfaces for %{name}. %setup -q -n PyQtWebEngine-%{version} %build -CFLAGS="%{optflags}" %{__python} configure.py +sip-build-py%{with_pyver} \ + --no-make \ + --api-dir %{_datadir}/qt5/qsci/api/python +cd build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall INSTALL_ROOT=%{buildroot} +%makeinstall -C build INSTALL_ROOT=%{buildroot} %files %{?pyappend} %defattr(-,root,root) -%{python_sitearch}/PyQt5/QtWebEngine.pyi -%{python_sitearch}/PyQt5/QtWebEngine.so -%{python_sitearch}/PyQt5/QtWebEngineCore.pyi -%{python_sitearch}/PyQt5/QtWebEngineCore.so -%{python_sitearch}/PyQt5/QtWebEngineWidgets.pyi -%{python_sitearch}/PyQt5/QtWebEngineWidgets.so +%{python_sitearch}/PyQt5/QtWebEngine.abi3.so +%{python_sitearch}/PyQt5/QtWebEngineCore.abi3.so +%{python_sitearch}/PyQt5/QtWebEngineWidgets.abi3.so %dir %{python_sitearch}/PyQtWebEngine-%{version}.dist-info %{python_sitearch}/PyQtWebEngine-%{version}.dist-info/* @@ -61,14 +64,17 @@ CFLAGS="%{optflags}" %{__python} configure.py %defattr(-,root,root) %{_datadir}/qt5/qsci/api/python/PyQtWebEngine.api %dir %{python_sitearch}/PyQt5/bindings/QtWebEngine -%{python_sitearch}/PyQt5/bindings/QtWebEngine/*.sip +%{python_sitearch}/PyQt5/bindings/QtWebEngine/* %dir %{python_sitearch}/PyQt5/bindings/QtWebEngineCore -%{python_sitearch}/PyQt5/bindings/QtWebEngineCore/*.sip +%{python_sitearch}/PyQt5/bindings/QtWebEngineCore/* %dir %{python_sitearch}/PyQt5/bindings/QtWebEngineWidgets -%{python_sitearch}/PyQt5/bindings/QtWebEngineWidgets/*.sip +%{python_sitearch}/PyQt5/bindings/QtWebEngineWidgets/* %doc LICENSE %changelog +* Tue Apr 12 2022 Silvan Calarco 5.15.5-1mamba +- update to 5.15.5 + * Sun Mar 07 2021 Silvan Calarco 5.15.2-1mamba - update to 5.15.2