Hello community, here is the log from the commit of package python2-matplotlib for openSUSE:Factory checked in at 2019-02-27 21:12:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python2-matplotlib (Old) and /work/SRC/openSUSE:Factory/.python2-matplotlib.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python2-matplotlib" Wed Feb 27 21:12:18 2019 rev:3 rq:679812 version:2.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python2-matplotlib/python2-matplotlib.changes 2018-10-08 17:50:50.594069480 +0200 +++ /work/SRC/openSUSE:Factory/.python2-matplotlib.new.28833/python2-matplotlib.changes 2019-02-27 21:12:19.299189154 +0100 @@ -1,0 +2,5 @@ +Wed Feb 27 13:22:30 UTC 2019 - Fabian Vogt <[email protected]> + +- Disable Qt4 support on Tumbleweed by default + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python2-matplotlib.spec ++++++ --- /var/tmp/diff_new_pack.kc81Rl/_old 2019-02-27 21:12:20.231188966 +0100 +++ /var/tmp/diff_new_pack.kc81Rl/_new 2019-02-27 21:12:20.231188966 +0100 @@ -1,7 +1,7 @@ # # spec file for package python2-matplotlib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,6 +20,13 @@ # The tests also pull in dependencies of all backends done in pure python %bcond_with tests +# No Qt4 plugin on > Leap 15 +%if 0%{?suse_version} > 1500 +%bcond_with qt4 +%else +%bcond_without qt4 +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python %define skip_python3 1 @@ -79,8 +86,10 @@ # GTK3 dependencies BuildRequires: %{python_module gobject} BuildRequires: pkgconfig(gtk+-3.0) +%if %{with qt4} # Qt4 dependencies BuildRequires: %{python_module qt4} +%endif # Qt5 dependencies BuildRequires: %{python_module qt5} # Wx dependencies (currently Python 2 only) @@ -371,6 +380,7 @@ %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py* +%if %{with qt4} %files %{python_files qt4} %license LICENSE/ %license doc/users/license.rst @@ -378,6 +388,7 @@ %{python_sitearch}/matplotlib/backends/backend_qt4agg.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4agg.*.py* +%endif %files %{python_files qt5} %license LICENSE/
