Accepting request 680626 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/680626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=70
This commit is contained in:
Dominique Leuenberger 2019-03-04 08:11:34 +00:00 committed by Git OBS Bridge
commit 93b0753891
4 changed files with 62 additions and 53 deletions

View File

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

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

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Mar 1 17:40:22 UTC 2019 - Arun Persaud <arun@gmx.de>
- update to version 3.0.3:
* fix several possible memory leaks
* documentation fixes
* jquery-ui is no longer bundled in git repo and is downloaded
during the install or sdist process. If you are installing from
pypi the files will be included, but if you are installing from
git you will need internet access the first time you run `pip
install .`. The install process tries to cache the files and will
not need internet access on future installations.
-------------------------------------------------------------------
Wed Feb 27 13:01:27 UTC 2019 - Fabian Vogt <fvogt@suse.com>

View File

@ -16,22 +16,20 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%define skip_python2 1
# Not doing tests because they take too long
# 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_python2 1
Name: python-matplotlib
Version: 3.0.2
Version: 3.0.3
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
@ -39,15 +37,6 @@ Group: Development/Libraries/Python
URL: http://matplotlib.org
Source: https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-%{version}.tar.gz
Source1: matplotlib-setup.cfg
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: pkg-config
BuildRequires: python-rpm-macros
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 Cycler >= 0.10}
BuildRequires: %{python_module devel}
@ -58,18 +47,59 @@ BuildRequires: %{python_module pyparsing > 2.1.6}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.10}
# WebAgg dependencies
BuildRequires: %{python_module tornado}
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: pkgconfig
# Python 2 only
BuildRequires: python-functools32
BuildRequires: python-rpm-macros
BuildRequires: python-subprocess32
# tk dependencies via tcl
BuildRequires: tcl
BuildRequires: pkgconfig(freetype2) >= 2.3
BuildRequires: pkgconfig(libpng) >= 1.2
BuildRequires: pkgconfig(tcl)
# 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
Recommends: ghostscript
Recommends: libxml2-tools
Recommends: poppler-tools
Recommends: python-Pillow
Provides: python-matplotlib-gtk = %{version}
Obsoletes: python-matplotlib-gtk < %{version}
# needed for testing
%if %{with tests}
# cairo dependencies
BuildRequires: %{python_module cairocffi}
# GTK3 dependencies
BuildRequires: %{python_module gobject}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module python-dateutil >= 2.1}
BuildRequires: inkscape
# Qt5 dependencies
BuildRequires: %{python_module qt5}
# tk dependencies
BuildRequires: %{python_module tk}
# Wx dependencies
BuildRequires: %{python_module wxPython >= 4}
# latex dependencies
BuildRequires: ghostscript
BuildRequires: inkscape
BuildRequires: poppler-tools
BuildRequires: texlive-dvipng
BuildRequires: texlive-latex
BuildRequires: texlive-tex
# X server needed for Qt4/Qt5 tests
BuildRequires: xorg-x11-Xvfb
BuildRequires: pkgconfig(gtk+-3.0)
%if 0%{?is_opensuse}
BuildRequires: qhull-devel >= 2003.1
BuildRequires: texlive-sfmath
@ -81,49 +111,16 @@ BuildRequires: tex(psfrag.sty)
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)
%if %{with qt4}
# Qt4 dependencies
BuildRequires: %{python_module qt4}
%endif
# Qt5 dependencies
BuildRequires: %{python_module qt5}
# Wx dependencies
BuildRequires: %{python_module wxPython >= 4}
# tk dependencies
BuildRequires: %{python_module tk}
# X server needed for Qt4/Qt5 tests
BuildRequires: xorg-x11-Xvfb
%endif
# tk dependencies via tcl
BuildRequires: tcl
BuildRequires: pkgconfig(tcl)
# 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
Recommends: ghostscript
Recommends: libxml2-tools
Recommends: python-Pillow
Recommends: poppler-tools
%if 0%{?suse_version} >= 1500
Recommends: (python-matplotlib-tk if tk)
%else
Recommends: python-matplotlib-tk
%endif
Provides: python-matplotlib-gtk = %{version}
Obsoletes: python-matplotlib-gtk < %{version}
%python_subpackages
%description
@ -338,7 +335,6 @@ trap "kill $! || true" EXIT
%license doc/users/license.rst
%if 0%{?is_opensuse}
%files %{python_files cairo}
%license LICENSE/
%license doc/users/license.rst