2010-11-23 14:45:57 +01:00
|
|
|
#
|
2021-07-27 14:49:17 +02:00
|
|
|
# spec file
|
2010-11-23 14:45:57 +01:00
|
|
|
#
|
2021-01-15 07:06:52 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2010-11-23 14:45:57 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-23 09:27:47 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-11-23 14:45:57 +01:00
|
|
|
#
|
|
|
|
|
2012-08-26 11:33:52 +02:00
|
|
|
|
2021-02-14 01:04:47 +01:00
|
|
|
%{?!python_module:%define python_module() python3-%{**}}
|
2019-03-01 19:47:47 +01:00
|
|
|
%define skip_python2 1
|
2021-02-14 01:04:47 +01:00
|
|
|
# NEP 29: Numpy 1.20 dropped Python 3.6. No python36-numpy in TW anymore.
|
|
|
|
%define skip_python36 1
|
2020-05-18 11:10:22 +02:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == "test"
|
|
|
|
%define psuffix -test
|
|
|
|
%bcond_without test
|
2020-07-21 09:09:12 +02:00
|
|
|
# Run on 64bit intel and arm only, on others there are >100 test failures
|
|
|
|
ExclusiveArch: x86_64 aarch64
|
2020-05-18 11:10:22 +02:00
|
|
|
%else
|
|
|
|
%define psuffix %{nil}
|
|
|
|
%bcond_with test
|
|
|
|
%endif
|
|
|
|
Name: python-matplotlib%{psuffix}
|
2021-10-25 21:41:21 +02:00
|
|
|
Version: 3.4.3
|
2011-12-12 16:58:51 +01:00
|
|
|
Release: 0
|
2010-11-23 14:45:57 +01:00
|
|
|
Summary: Plotting Library for Python
|
2014-07-23 22:07:19 +02:00
|
|
|
License: SUSE-Matplotlib
|
2020-03-28 19:05:40 +01:00
|
|
|
URL: https://matplotlib.org
|
2017-01-10 10:45:39 +01:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-%{version}.tar.gz
|
2013-10-25 11:21:32 +02:00
|
|
|
Source1: matplotlib-setup.cfg
|
2021-04-07 11:55:25 +02:00
|
|
|
# Bundled version of freetype and qhull for testing purposes only
|
|
|
|
Source98: http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz
|
2020-05-18 11:10:22 +02:00
|
|
|
Source99: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz
|
2021-10-25 21:41:21 +02:00
|
|
|
|
2018-01-31 19:51:16 +01:00
|
|
|
BuildRequires: %{python_module Cycler >= 0.10}
|
2017-08-13 14:58:58 +02:00
|
|
|
BuildRequires: %{python_module devel}
|
2020-07-23 12:45:25 +02:00
|
|
|
BuildRequires: %{python_module kiwisolver >= 1.0.1}
|
2021-04-07 11:55:25 +02:00
|
|
|
BuildRequires: %{python_module numpy >= 1.16}
|
|
|
|
BuildRequires: %{python_module numpy-devel >= 1.16}
|
2021-01-15 07:06:52 +01:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-07-23 12:45:25 +02:00
|
|
|
BuildRequires: %{python_module pyparsing > 2.2.1}
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: %{python_module pytz}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-03-01 19:47:47 +01:00
|
|
|
BuildRequires: c++_compiler
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python-rpm-macros
|
2020-05-18 09:00:21 +02:00
|
|
|
BuildRequires: qhull-devel >= 2003.1
|
2019-03-01 19:47:47 +01:00
|
|
|
Requires: python-Cycler >= 0.10
|
2020-07-23 12:45:25 +02:00
|
|
|
Requires: python-Pillow >= 6.2
|
2019-03-01 19:47:47 +01:00
|
|
|
Requires: python-kiwisolver >= 1.0.1
|
2021-04-07 11:55:25 +02:00
|
|
|
Requires: python-numpy >= 1.16
|
2020-07-23 12:45:25 +02:00
|
|
|
Requires: python-pyparsing > 2.2.1
|
|
|
|
Requires: python-python-dateutil >= 2.7
|
2019-03-01 19:47:47 +01:00
|
|
|
Requires: python-pytz
|
|
|
|
Recommends: ghostscript
|
|
|
|
Recommends: libxml2-tools
|
|
|
|
Recommends: poppler-tools
|
2021-01-15 07:06:52 +01:00
|
|
|
Recommends: python-certifi
|
2021-04-07 11:55:25 +02:00
|
|
|
Recommends: (%{python_flavor}-matplotlib-tk if tk)
|
2019-03-01 19:47:47 +01:00
|
|
|
Provides: python-matplotlib-gtk = %{version}
|
|
|
|
Obsoletes: python-matplotlib-gtk < %{version}
|
2020-03-28 19:05:40 +01:00
|
|
|
# SECTION WebAgg dependencies
|
|
|
|
BuildRequires: %{python_module tornado}
|
|
|
|
# /SECTION
|
|
|
|
# SECTION tk dependencies via tcl
|
|
|
|
BuildRequires: tcl
|
|
|
|
BuildRequires: pkgconfig(freetype2) >= 2.3
|
|
|
|
BuildRequires: pkgconfig(libpng) >= 1.2
|
|
|
|
BuildRequires: pkgconfig(tcl)
|
|
|
|
# /SECTION
|
2020-05-18 11:10:22 +02:00
|
|
|
%if %{with test}
|
2020-07-23 12:45:25 +02:00
|
|
|
BuildRequires: %{python_module Pillow >= 6.2}
|
2021-01-15 07:06:52 +01:00
|
|
|
BuildRequires: %{python_module cairo}
|
|
|
|
BuildRequires: %{python_module gobject-Gdk}
|
2020-07-21 09:09:12 +02:00
|
|
|
BuildRequires: %{python_module matplotlib-cairo = %{version}}
|
|
|
|
BuildRequires: %{python_module matplotlib-gtk3 = %{version}}
|
|
|
|
BuildRequires: %{python_module matplotlib-qt5 = %{version}}
|
|
|
|
BuildRequires: %{python_module matplotlib-testdata = %{version}}
|
|
|
|
BuildRequires: %{python_module matplotlib-tk = %{version}}
|
|
|
|
BuildRequires: %{python_module matplotlib-web = %{version}}
|
|
|
|
BuildRequires: %{python_module matplotlib-wx = %{version}}
|
2020-05-18 11:10:22 +02:00
|
|
|
BuildRequires: %{python_module pytest-xdist}
|
2020-07-21 09:09:12 +02:00
|
|
|
BuildRequires: %{python_module pytest-xvfb}
|
2020-05-18 11:10:22 +02:00
|
|
|
BuildRequires: %{python_module pytest}
|
2020-07-23 12:45:25 +02:00
|
|
|
BuildRequires: %{python_module python-dateutil >= 2.7}
|
2019-03-01 19:47:47 +01:00
|
|
|
BuildRequires: %{python_module qt5}
|
|
|
|
BuildRequires: %{python_module tk}
|
|
|
|
BuildRequires: %{python_module wxPython >= 4}
|
2019-12-06 20:39:19 +01:00
|
|
|
# SECTION latex dependencies
|
2017-10-17 01:52:04 +02:00
|
|
|
BuildRequires: ghostscript
|
2019-03-01 19:47:47 +01:00
|
|
|
BuildRequires: inkscape
|
2017-10-17 01:52:04 +02:00
|
|
|
BuildRequires: poppler-tools
|
2021-05-07 14:32:22 +02:00
|
|
|
# https://github.com/search?q=usepackage+repo%3Amatplotlib%2Fmatplotlib+path%3Alib&type=Code
|
2014-09-17 17:26:35 +02:00
|
|
|
BuildRequires: texlive-dvipng
|
2021-05-07 14:32:22 +02:00
|
|
|
BuildRequires: texlive-dvips
|
|
|
|
BuildRequires: texlive-geometry
|
|
|
|
BuildRequires: texlive-graphics
|
|
|
|
BuildRequires: texlive-helvetic
|
2014-09-17 17:26:35 +02:00
|
|
|
BuildRequires: texlive-latex
|
2021-05-07 14:32:22 +02:00
|
|
|
BuildRequires: texlive-pgf
|
2015-07-02 22:50:49 +02:00
|
|
|
BuildRequires: texlive-sfmath
|
2020-05-18 09:00:21 +02:00
|
|
|
BuildRequires: texlive-tex
|
2021-05-07 14:32:22 +02:00
|
|
|
BuildRequires: texlive-txfonts
|
|
|
|
BuildRequires: texlive-xcolor
|
|
|
|
BuildRequires: tex(avant.sty)
|
|
|
|
BuildRequires: tex(chancery.sty)
|
|
|
|
BuildRequires: tex(charter.sty)
|
|
|
|
BuildRequires: tex(courier.sty)
|
2021-04-29 10:29:28 +02:00
|
|
|
BuildRequires: tex(geometry.sty)
|
2017-10-17 01:52:04 +02:00
|
|
|
BuildRequires: tex(helvet.sty)
|
2021-05-07 14:32:22 +02:00
|
|
|
BuildRequires: tex(mathpazo.sty)
|
|
|
|
BuildRequires: tex(mathptmx.sty)
|
|
|
|
BuildRequires: tex(pncr.tfm)
|
2017-10-17 01:52:04 +02:00
|
|
|
BuildRequires: tex(psfrag.sty)
|
|
|
|
BuildRequires: tex(type1cm.sty)
|
2021-05-07 14:32:22 +02:00
|
|
|
BuildRequires: tex(type1ec.sty)
|
2017-10-17 01:52:04 +02:00
|
|
|
BuildRequires: tex(ucs.sty)
|
2019-12-06 20:39:19 +01:00
|
|
|
# /SECTION
|
2017-10-17 01:52:04 +02:00
|
|
|
%endif
|
2017-05-06 18:29:48 +02:00
|
|
|
%python_subpackages
|
|
|
|
|
2011-02-07 23:51:18 +01:00
|
|
|
%description
|
2010-11-23 14:45:51 +01:00
|
|
|
matplotlib is a python 2D plotting library which produces publication
|
|
|
|
quality figures in a variety of hardcopy formats and interactive
|
|
|
|
environments across platforms. matplotlib can be used in python
|
|
|
|
scripts, the python and ipython shell (ala matlab or mathematica), web
|
|
|
|
application servers, and six graphical user interface toolkits.
|
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%package cairo
|
2014-09-03 18:22:57 +02:00
|
|
|
Summary: Cairo backend for %{name}
|
|
|
|
License: SUSE-Matplotlib
|
|
|
|
Requires: %{name} = %{version}
|
2019-05-19 07:15:06 +02:00
|
|
|
Requires: python-cairo
|
2014-09-03 18:22:57 +02:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%description cairo
|
2018-11-23 09:27:47 +01:00
|
|
|
This package includes the non-interactive Cairo-based backend
|
2014-09-03 18:22:57 +02:00
|
|
|
for the %{name} plotting package
|
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%package gtk3
|
2014-03-09 20:14:38 +01:00
|
|
|
Summary: GTK3 backends for %{name}
|
2012-08-26 11:33:52 +02:00
|
|
|
License: BSD-2-Clause
|
2011-02-07 23:51:18 +01:00
|
|
|
Requires: %{name} = %{version}
|
2014-09-03 18:22:57 +02:00
|
|
|
Requires: %{name}-cairo = %{version}
|
2020-07-21 09:09:12 +02:00
|
|
|
Requires: python-gobject-Gdk
|
2010-11-23 14:45:51 +01:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%description gtk3
|
2014-03-09 20:14:38 +01:00
|
|
|
This package includes the GTK3-based gtk3, gtk3agg, and
|
|
|
|
gtk3cairo backends for the %{name} plotting package
|
2012-03-20 11:33:39 +01:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%package latex
|
2014-09-19 13:56:26 +02:00
|
|
|
Summary: Allow rendering latex in %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Requires: %{name} = %{version}
|
2021-05-07 14:32:22 +02:00
|
|
|
# grep usepackage lib/matplotlib/texmanager.py lib/matplotlib/backends/backend_pgf.py
|
2014-09-19 13:56:26 +02:00
|
|
|
Requires: texlive-dvipng
|
2021-05-07 14:32:22 +02:00
|
|
|
Requires: texlive-dvips
|
|
|
|
Requires: texlive-geometry
|
|
|
|
Requires: texlive-graphics
|
|
|
|
Requires: texlive-helvetic
|
2014-09-19 13:56:26 +02:00
|
|
|
Requires: texlive-latex
|
2021-05-07 14:32:22 +02:00
|
|
|
Requires: texlive-pgf
|
2017-08-13 14:58:58 +02:00
|
|
|
Requires: texlive-sfmath
|
2020-05-18 09:00:21 +02:00
|
|
|
Requires: texlive-tex
|
2021-05-07 14:32:22 +02:00
|
|
|
Requires: texlive-txfonts
|
|
|
|
Requires: texlive-xcolor
|
|
|
|
Requires: tex(avant.sty)
|
|
|
|
Requires: tex(chancery.sty)
|
|
|
|
Requires: tex(charter.sty)
|
|
|
|
Requires: tex(courier.sty)
|
|
|
|
Requires: tex(geometry.sty)
|
|
|
|
Requires: tex(helvet.sty)
|
|
|
|
Requires: tex(mathpazo.sty)
|
|
|
|
Requires: tex(mathptmx.sty)
|
|
|
|
Requires: tex(pncr.tfm)
|
|
|
|
Requires: tex(psfrag.sty)
|
|
|
|
Requires: tex(type1cm.sty)
|
|
|
|
Requires: tex(type1ec.sty)
|
|
|
|
Requires: tex(ucs.sty)
|
2014-09-19 13:56:26 +02:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%description latex
|
2014-09-19 13:56:26 +02:00
|
|
|
This package allows %{name} to display latex in plots
|
|
|
|
and figures.
|
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%package qt5
|
2014-09-03 18:22:57 +02:00
|
|
|
Summary: Qt5 backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: python-qt5
|
2020-05-18 09:00:21 +02:00
|
|
|
Provides: %{name}-qt-shared = %{version}
|
2020-07-21 09:09:12 +02:00
|
|
|
Obsoletes: %{name}-qt-shared < %{version}
|
2014-09-03 18:22:57 +02:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%description qt5
|
2014-09-03 18:22:57 +02:00
|
|
|
This package includes the Qt5-based pyqt5 backend
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2020-07-21 09:09:12 +02:00
|
|
|
%package testdata
|
|
|
|
Summary: Test data for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description testdata
|
|
|
|
This package includes the test baseline data
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%package tk
|
2014-03-09 20:14:38 +01:00
|
|
|
Summary: Tk backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: python-tk
|
2014-09-17 17:26:35 +02:00
|
|
|
Requires: tcl >= 8.3
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%description tk
|
2014-03-09 20:14:38 +01:00
|
|
|
This package includes the Tk-based tkagg backend
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%package web
|
2014-03-09 20:14:38 +01:00
|
|
|
Summary: Web backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: python-tornado
|
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%description web
|
2014-03-09 20:14:38 +01:00
|
|
|
This package includes the browser-based webagg backend
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%package wx
|
2014-03-09 20:14:38 +01:00
|
|
|
Summary: WxWidgets backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Requires: %{name} = %{version}
|
2018-09-19 03:59:45 +02:00
|
|
|
Requires: python-wxPython >= 4
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%description wx
|
2014-03-09 20:14:38 +01:00
|
|
|
This package includes the wxWidgets-based wxagg backend
|
|
|
|
for %{name} plotting package
|
2010-11-23 14:45:51 +01:00
|
|
|
|
|
|
|
%prep
|
2021-04-07 11:55:25 +02:00
|
|
|
%setup -q -n matplotlib-%{version}
|
|
|
|
#copy freetype to the right location, so that matplotlib will not try to download it
|
|
|
|
mkdir -p ~/.cache/matplotlib/
|
|
|
|
SHA=($(sha256sum %{SOURCE98}))
|
|
|
|
cp %{SOURCE98} ~/.cache/matplotlib/${SHA}
|
|
|
|
SHA=($(sha256sum %{SOURCE99}))
|
|
|
|
cp %{SOURCE99} ~/.cache/matplotlib/${SHA}
|
|
|
|
|
2013-10-25 11:21:32 +02:00
|
|
|
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
2014-09-17 17:26:35 +02:00
|
|
|
find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/env python||" {} \;
|
2017-01-10 10:45:39 +01:00
|
|
|
find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/python||" {} \;
|
2020-05-18 11:10:22 +02:00
|
|
|
cp %{SOURCE1} setup.cfg
|
2021-01-15 07:06:52 +01:00
|
|
|
# The setup procedure wants certifi to download packages over https. Not applicable here.
|
|
|
|
sed -i '/"certifi>=.*"/ d' setup.py
|
2017-10-17 01:52:04 +02:00
|
|
|
|
2010-11-23 14:45:51 +01:00
|
|
|
%build
|
2020-05-18 11:10:22 +02:00
|
|
|
%if !%{with test}
|
2017-05-06 18:29:48 +02:00
|
|
|
%python_build
|
2020-05-18 11:10:22 +02:00
|
|
|
%endif
|
2010-11-23 14:45:51 +01:00
|
|
|
|
|
|
|
%install
|
2020-05-18 11:10:22 +02:00
|
|
|
%if !%{with test}
|
2017-05-06 18:29:48 +02:00
|
|
|
%python_install
|
2021-01-15 07:06:52 +01:00
|
|
|
%{python_expand sed -i -e "s/install matplotlib from source/install the $python-matplotlib-testdata package/" \
|
|
|
|
%{buildroot}%{$python_sitearch}/matplotlib/tests/__init__.py
|
2017-08-13 14:58:58 +02:00
|
|
|
}
|
2021-01-15 07:06:52 +01:00
|
|
|
%{?python_compileall}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
2020-05-18 11:10:22 +02:00
|
|
|
%endif
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2020-05-18 11:10:22 +02:00
|
|
|
%if %{with test}
|
2017-05-06 18:29:48 +02:00
|
|
|
%check
|
2020-07-21 09:09:12 +02:00
|
|
|
# fails to detect alternative backend within xvfb
|
|
|
|
skip_tests+=" or test_backend_fallback_headful"
|
|
|
|
# test_usetex.py::test_usetex[png] - no tex text -- do not skip test_empty[png] and test_unicode_minus[png]
|
|
|
|
skip_tests+=" or (test_usetex and png and not empty and not unicode)"
|
|
|
|
# output slightly differs: text moves a bit
|
|
|
|
skip_tests+=" or test_pdflatex"
|
|
|
|
# we do not ship the qt4 backend
|
|
|
|
skip_tests+=" or (test_correct_key and Qt4Agg)"
|
|
|
|
skip_tests+=" or (test_fig_close and Qt4Agg)"
|
|
|
|
# timing tests on obs can fail unpredictably
|
|
|
|
skip_tests+=" or test_invisible_Line_rendering"
|
2021-12-08 05:48:57 +01:00
|
|
|
# currently broken, revert with 3.5.0
|
|
|
|
skip_tests+=" or test_mathtext_rendering or test_mathtext_exceptions"
|
2021-01-15 07:06:52 +01:00
|
|
|
%{pytest_arch --pyargs matplotlib.tests \
|
|
|
|
--pyargs mpl_toolkits.tests \
|
|
|
|
-n auto \
|
|
|
|
-m "not network" \
|
|
|
|
-k "not ( ${skip_tests:4} or test_backend )"
|
|
|
|
}
|
|
|
|
# backend tests landing in the wrong xdist process may fail with an error. Test them without xdist.
|
|
|
|
%pytest_arch --pyargs matplotlib.tests -k "test_backend and not ( ${skip_tests:4} )"
|
2017-05-06 18:29:48 +02:00
|
|
|
%endif
|
2010-11-23 14:45:51 +01:00
|
|
|
|
2020-05-18 11:10:22 +02:00
|
|
|
%if !%{with test}
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files}
|
2018-08-18 00:03:18 +02:00
|
|
|
%doc README.rst
|
2017-11-09 13:57:25 +01:00
|
|
|
%doc examples/
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2014-09-17 17:26:35 +02:00
|
|
|
%{python_sitearch}/matplotlib/
|
2017-03-12 20:05:14 +01:00
|
|
|
%{python_sitearch}/matplotlib-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/matplotlib-%{version}-py*-nspkg.pth
|
2014-09-03 18:22:57 +02:00
|
|
|
%{python_sitearch}/mpl_toolkits
|
|
|
|
%{python_sitearch}/pylab.py*
|
2017-05-06 18:29:48 +02:00
|
|
|
%pycache_only %{python_sitearch}/__pycache__/pylab.*
|
2014-09-03 18:22:57 +02:00
|
|
|
%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.*
|
2017-05-06 18:29:48 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt4.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt4agg.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt4cairo.py*
|
2014-09-03 18:22:57 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5agg.*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5cairo.py*
|
2014-09-03 18:22:57 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_tkcairo.*
|
2014-09-03 18:22:57 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg_core.*
|
2018-09-19 03:59:45 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_wx.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_wxcairo.*
|
2014-09-03 18:22:57 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/qt_compat.*
|
2017-05-06 18:29:48 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/qt_editor/
|
2014-09-03 18:22:57 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/web_backend/
|
2018-09-19 03:59:45 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.*.py*
|
2017-05-06 18:29:48 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4agg.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4cairo.*.py*
|
2018-09-19 03:59:45 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5cairo.*.py*
|
2018-09-19 03:59:45 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkcairo.*.py*
|
2018-09-19 03:59:45 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wx.*.py*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxagg.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxcairo.*.py*
|
2018-09-19 03:59:45 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/tests/baseline_images
|
|
|
|
%exclude %{python_sitearch}/matplotlib/tests/tinypages
|
|
|
|
%exclude %{python_sitearch}/mpl_toolkits/tests/baseline_images
|
2017-08-13 14:58:58 +02:00
|
|
|
|
|
|
|
# Dummy package to pull in latex dependencies.
|
|
|
|
%files %{python_files latex}
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2014-09-03 18:22:57 +02:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files cairo}
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_cairo.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py*
|
|
|
|
|
|
|
|
%files %{python_files gtk3}
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2017-05-06 18:29:48 +02:00
|
|
|
%{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*
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2020-05-18 09:00:21 +02:00
|
|
|
%files %{python_files qt5}
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_qt5.py*
|
|
|
|
%{python_sitearch}/matplotlib/backends/backend_qt5agg.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_qt5cairo.py*
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/qt_compat.py*
|
2014-09-03 18:22:57 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/qt_editor/
|
2017-05-06 18:29:48 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5.*.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5cairo.*.py*
|
2017-05-06 18:29:48 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
|
|
|
|
|
2020-07-21 09:09:12 +02:00
|
|
|
%files %{python_files testdata}
|
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
|
|
|
%{python_sitearch}/matplotlib/tests/baseline_images
|
|
|
|
%{python_sitearch}/matplotlib/tests/tinypages
|
|
|
|
%{python_sitearch}/mpl_toolkits/tests/baseline_images
|
|
|
|
%exclude %{python_sitearch}/matplotlib/tests/tinypages/.gitignore
|
|
|
|
%exclude %{python_sitearch}/matplotlib/tests/tinypages/_static/.gitignore
|
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files tk}
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_tkagg.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_tkcairo.py*
|
2017-05-06 18:29:48 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkcairo.*.py*
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files web}
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_webagg.py*
|
|
|
|
%{python_sitearch}/matplotlib/backends/backend_webagg_core.py*
|
2014-09-03 18:22:57 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/web_backend/
|
2020-07-21 09:09:12 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/web_backend/.*
|
2017-05-06 18:29:48 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2018-09-19 03:59:45 +02:00
|
|
|
%files %{python_files wx}
|
2018-08-18 00:03:18 +02:00
|
|
|
%license LICENSE/
|
|
|
|
%license doc/users/license.rst
|
2018-09-19 03:59:45 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_wx.py*
|
|
|
|
%{python_sitearch}/matplotlib/backends/backend_wxagg.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_wxcairo.py*
|
2018-09-19 03:59:45 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wx.*.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxagg.*.py*
|
2020-07-21 09:09:12 +02:00
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_wxcairo.*.py*
|
2020-05-18 11:10:22 +02:00
|
|
|
%endif
|
2010-11-23 14:45:51 +01:00
|
|
|
|
|
|
|
%changelog
|