2010-11-23 14:45:57 +01:00
|
|
|
#
|
2011-01-18 12:08:25 +01:00
|
|
|
# spec file for package python-matplotlib
|
2010-11-23 14:45:57 +01:00
|
|
|
#
|
2017-01-25 23:30:29 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-08-26 11:33:52 +02:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
#Not doing tests because they take too long
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%define oldpython python
|
2013-10-25 11:21:32 +02:00
|
|
|
Name: python-matplotlib
|
2017-01-25 23:30:29 +01:00
|
|
|
Version: 2.0.0
|
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
|
2011-12-12 16:58:51 +01:00
|
|
|
Group: Development/Libraries/Python
|
2015-03-03 11:15:46 +01:00
|
|
|
Url: http://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
|
2017-07-17 09:12:01 +02:00
|
|
|
# PATCH-FIX-OPENSUSE 0001-Fix-include-path-for-system-libqhull.patch stefan.bruens@rwth-aachen.de -- avoid using bundled qhull, fixed in mpl 2.1.0
|
|
|
|
Patch0: 0001-Fix-include-path-for-system-libqhull.patch
|
2010-11-23 14:45:57 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: c++_compiler
|
2014-03-09 20:14:38 +01:00
|
|
|
BuildRequires: fdupes
|
2011-02-07 23:51:18 +01:00
|
|
|
BuildRequires: fltk-devel
|
2014-03-09 20:14:38 +01:00
|
|
|
BuildRequires: ghostscript
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: libxml2-tools
|
2014-03-09 20:14:38 +01:00
|
|
|
BuildRequires: poppler-tools
|
2014-09-17 17:26:35 +02:00
|
|
|
BuildRequires: qhull-devel >= 2003.1
|
2017-05-06 18:29:48 +02:00
|
|
|
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 numpy >= 1.6}
|
|
|
|
BuildRequires: %{python_module numpy-devel >= 1.6}
|
|
|
|
BuildRequires: %{python_module pyparsing >= 1.5.6}
|
|
|
|
BuildRequires: %{python_module python-dateutil >= 1.1}
|
|
|
|
BuildRequires: %{python_module pytz}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module six >= 1.3}
|
|
|
|
# needed for testing
|
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: inkscape
|
|
|
|
BuildRequires: %{python_module mock}
|
|
|
|
BuildRequires: %{python_module nose}
|
2015-07-02 22:50:49 +02:00
|
|
|
%endif
|
2017-05-06 18:29:48 +02:00
|
|
|
# cairo dependencies
|
|
|
|
BuildRequires: %{python_module cairocffi}
|
|
|
|
# GTK3 dependencies
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: %{python_module gobject}
|
|
|
|
BuildRequires: %{python_module gobject-devel}
|
2014-09-17 17:26:35 +02:00
|
|
|
# latex dependencies
|
|
|
|
BuildRequires: texlive-dvipng
|
|
|
|
BuildRequires: texlive-latex
|
|
|
|
BuildRequires: texlive-tex
|
2015-07-02 22:50:49 +02:00
|
|
|
BuildRequires: texlive-sfmath
|
2014-09-17 17:26:35 +02:00
|
|
|
# Qt4 dependencies
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: %{python_module qt4}
|
|
|
|
BuildRequires: %{python_module qt4-devel}
|
2014-09-17 17:26:35 +02:00
|
|
|
# Qt5 dependencies
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: %{python_module qt5}
|
|
|
|
BuildRequires: %{python_module qt5-devel}
|
2014-09-17 17:26:35 +02:00
|
|
|
# tk dependencies
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: %{python_module tk}
|
2011-02-07 23:51:18 +01:00
|
|
|
BuildRequires: tcl
|
|
|
|
BuildRequires: tk
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: pkgconfig(tcl)
|
|
|
|
BuildRequires: pkgconfig(tk)
|
2014-09-17 17:26:35 +02:00
|
|
|
# WebAgg dependencies
|
2017-05-06 18:29:48 +02:00
|
|
|
BuildRequires: %{python_module tornado}
|
|
|
|
# Wx dependencies (currently Python 2 only)
|
2016-08-09 22:14:42 +02:00
|
|
|
BuildRequires: python-wxWidgets
|
|
|
|
BuildRequires: wxWidgets-devel >= 3
|
2015-11-04 15:33:04 +01:00
|
|
|
Requires: python-Cycler
|
2014-09-17 17:26:35 +02:00
|
|
|
Requires: python-numpy >= 1.6
|
|
|
|
Requires: python-pyparsing >= 1.5.6
|
2016-03-07 13:23:18 +01:00
|
|
|
Requires: python-python-dateutil >= 1.1
|
2014-09-17 17:26:35 +02:00
|
|
|
Requires: python-pytz
|
|
|
|
Requires: python-six >= 1.3
|
2017-05-06 18:29:48 +02:00
|
|
|
%ifpython2
|
|
|
|
Requires: python-functools32
|
|
|
|
Requires: python-subprocess32
|
|
|
|
%endif
|
2014-03-09 20:14:38 +01:00
|
|
|
Recommends: ghostscript
|
|
|
|
Recommends: libxml2-tools
|
2017-05-06 18:29:48 +02:00
|
|
|
Recommends: python-Pillow
|
2014-03-09 20:14:38 +01:00
|
|
|
Recommends: poppler-tools
|
2014-03-12 14:46:29 +01:00
|
|
|
Recommends: python-matplotlib-tk
|
2017-05-06 18:29:48 +02:00
|
|
|
# Change <= to < in next release after 2.0.0
|
|
|
|
Provides: python-matplotlib-gtk = %{version}
|
|
|
|
Obsoletes: python-matplotlib-gtk <= %{version}
|
|
|
|
%ifpython2
|
|
|
|
Provides: %{oldpython}-matplotlib-gtk = %{version}
|
|
|
|
Obsoletes: %{oldpython}-matplotlib-gtk <= %{version}
|
2014-09-03 18:22:57 +02:00
|
|
|
%endif
|
2010-11-23 14:45:51 +01:00
|
|
|
|
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.
|
|
|
|
|
2014-09-03 18:22:57 +02:00
|
|
|
%package cairo
|
|
|
|
Summary: Cairo backend for %{name}
|
|
|
|
License: SUSE-Matplotlib
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: python-cairocffi
|
|
|
|
|
|
|
|
%description cairo
|
|
|
|
This package includes the non-interactive Cairo-based backend
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2014-03-09 20:14:38 +01:00
|
|
|
%package gtk3
|
|
|
|
Summary: GTK3 backends for %{name}
|
2012-08-26 11:33:52 +02:00
|
|
|
License: BSD-2-Clause
|
2012-01-19 16:56:53 +01:00
|
|
|
Group: Development/Libraries/Python
|
2011-02-07 23:51:18 +01:00
|
|
|
Requires: %{name} = %{version}
|
2014-09-03 18:22:57 +02:00
|
|
|
Requires: %{name}-cairo = %{version}
|
2014-03-09 20:14:38 +01:00
|
|
|
Requires: python-gobject
|
2010-11-23 14:45:51 +01:00
|
|
|
|
2014-03-09 20:14:38 +01:00
|
|
|
%description gtk3
|
|
|
|
This package includes the GTK3-based gtk3, gtk3agg, and
|
|
|
|
gtk3cairo backends for the %{name} plotting package
|
2012-03-20 11:33:39 +01:00
|
|
|
|
2014-09-19 13:56:26 +02:00
|
|
|
%package latex
|
|
|
|
Summary: Allow rendering latex in %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: texlive-dvipng
|
|
|
|
Requires: texlive-latex
|
|
|
|
Requires: texlive-sfmath
|
|
|
|
Requires: texlive-tex
|
|
|
|
|
|
|
|
%description latex
|
|
|
|
This package allows %{name} to display latex in plots
|
|
|
|
and figures.
|
|
|
|
|
2014-09-03 18:22:57 +02:00
|
|
|
%package qt-shared
|
|
|
|
Summary: Shared files for the Qt backends for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description qt-shared
|
|
|
|
This package includes files needed by both the Qt4-based pyqt4 and
|
|
|
|
pyside backends and the Qt5-based pyqt5 backend for the %{name}
|
|
|
|
plotting package
|
|
|
|
|
2014-03-09 20:14:38 +01:00
|
|
|
%package qt4
|
|
|
|
Summary: Qt4 backends for %{name}
|
|
|
|
License: BSD-2-Clause
|
2012-08-26 11:33:52 +02:00
|
|
|
Group: Development/Libraries/Python
|
2012-03-20 11:33:39 +01:00
|
|
|
Requires: %{name} = %{version}
|
2014-09-03 18:22:57 +02:00
|
|
|
Requires: %{name}-qt-shared = %{version}
|
2014-09-17 17:26:35 +02:00
|
|
|
Requires: python-qt4 >= 4.0
|
2014-03-09 20:14:38 +01:00
|
|
|
|
|
|
|
%description qt4
|
|
|
|
This package includes the Qt4-based pyqt4 and pyside backends
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2014-09-03 18:22:57 +02:00
|
|
|
%package qt5
|
|
|
|
Summary: Qt5 backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-qt-shared = %{version}
|
|
|
|
Requires: python-qt5
|
|
|
|
|
|
|
|
%description qt5
|
|
|
|
This package includes the Qt5-based pyqt5 backend
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2014-03-09 20:14:38 +01:00
|
|
|
%package tk
|
|
|
|
Summary: Tk backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
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
|
|
|
|
|
|
|
%description tk
|
|
|
|
This package includes the Tk-based tkagg backend
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
|
|
|
%package web
|
|
|
|
Summary: Web backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: python-tornado
|
|
|
|
|
|
|
|
%description web
|
|
|
|
This package includes the browser-based webagg backend
|
|
|
|
for the %{name} plotting package
|
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%package -n %{python2_prefix}-matplotlib-wx
|
2014-03-09 20:14:38 +01:00
|
|
|
Summary: WxWidgets backend for %{name}
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{name} = %{version}
|
2014-09-17 17:26:35 +02:00
|
|
|
Requires: python-wxWidgets >= 2.8
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%description -n %{python2_prefix}-matplotlib-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
|
2014-03-09 20:14:38 +01:00
|
|
|
%setup -q -n matplotlib-%{version}
|
2017-07-17 09:12:01 +02:00
|
|
|
%patch0 -p1
|
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||" {} \;
|
2010-11-23 14:45:51 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
cp %{SOURCE1} ./setup.cfg
|
2014-07-23 22:07:19 +02:00
|
|
|
export XDG_RUNTIME_DIR=/tmp
|
2017-05-06 18:29:48 +02:00
|
|
|
%python_build
|
2010-11-23 14:45:51 +01:00
|
|
|
|
|
|
|
%install
|
2014-07-23 22:07:19 +02:00
|
|
|
export XDG_RUNTIME_DIR=/tmp
|
2017-05-06 18:29:48 +02:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%if %{with tests}
|
|
|
|
%check
|
|
|
|
%python_exec tests.py
|
|
|
|
%endif
|
2010-11-23 14:45:51 +01:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files}
|
2010-11-23 14:45:51 +01:00
|
|
|
%defattr(-,root,root,-)
|
2014-09-03 18:22:57 +02:00
|
|
|
%doc README.rst LICENSE CHANGELOG PKG-INFO examples 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*
|
2014-09-03 18:22:57 +02:00
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_qt5agg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_webagg_core.*
|
|
|
|
%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/qt4_compat.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/web_backend/
|
2017-05-06 18:29:48 +02:00
|
|
|
%ifpycache
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3cairo.*
|
|
|
|
%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_qt5.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt5agg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt4_compat.*
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/tkagg.*
|
|
|
|
%endif
|
|
|
|
%ifpython2
|
|
|
|
%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
|
2014-09-03 18:22:57 +02:00
|
|
|
|
2010-11-23 14:45:51 +01:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files cairo}
|
2010-11-23 14:45:51 +01:00
|
|
|
%defattr(-,root,root,-)
|
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}
|
2010-11-23 14:45:51 +01:00
|
|
|
%defattr(-,root,root,-)
|
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
|
|
|
|
2014-09-19 13:56:26 +02:00
|
|
|
# Dummy package to pull in latex dependencies.
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files latex}
|
2014-09-19 13:56:26 +02:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc doc/users/usetex.rst
|
2017-05-06 18:29:48 +02:00
|
|
|
|
2014-09-19 13:56:26 +02:00
|
|
|
|
2014-09-03 18:22:57 +02:00
|
|
|
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
|
|
|
# which is actually a generic qt backend.
|
2017-05-06 18:29:48 +02:00
|
|
|
# So we need to package all the qt5 stuff in a generic
|
|
|
|
# package, and provide the -1t5 stub package which pulls in
|
|
|
|
# the python-qt5 dependency.
|
|
|
|
%files %{python_files qt-shared}
|
2014-09-17 17:26:35 +02:00
|
|
|
%defattr(-,root,root,-)
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_qt5.py*
|
|
|
|
%{python_sitearch}/matplotlib/backends/backend_qt5agg.py*
|
|
|
|
%{python_sitearch}/matplotlib/backends/qt4_compat.py*
|
|
|
|
%{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*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/qt4_compat.*.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*.py*
|
|
|
|
|
|
|
|
%files %{python_files qt4}
|
|
|
|
%{python_sitearch}/matplotlib/backends/backend_qt4.py*
|
|
|
|
%{python_sitearch}/matplotlib/backends/backend_qt4agg.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4.*.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_qt4agg.*.py*
|
|
|
|
|
|
|
|
%files %{python_files qt5}
|
2014-09-03 18:22:57 +02:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README.rst
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files tk}
|
2014-03-09 20:14:38 +01:00
|
|
|
%defattr(-,root,root,-)
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python_sitearch}/matplotlib/backends/backend_tkagg.py*
|
|
|
|
%{python_sitearch}/matplotlib/backends/tkagg.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_tkagg.*.py*
|
|
|
|
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/tkagg.*.py*
|
2014-03-09 20:14:38 +01:00
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files %{python_files web}
|
2014-03-09 20:14:38 +01:00
|
|
|
%defattr(-,root,root,-)
|
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/
|
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
|
|
|
|
2017-05-06 18:29:48 +02:00
|
|
|
%files -n %{python2_prefix}-matplotlib-wx
|
2014-03-09 20:14:38 +01:00
|
|
|
%defattr(-,root,root,-)
|
2017-05-06 18:29:48 +02:00
|
|
|
%{python2_sitearch}/matplotlib/backends/wx_compat.py*
|
|
|
|
%{python2_sitearch}/matplotlib/backends/backend_wx.py*
|
|
|
|
%{python2_sitearch}/matplotlib/backends/backend_wxagg.py*
|
2010-11-23 14:45:51 +01:00
|
|
|
|
|
|
|
%changelog
|