Hello community, here is the log from the commit of package python2-matplotlib for openSUSE:Factory checked in at 2019-08-06 15:09:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python2-matplotlib (Old) and /work/SRC/openSUSE:Factory/.python2-matplotlib.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python2-matplotlib" Tue Aug 6 15:09:03 2019 rev:4 rq:720050 version:2.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python2-matplotlib/python2-matplotlib.changes 2019-02-27 21:12:19.299189154 +0100 +++ /work/SRC/openSUSE:Factory/.python2-matplotlib.new.4126/python2-matplotlib.changes 2019-08-06 15:09:05.255818464 +0200 @@ -1,0 +2,11 @@ +Wed Jul 31 09:44:56 UTC 2019 - pgaj...@suse.com + +- Drop cairo backend. cairocffi is going to be python3 only. + +------------------------------------------------------------------- +Mon Jul 29 18:37:55 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Use python2 dependency names. +- Make sure to provide oldpython names + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python2-matplotlib.spec ++++++ --- /var/tmp/diff_new_pack.PmQXNH/_old 2019-08-06 15:09:06.271817710 +0200 +++ /var/tmp/diff_new_pack.PmQXNH/_new 2019-08-06 15:09:06.275817707 +0200 @@ -46,8 +46,8 @@ BuildRequires: pkgconfig(freetype2) >= 2.3 BuildRequires: pkgconfig(libpng) >= 1.2 # Python 2 only -BuildRequires: python-functools32 -BuildRequires: python-subprocess32 +BuildRequires: python2-functools32 +BuildRequires: python2-subprocess32 # Needed for all versions of python BuildRequires: %{python_module Cycler >= 0.10} BuildRequires: %{python_module devel} @@ -81,8 +81,6 @@ BuildRequires: tex(type1cm.sty) BuildRequires: tex(ucs.sty) %endif -# cairo dependencies -BuildRequires: %{python_module cairocffi} # GTK3 dependencies BuildRequires: %{python_module gobject} BuildRequires: pkgconfig(gtk+-3.0) @@ -93,7 +91,7 @@ # Qt5 dependencies BuildRequires: %{python_module qt5} # Wx dependencies (currently Python 2 only) -BuildRequires: python-wxWidgets >= 3 +BuildRequires: python2-wxWidgets >= 3 # tk dependencies BuildRequires: %{python_module tk} # X server needed for Qt4/Qt5 tests @@ -105,30 +103,30 @@ # WebAgg dependencies BuildRequires: %{python_module tornado} # End of backend dependencies -Requires: python-Cycler >= 0.10 -Requires: python-kiwisolver >= 1.0.1 -Requires: python-numpy >= 1.7.1 -Requires: python-pyparsing > 2.1.6 -Requires: python-python-dateutil >= 2.1 -Requires: python-pytz -Requires: python-six >= 1.10 +Requires: python2-Cycler >= 0.10 +Requires: python2-kiwisolver >= 1.0.1 +Requires: python2-numpy >= 1.7.1 +Requires: python2-pyparsing > 2.1.6 +Requires: python2-python-dateutil >= 2.1 +Requires: python2-pytz +Requires: python2-six >= 1.10 %ifpython2 -Requires: python-backports.functools_lru_cache -Requires: python-functools32 -Requires: python-subprocess32 +Requires: python2-backports.functools_lru_cache +Requires: python2-functools32 +Requires: python2-subprocess32 %endif Recommends: ghostscript Recommends: libxml2-tools -Recommends: python-Pillow +Recommends: python2-Pillow Recommends: poppler-tools %if 0%{?suse_version} >= 1500 -Recommends: (python-matplotlib-tk if tk) +Recommends: (python2-matplotlib-tk if tk) %else -Recommends: python-matplotlib-tk +Recommends: python2-matplotlib-tk %endif Provides: %{oldpython}-matplotlib = %{version} -Provides: python-matplotlib-gtk = %{version} -Obsoletes: python-matplotlib-gtk < %{version} +Provides: python2-matplotlib-gtk = %{version} +Obsoletes: python2-matplotlib-gtk < %{version} Provides: %{oldpython}-matplotlib-gtk = %{version} Obsoletes: %{oldpython}-matplotlib-gtk < %{version} @@ -141,28 +139,17 @@ scripts, the python and ipython shell (ala matlab or mathematica), web application servers, and six graphical user interface toolkits. -%package cairo -Summary: Cairo backend for %{name} -License: SUSE-Matplotlib -Group: Development/Libraries/Python -Requires: %{name} = %{version} -Requires: python-cairocffi - -%description cairo -This package includes the non-interactive Cairo-based backend -for the %{name} plotting package - %package gtk3 Summary: GTK3 backends for %{name} License: BSD-2-Clause Group: Development/Libraries/Python Requires: %{name} = %{version} -Requires: %{name}-cairo = %{version} -Requires: python-gobject +Requires: python2-gobject +Provides: %{oldpython}-matplotlib-gtk3 = %{version} %description gtk3 -This package includes the GTK3-based gtk3, gtk3agg, and -gtk3cairo backends for the %{name} plotting package +This package includes the GTK3-based gtk3 and gtk3agg +backends for the %{name} plotting package %package latex Summary: Allow rendering latex in %{name} @@ -175,6 +162,7 @@ %if 0%{?is_opensuse} Requires: texlive-sfmath %endif +Provides: %{oldpython}-matplotlib-latex = %{version} %description latex This package allows %{name} to display latex in plots @@ -185,6 +173,7 @@ License: BSD-2-Clause Group: Development/Libraries/Python Requires: %{name} = %{version} +Provides: %{oldpython}-matplotlib-qt-shared = %{version} %description qt-shared This package includes files needed by both the Qt4-based pyqt4 and @@ -197,7 +186,8 @@ Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: %{name}-qt-shared = %{version} -Requires: python-qt4 >= 4.0 +Requires: python2-qt4 >= 4.0 +Provides: %{oldpython}-matplotlib-qt4 = %{version} %description qt4 This package includes the Qt4-based pyqt4 and pyside backends @@ -209,7 +199,8 @@ Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: %{name}-qt-shared = %{version} -Requires: python-qt5 +Requires: python2-qt5 +Provides: %{oldpython}-matplotlib-qt5 = %{version} %description qt5 This package includes the Qt5-based pyqt5 backend @@ -220,8 +211,9 @@ License: BSD-2-Clause Group: Development/Libraries/Python Requires: %{name} = %{version} -Requires: python-tk +Requires: python2-tk Requires: tcl >= 8.3 +Provides: %{oldpython}-matplotlib-tk = %{version} %description tk This package includes the Tk-based tkagg backend @@ -232,20 +224,22 @@ License: BSD-2-Clause Group: Development/Libraries/Python Requires: %{name} = %{version} -Requires: python-tornado +Requires: python2-tornado +Provides: %{oldpython}-matplotlib-web = %{version} %description web This package includes the browser-based webagg backend for the %{name} plotting package -%package -n %{python2_prefix}-matplotlib-wx +%package wx Summary: WxWidgets backend for %{name} License: BSD-2-Clause Group: Development/Libraries/Python Requires: %{name} = %{version} -Requires: python-wxWidgets >= 3 +Requires: python2-wxWidgets >= 3 +Provides: %{oldpython}-matplotlib-wx = %{version} -%description -n %{python2_prefix}-matplotlib-wx +%description wx This package includes the wxWidgets-based wxagg backend for %{name} plotting package @@ -300,10 +294,8 @@ %{python_sitearch}/pylab.py* %pycache_only %{python_sitearch}/__pycache__/pylab.* %if 0%{?is_opensuse} -%exclude %{python_sitearch}/matplotlib/backends/backend_cairo.* %exclude %{python_sitearch}/matplotlib/backends/backend_gtk3.* %exclude %{python_sitearch}/matplotlib/backends/backend_gtk3agg.* -%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3cairo.* %exclude %{python_sitearch}/matplotlib/backends/backend_qt4.py* %exclude %{python_sitearch}/matplotlib/backends/backend_qt4agg.py* %exclude %{python_sitearch}/matplotlib/backends/backend_qt5.* @@ -318,10 +310,8 @@ %endif %ifpycache %if 0%{?is_opensuse} -%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.* -%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4agg.*.py* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.* @@ -348,21 +338,13 @@ %if 0%{?is_opensuse} -%files %{python_files cairo} -%license LICENSE/ -%license doc/users/license.rst -%{python_sitearch}/matplotlib/backends/backend_cairo.py* -%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py* - %files %{python_files gtk3} %license LICENSE/ %license doc/users/license.rst %{python_sitearch}/matplotlib/backends/backend_gtk3.py* %{python_sitearch}/matplotlib/backends/backend_gtk3agg.py* -%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*.py* -%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.*.py* # IMPORTANT: the qt4 backend makes use of the qt5 backend, # which is actually a generic qt backend. @@ -412,7 +394,7 @@ %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py* -%files -n %{python2_prefix}-matplotlib-wx +%files %{python_files wx} %license LICENSE/ %license doc/users/license.rst %{python2_sitearch}/matplotlib/backends/wx_compat.py*