From 0eea0773f17e8c04a410887c417ec4283ca4cb43 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:53:10 +0100 Subject: [PATCH] package created using the webbuild interface [release 6.3.1-1mamba;Sun Aug 07 2022] --- PyQt6-WebEngine.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 64 insertions(+) create mode 100644 PyQt6-WebEngine.spec diff --git a/PyQt6-WebEngine.spec b/PyQt6-WebEngine.spec new file mode 100644 index 0000000..dee6c0a --- /dev/null +++ b/PyQt6-WebEngine.spec @@ -0,0 +1,62 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) +Name: PyQt6-WebEngine +Version: 6.3.1 +Release: 1mamba +Summary: Python bindings for the WebEngine module of the Qt6 cross platform GUI toolkit +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.riverbankcomputing.com/software/pyqtwebengine/ +Source: https://pypi.debian.net/PyQt6-WebEngine/PyQt6_WebEngine-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython310-devel +BuildRequires: python3.10dist(pyqt6) +BuildRequires: python3.10dist(pyqt6-sip) +## AUTOBUILDREQ-END +BuildRequires: python-sip-py310 + +%description +%{summary}. + +%if 0%{?with_pyver} +%pyver_package +%endif + +%prep +%setup -q -n PyQt6_WebEngine-%{version} -D -T + +%build +:<< _EOF +sip-build-py%{with_pyver} \ + --no-make \ + --api-dir %{_datadir}/qt6/qsci/api/python \ + --qmake=%{_bindir}/qmake-qt6 + +cd build +# Workaround for qwebchannel.h: No such file or directory +make CXX="g++ -I/usr/include/qt6/QtWebChannel" + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build INSTALL_ROOT=%{buildroot} + +%files %{?pyappend} +%defattr(-,root,root) +%dir %{python_sitearch}/PyQt6 +%{python_sitearch}/PyQt6/QtWebEngine*.so +%dir %{python_sitearch}/PyQt6/bindings/QtWebEngineCore +%{python_sitearch}/PyQt6/bindings/QtWebEngineCore/* +%dir %{python_sitearch}/PyQt6/bindings/QtWebEngineQuick +%{python_sitearch}/PyQt6/bindings/QtWebEngineQuick/* +%dir %{python_sitearch}/PyQt6/bindings/QtWebEngineWidgets +%{python_sitearch}/PyQt6/bindings/QtWebEngineWidgets/* +%dir %{python_sitearch}/PyQt6_WebEngine-%{version}.dist-info +%{python_sitearch}/PyQt6_WebEngine-%{version}.dist-info/* +%{_datadir}/qt6/qsci/api/python/PyQt6-WebEngine.api +%doc LICENSE + +%changelog +* Sun Aug 07 2022 Silvan Calarco 6.3.1-1mamba +- package created using the webbuild interface diff --git a/README.md b/README.md index 6e42c31..61584db 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # PyQt6-WebEngine +Python bindings for the WebEngine module of the Qt6 cross platform GUI toolkit. +