1
0

Accepting request 636487 from home:TheBlackCat:branches:devel:languages:python:numeric

- Update to version 3.0.0
  * Improved default backend selection
  * Cyclic colormaps
  * Ability to scale axis by a fixed order of magnitude
  * Add AnchoredDirectionArrows feature to mpl_toolkits
  * Add minorticks_on()/off() methods for colorbar
  * Colorbar ticks can now be automatic
  * Don't automatically rename duplicate file names
  * Legend now has a *title_fontsize* kwarg (and rcParam)
  * Support for axes.prop_cycle property *markevery* in rcParams
  * Multipage PDF support for pgf backend
  * Pie charts are now circular by default
  * Add ax.get_gridspec to .SubplotBase
  * Axes titles will no longer overlap xaxis
  * New convenience methods for GridSpec
  * Figure has an ~.figure.Figure.add_artist method
  * math directive renamed to mathmpl
- Python 2 support was dropped upstream, so disable it in the spec
  file and drop python2-specific parts.
- Enable wx backend for python 3, since python 3 is now supported
  by wxPython upstream.

OBS-URL: https://build.opensuse.org/request/show/636487
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=5
This commit is contained in:
Todd R 2018-09-19 01:59:45 +00:00 committed by Git OBS Bridge
parent 59944496be
commit 368a527512
4 changed files with 76 additions and 57 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5
size 36839609

3
matplotlib-3.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4e2333c98a7c2c1ff6eb930cd2b57d4b818de5437c5048802096b32f66e65f9
size 36306021

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Sep 19 01:44:55 UTC 2018 - Todd R <toddrme2178@gmail.com>
- Update to version 3.0.0
* Improved default backend selection
* Cyclic colormaps
* Ability to scale axis by a fixed order of magnitude
* Add AnchoredDirectionArrows feature to mpl_toolkits
* Add minorticks_on()/off() methods for colorbar
* Colorbar ticks can now be automatic
* Don't automatically rename duplicate file names
* Legend now has a *title_fontsize* kwarg (and rcParam)
* Support for axes.prop_cycle property *markevery* in rcParams
* Multipage PDF support for pgf backend
* Pie charts are now circular by default
* Add ax.get_gridspec to .SubplotBase
* Axes titles will no longer overlap xaxis
* New convenience methods for GridSpec
* Figure has an ~.figure.Figure.add_artist method
* math directive renamed to mathmpl
- Python 2 support was dropped upstream, so disable it in the spec
file and drop python2-specific parts.
- Enable wx backend for python 3, since python 3 is now supported
by wxPython upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 14 15:19:00 UTC 2018 - toddrme2178@gmail.com Tue Aug 14 15:19:00 UTC 2018 - toddrme2178@gmail.com

View File

@ -22,8 +22,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python %define oldpython python
%define skip_python2 1
Name: python-matplotlib Name: python-matplotlib
Version: 2.2.3 Version: 3.0.0
Release: 0 Release: 0
Summary: Plotting Library for Python Summary: Plotting Library for Python
License: SUSE-Matplotlib License: SUSE-Matplotlib
@ -82,8 +83,8 @@ BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: %{python_module qt4} BuildRequires: %{python_module qt4}
# Qt5 dependencies # Qt5 dependencies
BuildRequires: %{python_module qt5} BuildRequires: %{python_module qt5}
# Wx dependencies (currently Python 2 only) # Wx dependencies
BuildRequires: python-wxWidgets >= 3 BuildRequires: %{python_module wxPython >= 4}
# tk dependencies # tk dependencies
BuildRequires: %{python_module tk} BuildRequires: %{python_module tk}
# X server needed for Qt4/Qt5 tests # X server needed for Qt4/Qt5 tests
@ -102,11 +103,6 @@ Requires: python-pyparsing > 2.1.6
Requires: python-python-dateutil >= 2.1 Requires: python-python-dateutil >= 2.1
Requires: python-pytz Requires: python-pytz
Requires: python-six >= 1.10 Requires: python-six >= 1.10
%ifpython2
Requires: python-backports.functools_lru_cache
Requires: python-functools32
Requires: python-subprocess32
%endif
Recommends: ghostscript Recommends: ghostscript
Recommends: libxml2-tools Recommends: libxml2-tools
Recommends: python-Pillow Recommends: python-Pillow
@ -118,10 +114,6 @@ Recommends: python-matplotlib-tk
%endif %endif
Provides: python-matplotlib-gtk = %{version} 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}
%endif
%python_subpackages %python_subpackages
@ -229,14 +221,14 @@ Requires: python-tornado
This package includes the browser-based webagg backend This package includes the browser-based webagg backend
for the %{name} plotting package for the %{name} plotting package
%package -n %{python2_prefix}-matplotlib-wx %package wx
Summary: WxWidgets backend for %{name} Summary: WxWidgets backend for %{name}
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: python-wxWidgets >= 2.8 Requires: python-wxPython >= 4
%description -n %{python2_prefix}-matplotlib-wx %description wx
This package includes the wxWidgets-based wxagg backend This package includes the wxWidgets-based wxagg backend
for %{name} plotting package for %{name} plotting package
@ -302,33 +294,32 @@ trap "kill $! || true" EXIT
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.* %exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg.* %exclude %{python_sitearch}/matplotlib/backends/backend_webagg.*
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg_core.* %exclude %{python_sitearch}/matplotlib/backends/backend_webagg_core.*
%exclude %{python_sitearch}/matplotlib/backends/backend_wx.*
%exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.*
%exclude %{python_sitearch}/matplotlib/backends/qt_compat.* %exclude %{python_sitearch}/matplotlib/backends/qt_compat.*
%exclude %{python_sitearch}/matplotlib/backends/qt_editor/ %exclude %{python_sitearch}/matplotlib/backends/qt_editor/
%exclude %{python_sitearch}/matplotlib/backends/tkagg.* %exclude %{python_sitearch}/matplotlib/backends/tkagg.*
%exclude %{python_sitearch}/matplotlib/backends/web_backend/ %exclude %{python_sitearch}/matplotlib/backends/web_backend/
%exclude %{python_sitearch}/matplotlib/backends/wx_compat.*
%endif %endif
%ifpycache %ifpycache
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4.*.py* %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_qt4agg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wx.*.py*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/tkagg.* %exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxagg.*.py*
%endif %exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
%endif %exclude %{python_sitearch}/matplotlib/backends/__pycache__/tkagg.*.py*
%ifpython2 %exclude %{python_sitearch}/matplotlib/backends/__pycache__/wx_compat.*.py*
%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
%endif %endif
@ -401,12 +392,15 @@ trap "kill $! || true" EXIT
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py* %pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.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 LICENSE/
%license doc/users/license.rst %license doc/users/license.rst
%{python2_sitearch}/matplotlib/backends/wx_compat.py* %{python_sitearch}/matplotlib/backends/wx_compat.py*
%{python2_sitearch}/matplotlib/backends/backend_wx.py* %{python_sitearch}/matplotlib/backends/backend_wx.py*
%{python2_sitearch}/matplotlib/backends/backend_wxagg.py* %{python_sitearch}/matplotlib/backends/backend_wxagg.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/wx_compat.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wx.*.py*
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxagg.*.py*
%endif %endif