From 1c4093f038b824ef3fe02b8647563a4e209200c195573b4331357551dfbecf8b Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 1 Mar 2019 18:47:47 +0000 Subject: [PATCH] Accepting request 680563 from home:apersaud:branches:devel:languages:python:numeric update to latest version OBS-URL: https://build.opensuse.org/request/show/680563 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=13 --- matplotlib-3.0.2.tar.gz | 3 -- matplotlib-3.0.3.tar.gz | 3 ++ python-matplotlib.changes | 13 ++++++ python-matplotlib.spec | 96 +++++++++++++++++++-------------------- 4 files changed, 62 insertions(+), 53 deletions(-) delete mode 100644 matplotlib-3.0.2.tar.gz create mode 100644 matplotlib-3.0.3.tar.gz diff --git a/matplotlib-3.0.2.tar.gz b/matplotlib-3.0.2.tar.gz deleted file mode 100644 index 5a606fd..0000000 --- a/matplotlib-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c94b792af431f6adb6859eb218137acd9a35f4f7442cea57e4a59c54751c36af -size 36496437 diff --git a/matplotlib-3.0.3.tar.gz b/matplotlib-3.0.3.tar.gz new file mode 100644 index 0000000..2d4b7de --- /dev/null +++ b/matplotlib-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1d33589e32f482d0a7d1957bf473d43341115d40d33f578dad44432e47df7b7 +size 36640137 diff --git a/python-matplotlib.changes b/python-matplotlib.changes index d4b3876..563e2cf 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Mar 1 17:40:22 UTC 2019 - Arun Persaud + +- 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 diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 490c75f..83806c8 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -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