Hello community, here is the log from the commit of package python-qt5 for openSUSE:Factory checked in at 2017-09-08 20:43:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-qt5 (Old) and /work/SRC/openSUSE:Factory/.python-qt5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qt5" Fri Sep 8 20:43:40 2017 rev:23 rq:520454 version:5.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-qt5/python-qt5.changes 2017-06-13 16:05:55.389129090 +0200 +++ /work/SRC/openSUSE:Factory/.python-qt5.new/python-qt5.changes 2017-09-08 20:43:41.072749335 +0200 @@ -1,0 +2,24 @@ +Fri Sep 1 15:59:06 UTC 2017 - m...@suse.com + +- Disable WebKit and WebEngine on SLE15. + +------------------------------------------------------------------- +Tue Aug 29 12:07:25 UTC 2017 - toddrme2...@gmail.com + +- Fix shebangs + +------------------------------------------------------------------- +Mon Aug 28 21:04:21 UTC 2017 - toddrme2...@gmail.com + +- Update to 5.9 + * Added support for Qt v5.9.0 and v5.9.1. + * Improved detection of the destruction of QObject-based instances by C++. + * QFlags instances are now hashable. + * pyrcc5 now supports v2 of the resource file format. + * Added the interview.py, frozencolumn.py and storageview.py examples from + Hans-Peter Jansen. + * SIP v4.19.3 is required. +- Remove reproducible.patch + Implemented upstream. + +------------------------------------------------------------------- Old: ---- PyQt5_gpl-5.8.2.tar.gz reproducible.patch New: ---- PyQt5_gpl-5.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-qt5.spec ++++++ --- /var/tmp/diff_new_pack.tPJ0ah/_old 2017-09-08 20:43:41.680663862 +0200 +++ /var/tmp/diff_new_pack.tPJ0ah/_new 2017-09-08 20:43:41.684663300 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-qt5 -Version: 5.8.2 +Version: 5.9 Release: 0 Summary: PyQt - python bindings for Qt 5 License: SUSE-GPL-2.0-with-FLOSS-exception or GPL-3.0 or SUSE-NonFree @@ -26,13 +26,8 @@ Url: http://www.riverbankcomputing.com/software/pyqt/intro Source: PyQt5_gpl-%{version}.tar.gz Source99: %{name}-rpmlintrc -# PATCH-FIX-OPENSUSE: Disable RPATH +# PATCH-FIX-OPENSUSE - disable-rpaths.diff - Disable RPATH when building PyQt5. Patch1: disable-rpaths.diff -# PATCH-FIX-UPSTREAM -- TODO -Patch2: reproducible.patch -BuildRequires: dbus-1-devel -BuildRequires: gdb -BuildRequires: libqt5-qtbase-devel BuildRequires: pkgconfig(Qt5Bluetooth) BuildRequires: pkgconfig(Qt5Designer) BuildRequires: pkgconfig(Qt5Help) @@ -48,12 +43,13 @@ BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5WebChannel) +# Do not build WebKit support from SLE15 +%if 0%{?is_opensuse} || 0%{?suse_version} < 1500 BuildRequires: pkgconfig(Qt5WebKit) BuildRequires: pkgconfig(Qt5WebKitWidgets) -BuildRequires: pkgconfig(Qt5WebSockets) -BuildRequires: pkgconfig(Qt5X11Extras) -BuildRequires: pkgconfig(Qt5XmlPatterns) -%if 0%{?suse_version} >= 1320 +%endif +# Do not build WebEngine support from SLE15 +%if 0%{?is_opensuse} && 0%{?suse_version} >= 1320 %ifnarch ppc ppc64 ppc64le s390 s390x BuildRequires: pkgconfig(Qt5WebEngine) BuildRequires: pkgconfig(Qt5WebEngineCore) @@ -61,11 +57,19 @@ %endif %endif BuildRequires: %{python_module devel} -BuildRequires: %{python_module sip-devel >= 4.19.1} +BuildRequires: %{python_module sip-devel >= 4.19.3} +BuildRequires: dbus-1-devel BuildRequires: dbus-1-python-devel BuildRequires: dbus-1-python3-devel +BuildRequires: fdupes +BuildRequires: gdb +BuildRequires: libqt5-qtbase-devel BuildRequires: pkg-config BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(Qt5WebSockets) +BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: pkgconfig(Qt5XmlPatterns) +Provides: python-PyQt5 = %{version} Requires: %{name}-utils Requires: python-sip(api) = %python_sip_api_ver %requires_ge python-dbus-python @@ -103,18 +107,22 @@ Requires: pkgconfig(Qt5Svg) Requires: pkgconfig(Qt5UiTools) Requires: pkgconfig(Qt5WebChannel) +# Do not build WebKit support from SLE15 +%if 0%{?is_opensuse} || 0%{?suse_version} < 1500 Requires: pkgconfig(Qt5WebKit) Requires: pkgconfig(Qt5WebKitWidgets) -Requires: pkgconfig(Qt5WebSockets) -Requires: pkgconfig(Qt5X11Extras) -Requires: pkgconfig(Qt5XmlPatterns) -%if 0%{?suse_version} >= 1320 +%endif +# Do not build WebEngine support from SLE15 +%if 0%{?is_opensuse} && 0%{?suse_version} >= 1320 %ifnarch ppc ppc64 ppc64le s390 s390x Requires: pkgconfig(Qt5WebEngine) Requires: pkgconfig(Qt5WebEngineCore) Requires: pkgconfig(Qt5WebEngineWidgets) %endif %endif +Requires: pkgconfig(Qt5WebSockets) +Requires: pkgconfig(Qt5X11Extras) +Requires: pkgconfig(Qt5XmlPatterns) %ifpython2 Requires: dbus-1-python-devel %endif @@ -125,6 +133,7 @@ Requires: python-qt5-utils Requires: python-sip-devel >= 4.19.1 Recommends: python-qscintilla-qt5 +Provides: python-PyQt5-devel = %{version} Requires(post): update-alternatives Requires(postun): update-alternatives @@ -139,6 +148,7 @@ %package -n %{name}-utils Summary: Common files for PyQt5 for python2 and python3 Group: Development/Libraries/Python +Provides: %{python_module PyQt5-utils = %{version}} Provides: %{python_module qt5-utils = %{version}} %description -n %{name}-utils @@ -149,11 +159,24 @@ versions of PyQt5. +%package -n %{name}-doc +Summary: Documentation for %{name} +Group: Documentation/Other +Provides: %{python_module PyQt5-doc = %{version}} +Provides: %{python_module qt5-doc = %{version}} + +%description -n %{name}-doc +PyQt is a set of Python bindings for Trolltech's Qt application +framework. The qt4 and qt5 bindings can be co-installed. + +This package contains documentation and examples for PyQt5. + + %prep %setup -q -n PyQt5_gpl-%{version} -#PATCH-FIX-OPENSUSE: Disable RPATH when building PyQt5. %patch1 -%patch2 -p1 +# Fix wrong-script-interpreter +find examples -name "*.py" -exec sed -i "s|^#!/usr/bin/env python$|#!%__python3|" {} \; %build export CXXFLAGS="%{optflags}" @@ -161,7 +184,7 @@ %{python_expand mkdir build_%{$python_bin_suffix} pushd build_%{$python_bin_suffix} - +ln -s ../config-tests . $python ../configure.py --verbose \ --confirm-license \ --qsci-api \ @@ -204,6 +227,10 @@ %prepare_alternative $p done +mkdir -p %{buildroot}%{_docdir}/%{name} +cp -r examples %{buildroot}%{_docdir}/%{name}/ +%fdupes %{buildroot}%{_docdir}/%{name}/ + %post devel %{python_install_alternative pyuic5} \ --slave %{_bindir}/pylupdate5 pylupdate5 %{_bindir}/pylupdate5-%{python_bin_suffix} \ @@ -216,11 +243,11 @@ %defattr(-,root,root) %doc build_%{python_bin_suffix}/README %doc LICENSE NEWS ChangeLog -%doc doc/html examples %{python_sitearch}/PyQt5/ %{python_sitelib}/dbus/mainloop/pyqt5.so %dir %{_libqt5_plugindir}/PyQt5/ %{_libqt5_plugindir}/PyQt5/libpy%{python_bin_suffix}qt5qmlplugin.so +%exclude %{_docdir}/%{name}/examples/ %files %{python_files devel} %defattr(-,root,root) @@ -237,4 +264,10 @@ %defattr(-,root,root) %{_datadir}/sip/PyQt5/ +%files -n %{name}-doc +%defattr(-,root,root) +%doc LICENSE +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/examples/ + %changelog ++++++ PyQt5_gpl-5.8.2.tar.gz -> PyQt5_gpl-5.9.tar.gz ++++++ ++++ 218044 lines of diff (skipped) ++++++ python-qt5-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.tPJ0ah/_old 2017-09-08 20:43:43.200450178 +0200 +++ /var/tmp/diff_new_pack.tPJ0ah/_new 2017-09-08 20:43:43.200450178 +0200 @@ -1,2 +1 @@ -addFilter("files-duplicated-waste .*") -addFilter("files-duplicate .*") \ No newline at end of file +addFilter("doc-file-dependency .*/examples/.*")