From 343484d89f5167f0ed47adabc30c3f73d7e1023f45d3d2a56849ff20327a40c9 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 5 Nov 2024 09:19:48 +0000 Subject: [PATCH] - Avoid using requires_eq, which after the last modifications conflicts with python singlespec (order of expansion). OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-qtwebengine-qt5?expand=0&rev=8 --- .gitattributes | 23 ++++++ .gitignore | 1 + PyQtWebEngine-5.15.6.tar.gz | 3 + python-qtwebengine-qt5.changes | 144 +++++++++++++++++++++++++++++++++ python-qtwebengine-qt5.spec | 93 +++++++++++++++++++++ 5 files changed, 264 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 PyQtWebEngine-5.15.6.tar.gz create mode 100644 python-qtwebengine-qt5.changes create mode 100644 python-qtwebengine-qt5.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/PyQtWebEngine-5.15.6.tar.gz b/PyQtWebEngine-5.15.6.tar.gz new file mode 100644 index 0000000..c79d532 --- /dev/null +++ b/PyQtWebEngine-5.15.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae241ef2a61c782939c58b52c2aea53ad99b30f3934c8358d5e0a6ebb3fd0721 +size 48871 diff --git a/python-qtwebengine-qt5.changes b/python-qtwebengine-qt5.changes new file mode 100644 index 0000000..1a2bab2 --- /dev/null +++ b/python-qtwebengine-qt5.changes @@ -0,0 +1,144 @@ +------------------------------------------------------------------- +Tue Nov 5 08:34:46 UTC 2024 - Dominique Leuenberger + +- Avoid using requires_eq, which after the last modifications + conflicts with python singlespec (order of expansion). + +------------------------------------------------------------------- +Wed Sep 11 14:30:34 UTC 2024 - Gustavo Pichorim Boiko + +- Disable building on all s390 and ppc platforms as Qt5WebEngine + itself is not built on those archs. + +------------------------------------------------------------------- +Thu Jan 25 20:02:03 UTC 2024 - Ben Greiner + +- Enable SLE15 python module +- Clean old python2 directives + +------------------------------------------------------------------- +Tue Jun 21 11:41:05 UTC 2022 - Ben Greiner + +- Update to version 5.15.6 + * A bug-fix release. + +------------------------------------------------------------------- +Tue Oct 19 09:01:20 UTC 2021 - Ben Greiner + +- Update to version 5.15.5 + * PyQtWebEngine.msp: Only enable QWebEngineClientCertificateStore + when SSL is enabled. + * PyQtWebEngine.msp: Removed the internal QtWebEngineCore + namespace. +- Merge sip and api subpackage into devel, update requirements + +------------------------------------------------------------------- +Mon Sep 13 15:58:34 UTC 2021 - Ben Greiner + +- Remove the Supplements for python-sip -- boo#1190441 + +------------------------------------------------------------------- +Fri Jun 18 21:42:21 UTC 2021 - Ben Greiner + +- Provide the PyPI name + +------------------------------------------------------------------- +Thu Mar 11 19:36:21 UTC 2021 - Ben Greiner + +- Update to version 5.15.4 + * Packaging bug fixes. +- Fixes problems with packages checking the package metadata like + boo#1183144 + +------------------------------------------------------------------- +Fri Feb 26 09:50:43 UTC 2021 - Ben Greiner + +- Update to 5.15.3 + * Sync release with PyQt5 +- Switch all distros to SIP v5+ +- Disable Python 2 build + +------------------------------------------------------------------- +Tue Nov 24 20:02:11 UTC 2020 - Benjamin Greiner + +- Update to Version 5.15.2 + * Build system changes + +------------------------------------------------------------------- +Tue Sep 15 17:29:26 UTC 2020 - Benjamin Greiner + +- Use sip5 where available + +------------------------------------------------------------------- +Mon Sep 14 15:57:05 UTC 2020 - Benjamin Greiner + +- Update to Version 5.15.1 + * A bug-fix release. +- drop update-timeline-patch again. Nobody uses nonexistent tags. + +------------------------------------------------------------------- +Tue Sep 1 17:09:44 UTC 2020 - Benjamin Greiner + +- Fix single line patch info for update-timeline.patch +- remove the skip python2 tumbleweed hack. Tumbleweed/Factory repos + take care of it by themselves +- Update might fix boo#1176023 + +------------------------------------------------------------------- +Sat Aug 29 08:04:01 UTC 2020 - Christophe Giboudeaux + +- Update update-timeline.patch + +------------------------------------------------------------------- +Thu Aug 27 19:44:00 UTC 2020 - Benjamin Greiner + +- Update to version 5.15.0 + * Added support for Qt v5.15.0. +- v5.14.0 added support for Qt v5.14.0 in December 2019 +- The source location has changed to PyPI + +------------------------------------------------------------------- +Fri Mar 13 12:46:38 UTC 2020 - Christophe Giboudeaux + +- Stop building the python2 package for openSUSE Tumbleweed. + +------------------------------------------------------------------- +Sat Dec 7 08:25:49 UTC 2019 - Christophe Giboudeaux + +- Update update-timeline.patch for Qt 5.14. + +------------------------------------------------------------------- +Wed Nov 13 15:21:27 UTC 2019 - Todd R + +- Update to 5.13.2 + * Added PYQT_WEBENGINE_VERSION and PYQT_WEBENGINE_VERSION_STR. + * Added support for SIP v5. + +------------------------------------------------------------------- +Fri Sep 20 11:44:26 UTC 2019 - Christophe Giboudeaux + +- Update to 5.13.1 + * Added the missing QWebEnginePage.Feature.Notifications enum member. + * Fix building against Qt v5.12 and earlier. + * Fixed building when Qt doesn't support QtWebChannel. + * Added support for sip v5. +- Add update-timeline.patch + +------------------------------------------------------------------- +Fri Jul 12 10:27:56 UTC 2019 - Christophe Giboudeaux + +- Update to 5.13.0 + * Bindings updated for QtWebEngine 5.13.0 + +------------------------------------------------------------------- +Wed Apr 10 15:26:54 UTC 2019 - Christophe Giboudeaux + +- Update to 5.12.1 + * Fixed the configure.py options that relate to stub files. +- Run spec-cleaner + +------------------------------------------------------------------- +Thu Feb 21 18:54:50 UTC 2019 - Todd R + +- Initial version (5.12) + diff --git a/python-qtwebengine-qt5.spec b/python-qtwebengine-qt5.spec new file mode 100644 index 0000000..b1b1231 --- /dev/null +++ b/python-qtwebengine-qt5.spec @@ -0,0 +1,93 @@ +# +# spec file for package python-qtwebengine-qt5 +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define oldpython python +%define mname qtwebengine-qt5 +%{?sle15_python_module_pythons} +Name: python-%{mname} +Version: 5.15.6 +Release: 0 +Summary: Python bindings for the Qt5 WebEngine framework +License: GPL-3.0-only +Group: Development/Libraries/C and C++ +URL: https://www.riverbankcomputing.com/software/pyqtwebengine/intro +Source: https://files.pythonhosted.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pyqt-builder >= 1.9} +BuildRequires: %{python_module qt5-devel >= 5.15.4} +BuildRequires: %{python_module sip-devel >= 5.3} +BuildRequires: python-pyqt-rpm-macros +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(Qt5WebEngine) +Requires: python-qt5 >= %(rpm -q --whatprovides python3-qt5 --qf "%%{version}") +Requires: python-qt5-sip +Provides: python-PyQtWebEngine = %{version}-%{release} +# http://www.chromium.org/blink is not ported to PowerPC & s390, so Qt5WebEngine itself doesn't build on those archs +ExcludeArch: ppc ppc64 ppc64le s390 s390x + +%python_subpackages + +%description +PyQtWebEngine is a set of Python bindings for the Qt5 WebEngine +framework. The framework provides the ability to embed web +content in applications. + +%package devel +Summary: Development files for %{name} +Provides: %{oldpython}-%{mname}-sip = %{version}-%{release} +Obsoletes: %{oldpython}-%{mname}-sip < %{version}-%{release} +Provides: python-%{mname}-sip = %{version}-%{release} +Obsoletes: python-%{mname}-sip < %{version}-%{release} +Provides: python-%{mname}-api = %{version}-%{release} +Obsoletes: python-%{mname}-api < %{version}-%{release} +Requires: python-qt5-devel +Requires: %{oldpython}(abi) = %{python_version} +Supplements: (eric and python-%{mname}) +Supplements: (python-qt5-devel and python-%{mname}) + +%description devel +This package provides the framework API files for the Eric IDE. +and the SIP files used to generate the Python bindings for %{name} + +%prep +%autosetup -p1 -n PyQtWebEngine-%{version} + +%build +%pyqt_build + +%install +%pyqt_install + +%files %{python_files} +%license LICENSE +%doc NEWS README +%dir %{python_sitearch}/PyQt5/ +%{python_sitearch}/PyQt5/QtWebEngine.* +%{python_sitearch}/PyQt5/QtWebEngineCore.* +%{python_sitearch}/PyQt5/QtWebEngineWidgets.* +%{python_sitearch}/PyQtWebEngine-%{version}.dist-info/ + +%files %{python_files devel} +%license LICENSE +%dir %{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/ +%{_datadir}/qt5/qsci/api/python_%{python_bin_suffix}/PyQtWebEngine.api +%{pyqt5_sipdir}/QtWebEngine/ +%{pyqt5_sipdir}/QtWebEngineCore/ +%{pyqt5_sipdir}/QtWebEngineWidgets/ + +%changelog