Hello community, here is the log from the commit of package python-matplotlib for openSUSE:Factory checked in at 2017-08-13 14:58:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-matplotlib (Old) and /work/SRC/openSUSE:Factory/.python-matplotlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-matplotlib" Sun Aug 13 14:58:58 2017 rev:54 rq:516044 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-matplotlib/python-matplotlib.changes 2017-07-17 09:12:04.376206728 +0200 +++ /work/SRC/openSUSE:Factory/.python-matplotlib.new/python-matplotlib.changes 2017-08-13 14:59:10.056979171 +0200 @@ -1,0 +2,24 @@ +Thu Aug 10 16:01:33 UTC 2017 - [email protected] + +- Update to version 2.0.2 + Critical bug fixes for 2.0.1 + * fixed Qt4 support + * fixed LogFormatter + * fixed hatched artists in legends + * fixed segfault with large images +- Update to version 2.0.1 + Bug fix release for 2.0.x series + This release includes bug fixes, documentation updates and one major change. + + API + * Do not clip the linewidth used for dash pattern scaling. This is + an API change, but is a major improvement. + * Deprecate 'vega' color names in favor of 'tab'. + + Bug Fixes + * Hatching color follows edge color again. + * Fixes a critical bug with masked images. + * Improved high-dpi support for Qt5. + * Log ticking no never skip minor ticks + * Do not skip points surrounded by nan/inf in vector outputs. +- Disable backends on releases that don't support them. + +------------------------------------------------------------------- Old: ---- matplotlib-2.0.0.tar.gz New: ---- matplotlib-2.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-matplotlib.spec ++++++ --- /var/tmp/diff_new_pack.XZpuis/_old 2017-08-13 14:59:12.656614333 +0200 +++ /var/tmp/diff_new_pack.XZpuis/_new 2017-08-13 14:59:12.660613772 +0200 @@ -19,10 +19,25 @@ #Not doing tests because they take too long %bcond_with tests +# backend dependencies missing on Leap 42.2 i596 and all versions of SLE +%if 0%{?is_opensuse} +%ifarch %{ix86} +%if 0%{?leap_version} == 420200 +%bcond_with backends +%else +%bcond_without backends +%endif +%else +%bcond_without backends +%endif +%else +%bcond_with backends +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-matplotlib -Version: 2.0.0 +Version: 2.0.2 Release: 0 Summary: Plotting Library for Python License: SUSE-Matplotlib @@ -33,24 +48,24 @@ # PATCH-FIX-OPENSUSE 0001-Fix-include-path-for-system-libqhull.patch [email protected] -- avoid using bundled qhull, fixed in mpl 2.1.0 Patch0: 0001-Fix-include-path-for-system-libqhull.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-rpm-macros BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: fltk-devel BuildRequires: ghostscript BuildRequires: libxml2-tools +BuildRequires: pkg-config BuildRequires: poppler-tools +BuildRequires: python-rpm-macros BuildRequires: qhull-devel >= 2003.1 -BuildRequires: pkg-config BuildRequires: pkgconfig(freetype2) >= 2.3 BuildRequires: pkgconfig(libpng) >= 1.2 # Python 2 only BuildRequires: python-functools32 BuildRequires: python-subprocess32 # Needed for all versions of python -BuildRequires: %{python_module devel} BuildRequires: %{python_module Cycler} BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy >= 1.6} BuildRequires: %{python_module numpy-devel >= 1.6} BuildRequires: %{python_module pyparsing >= 1.5.6} @@ -60,27 +75,30 @@ BuildRequires: %{python_module six >= 1.3} # needed for testing %if %{with tests} -BuildRequires: inkscape BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} +BuildRequires: inkscape %endif -# cairo dependencies -BuildRequires: %{python_module cairocffi} -# GTK3 dependencies -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: %{python_module gobject} -BuildRequires: %{python_module gobject-devel} # latex dependencies BuildRequires: texlive-dvipng BuildRequires: texlive-latex BuildRequires: texlive-tex +%if 0%{?is_opensuse} BuildRequires: texlive-sfmath +%endif +%if %{with backends} +# cairo dependencies +BuildRequires: %{python_module cairocffi} +# GTK3 dependencies +BuildRequires: %{python_module gobject-devel} +BuildRequires: %{python_module gobject} +BuildRequires: pkgconfig(gtk+-3.0) # Qt4 dependencies -BuildRequires: %{python_module qt4} BuildRequires: %{python_module qt4-devel} +BuildRequires: %{python_module qt4} # Qt5 dependencies -BuildRequires: %{python_module qt5} BuildRequires: %{python_module qt5-devel} +BuildRequires: %{python_module qt5} # tk dependencies BuildRequires: %{python_module tk} BuildRequires: tcl @@ -92,6 +110,7 @@ # Wx dependencies (currently Python 2 only) BuildRequires: python-wxWidgets BuildRequires: wxWidgets-devel >= 3 +%endif Requires: python-Cycler Requires: python-numpy >= 1.6 Requires: python-pyparsing >= 1.5.6 @@ -107,12 +126,11 @@ Recommends: python-Pillow Recommends: poppler-tools Recommends: python-matplotlib-tk -# Change <= to < in next release after 2.0.0 Provides: python-matplotlib-gtk = %{version} -Obsoletes: python-matplotlib-gtk <= %{version} +Obsoletes: python-matplotlib-gtk < %{version} %ifpython2 Provides: %{oldpython}-matplotlib-gtk = %{version} -Obsoletes: %{oldpython}-matplotlib-gtk <= %{version} +Obsoletes: %{oldpython}-matplotlib-gtk < %{version} %endif %python_subpackages @@ -154,8 +172,10 @@ Requires: %{name} = %{version} Requires: texlive-dvipng Requires: texlive-latex -Requires: texlive-sfmath Requires: texlive-tex +%if 0%{?is_opensuse} +Requires: texlive-sfmath +%endif %description latex This package allows %{name} to display latex in plots @@ -245,7 +265,11 @@ %install export XDG_RUNTIME_DIR=/tmp %python_install -%python_expand %fdupes %{buildroot}%{$python_sitearch} +%{python_expand %fdupes %{buildroot}%{$python_sitearch} +$python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}/matplotlib/backends/qt_editor/ +$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitearch}/matplotlib/backends/qt_editor/ +%fdupes %{buildroot}%{$python_sitearch}/matplotlib/backends/qt_editor/ +} %if %{with tests} %check @@ -261,6 +285,7 @@ %{python_sitearch}/mpl_toolkits %{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.* @@ -277,7 +302,9 @@ %exclude %{python_sitearch}/matplotlib/backends/qt4_compat.* %exclude %{python_sitearch}/matplotlib/backends/tkagg.* %exclude %{python_sitearch}/matplotlib/backends/web_backend/ +%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.* @@ -293,12 +320,21 @@ %exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt4_compat.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/tkagg.* %endif +%endif %ifpython2 +%if 0%{?is_opensuse} %exclude %{python_sitearch}/matplotlib/backends/backend_wx.py* %exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.py* %exclude %{python_sitearch}/matplotlib/backends/wx_compat.py* %endif +%endif + +# Dummy package to pull in latex dependencies. +%files %{python_files latex} +%defattr(-,root,root,-) +%doc doc/users/usetex.rst +%if 0%{?is_opensuse} %files %{python_files cairo} %defattr(-,root,root,-) @@ -314,12 +350,6 @@ %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.*.py* -# Dummy package to pull in latex dependencies. -%files %{python_files latex} -%defattr(-,root,root,-) -%doc doc/users/usetex.rst - - # IMPORTANT: the qt4 backend makes use of the qt5 backend, # which is actually a generic qt backend. # So we need to package all the qt5 stuff in a generic @@ -368,4 +398,6 @@ %{python2_sitearch}/matplotlib/backends/backend_wx.py* %{python2_sitearch}/matplotlib/backends/backend_wxagg.py* +%endif + %changelog ++++++ matplotlib-2.0.0.tar.gz -> matplotlib-2.0.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-matplotlib/matplotlib-2.0.0.tar.gz /work/SRC/openSUSE:Factory/.python-matplotlib.new/matplotlib-2.0.2.tar.gz differ: char 5, line 1 ++++++ matplotlib-setup.cfg ++++++ --- /var/tmp/diff_new_pack.XZpuis/_old 2017-08-13 14:59:13.008564940 +0200 +++ /var/tmp/diff_new_pack.XZpuis/_new 2017-08-13 14:59:13.016563817 +0200 @@ -69,25 +69,25 @@ # behavior # agg = True -cairo = True -gdk = False -gtk = False -gtkagg = False -gtkcairo = False -gtk3 = True -gtk3agg = True -gtk3cairo = True nbagg = True pdf = True pgf = True ps = True -qt4 = True -qt4agg = True -qt5 = True -qt5agg = True svg = True -tkagg = True -webagg = True +cairo = Auto +gtk3 = Auto +gtk3agg = Auto +gtk3cairo = Auto +qt4 = Auto +qt4agg = Auto +qt5 = Auto +qt5agg = Auto +tkagg = Auto +webagg = Auto +gdk = False +gtk = False +gtkagg = False +gtkcairo = False macosx = False windowing = False
