forked from pool/python-matplotlib
Accepting request 492245 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/492245 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=52
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
#Not doing tests because they take too long
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-matplotlib
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
@@ -25,104 +30,91 @@ 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
|
||||
Source2: matplotlibplugin.py
|
||||
Source3: matplotlibwidget.py
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fltk-devel
|
||||
BuildRequires: freetype2-devel >= 2.3
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ghostscript
|
||||
BuildRequires: libpng-devel >= 1.2
|
||||
BuildRequires: libxml2
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: libxml2-tools
|
||||
BuildRequires: poppler-tools
|
||||
BuildRequires: python-CXX-devel >= 6.2.4
|
||||
BuildRequires: python-Cycler
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-imaging
|
||||
BuildRequires: python-numpy-devel >= 1.6
|
||||
BuildRequires: python-pyparsing >= 1.5.6
|
||||
BuildRequires: python-python-dateutil >= 1.1
|
||||
BuildRequires: python-pytz
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six >= 1.3
|
||||
BuildRequires: qhull-devel >= 2003.1
|
||||
# needed for testing -- Not doing tests because they take too long
|
||||
# BuildRequires: inkscape
|
||||
# BuildRequires: python-mock
|
||||
# BuildRequires: python-nose
|
||||
# cairo dependencies
|
||||
BuildRequires: python-cairocffi
|
||||
# GTK dependencies
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: libgnome-devel
|
||||
%if 0%{?suse_version} != 1110
|
||||
BuildRequires: python-gobject
|
||||
BuildRequires: python-gobject-devel
|
||||
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}
|
||||
%endif
|
||||
BuildRequires: python-gobject2
|
||||
BuildRequires: python-gobject2-devel
|
||||
BuildRequires: python-gtk >= 2.2.0
|
||||
BuildRequires: python-gtk-devel >= 2.2.0
|
||||
%if 0%{?suse_version} != 1110
|
||||
# cairo dependencies
|
||||
BuildRequires: %{python_module cairocffi}
|
||||
# GTK3 dependencies
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: %{python_module gobject}
|
||||
BuildRequires: %{python_module gobject-devel}
|
||||
# latex dependencies
|
||||
BuildRequires: texlive-dvipng
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive-tex
|
||||
%if 0%{?suse_version} != 1315
|
||||
BuildRequires: texlive-sfmath
|
||||
%endif
|
||||
%endif
|
||||
# Qt4 dependencies
|
||||
%if 0%{?suse_version} != 1110
|
||||
BuildRequires: python-pyside
|
||||
%endif
|
||||
BuildRequires: python-qt4
|
||||
BuildRequires: python-qt4-devel
|
||||
%ifarch %{ix86} x86_64
|
||||
%if 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
|
||||
BuildRequires: %{python_module qt4}
|
||||
BuildRequires: %{python_module qt4-devel}
|
||||
# Qt5 dependencies
|
||||
BuildRequires: python-qt5
|
||||
BuildRequires: python-qt5-devel
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: %{python_module qt5}
|
||||
BuildRequires: %{python_module qt5-devel}
|
||||
# tk dependencies
|
||||
BuildRequires: python-tk
|
||||
BuildRequires: %{python_module tk}
|
||||
BuildRequires: tcl
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: tk
|
||||
BuildRequires: tk-devel
|
||||
BuildRequires: pkgconfig(tcl)
|
||||
BuildRequires: pkgconfig(tk)
|
||||
# WebAgg dependencies
|
||||
BuildRequires: python-tornado
|
||||
%if 0%{?suse_version} != 1110 && 0%{?suse_version} != 1315 || 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
|
||||
%if 0%{?suse_version} >= 1320
|
||||
BuildRequires: %{python_module tornado}
|
||||
# Wx dependencies (currently Python 2 only)
|
||||
BuildRequires: python-wxWidgets
|
||||
BuildRequires: wxWidgets-devel >= 3
|
||||
%else
|
||||
# Wx dependencies
|
||||
BuildRequires: python-wxWidgets >= 2.8
|
||||
BuildRequires: wxWidgets-devel
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires %wx_requires
|
||||
%endif
|
||||
%endif
|
||||
Requires: python-Cycler
|
||||
Requires: python-functools32
|
||||
Requires: python-numpy >= 1.6
|
||||
Requires: python-pyparsing >= 1.5.6
|
||||
Requires: python-python-dateutil >= 1.1
|
||||
Requires: python-pytz
|
||||
Requires: python-six >= 1.3
|
||||
%ifpython2
|
||||
Requires: python-functools32
|
||||
Requires: python-subprocess32
|
||||
%endif
|
||||
Recommends: ghostscript
|
||||
Recommends: libxml2-tools
|
||||
Recommends: python-imaging
|
||||
Recommends: python-Pillow
|
||||
Recommends: poppler-tools
|
||||
Recommends: python-matplotlib-tk
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
# 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}
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
matplotlib is a python 2D plotting library which produces publication
|
||||
quality figures in a variety of hardcopy formats and interactive
|
||||
@@ -141,19 +133,6 @@ Requires: python-cairocffi
|
||||
This package includes the non-interactive Cairo-based backend
|
||||
for the %{name} plotting package
|
||||
|
||||
%package gtk2
|
||||
Summary: GTK2 backends for %{name}
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-cairo = %{version}
|
||||
Requires: python-gobject2
|
||||
Requires: python-gtk >= 2.2.0
|
||||
|
||||
%description gtk2
|
||||
This package includes the GTK2-based gdk, gtk, gtkagg, and
|
||||
gtkcairo backends for the %{name} plotting package
|
||||
|
||||
%package gtk3
|
||||
Summary: GTK3 backends for %{name}
|
||||
License: BSD-2-Clause
|
||||
@@ -197,7 +176,6 @@ License: BSD-2-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-qt-shared = %{version}
|
||||
Requires: python-pyside
|
||||
Requires: python-qt4 >= 4.0
|
||||
|
||||
%description qt4
|
||||
@@ -216,19 +194,6 @@ Requires: python-qt5
|
||||
This package includes the Qt5-based pyqt5 backend
|
||||
for the %{name} plotting package
|
||||
|
||||
%package designer
|
||||
Summary: Qt Designer plugin for %{name}
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name}-qt4 = %{version}
|
||||
Requires: qt-creator
|
||||
|
||||
%description designer
|
||||
This is a plugin and widget to let you use %{name}
|
||||
plots as widget in PyQt4 GUIs using Qt Designer
|
||||
|
||||
This plugin comes from Python(x,y)
|
||||
|
||||
%package tk
|
||||
Summary: Tk backend for %{name}
|
||||
License: BSD-2-Clause
|
||||
@@ -252,14 +217,14 @@ Requires: python-tornado
|
||||
This package includes the browser-based webagg backend
|
||||
for the %{name} plotting package
|
||||
|
||||
%package wx
|
||||
%package -n %{python2_prefix}-matplotlib-wx
|
||||
Summary: WxWidgets backend for %{name}
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: python-wxWidgets >= 2.8
|
||||
|
||||
%description wx
|
||||
%description -n %{python2_prefix}-matplotlib-wx
|
||||
This package includes the wxWidgets-based wxagg backend
|
||||
for %{name} plotting package
|
||||
|
||||
@@ -271,25 +236,20 @@ find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec
|
||||
|
||||
%build
|
||||
cp %{SOURCE1} ./setup.cfg
|
||||
%if 0%{?suse_version} > 1310
|
||||
export XDG_RUNTIME_DIR=/tmp
|
||||
%endif
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if 0%{?suse_version} > 1310
|
||||
export XDG_RUNTIME_DIR=/tmp
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%python_exec tests.py
|
||||
%endif
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
|
||||
# Install designer plugin
|
||||
mkdir -p %{buildroot}%{_libdir}/qt4/plugins/designer/python/
|
||||
install -vm 755 %{SOURCE2} %{buildroot}%{_libdir}/qt4/plugins/designer/python/
|
||||
install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
|
||||
|
||||
%fdupes %{buildroot}%{python_sitearch}
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst LICENSE CHANGELOG PKG-INFO examples doc/users/license.rst
|
||||
%{python_sitearch}/matplotlib/
|
||||
@@ -297,121 +257,112 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
|
||||
%{python_sitearch}/matplotlib-%{version}-py*-nspkg.pth
|
||||
%{python_sitearch}/mpl_toolkits
|
||||
%{python_sitearch}/pylab.py*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/_backend_gdk.so
|
||||
%exclude %{python_sitearch}/matplotlib/backends/_gtkagg.so
|
||||
%exclude %{python_sitearch}/matplotlib/backends/_tkagg.so
|
||||
%pycache_only %{python_sitearch}/__pycache__/pylab.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_cairo.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_cocoaagg.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_gdk.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_gtkagg.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_gtkcairo.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_qt4.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_qt4agg.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_qt4.py*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_qt4agg.py*
|
||||
%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/backend_wx.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/qt_compat.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/qt_editor/
|
||||
%exclude %{python_sitearch}/matplotlib/backends/qt4_compat.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
||||
%exclude %{python_sitearch}/matplotlib/backends/qt_editor/
|
||||
%exclude %{python_sitearch}/matplotlib/backends/web_backend/
|
||||
%exclude %{python_sitearch}/mpl_toolkits/gtktools.*
|
||||
|
||||
%files cairo
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_cairo.*
|
||||
|
||||
%files gtk2
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/_backend_gdk.so
|
||||
%{python_sitearch}/matplotlib/backends/_gtkagg.so
|
||||
%{python_sitearch}/matplotlib/backends/backend_gdk.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_gtk.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_gtkagg.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_gtkcairo.*
|
||||
%{python_sitearch}/mpl_toolkits/gtktools.*
|
||||
|
||||
%if 0%{?suse_version} != 1110
|
||||
%files gtk3
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_gtk3.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
|
||||
%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
|
||||
|
||||
%if 0%{?suse_version} != 1110
|
||||
|
||||
%files %{python_files cairo}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_cairo.py*
|
||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*.py*
|
||||
|
||||
%files %{python_files gtk3}
|
||||
%defattr(-,root,root,-)
|
||||
%{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*
|
||||
|
||||
# Dummy package to pull in latex dependencies.
|
||||
%files latex
|
||||
%files %{python_files latex}
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/users/usetex.rst
|
||||
%endif
|
||||
|
||||
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
||||
# which is actually a generic qt backend.
|
||||
# So we need to package all the qt5 stuff in this generic
|
||||
# package, and provide a stub package which pulls in the
|
||||
# python-qt5 dependency.
|
||||
|
||||
%files qt-shared
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_qt5.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_qt5agg.*
|
||||
%{python_sitearch}/matplotlib/backends/qt_compat.*
|
||||
%{python_sitearch}/matplotlib/backends/qt4_compat.*
|
||||
%{python_sitearch}/matplotlib/backends/qt_editor/
|
||||
|
||||
%files qt4
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_qt4.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_qt4agg.*
|
||||
|
||||
%files designer
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_libdir}/qt4/
|
||||
%dir %{_libdir}/qt4/plugins/
|
||||
%dir %{_libdir}/qt4/plugins/designer/
|
||||
%dir %{_libdir}/qt4/plugins/designer/python/
|
||||
%{_libdir}/qt4/plugins/designer/python/matplotlibplugin.py
|
||||
%{python_sitearch}/matplotlibwidget.py
|
||||
|
||||
%ifarch %{ix86} x86_64
|
||||
%if 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
|
||||
%files qt5
|
||||
%defattr(-,root,root,-)
|
||||
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
||||
# which is actually a generic qt backend.
|
||||
# So we need to package all the qt5 stuff in a generic
|
||||
# package, and provide this stub package which pulls in the
|
||||
# python-qt5 dependency.
|
||||
# package, and provide the -1t5 stub package which pulls in
|
||||
# the python-qt5 dependency.
|
||||
%files %{python_files qt-shared}
|
||||
%defattr(-,root,root,-)
|
||||
%{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*
|
||||
%{python_sitearch}/matplotlib/backends/qt_editor/
|
||||
%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}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files tk
|
||||
%files %{python_files tk}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
||||
%{python_sitearch}/matplotlib/backends/tkagg.*
|
||||
%{python_sitearch}/matplotlib/backends/_tkagg.so
|
||||
%{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*
|
||||
|
||||
%files web
|
||||
%files %{python_files web}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_webagg.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_webagg_core.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_webagg.py*
|
||||
%{python_sitearch}/matplotlib/backends/backend_webagg_core.py*
|
||||
%{python_sitearch}/matplotlib/backends/web_backend/
|
||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg.*.py*
|
||||
%pycache_only %{python_sitearch}/matplotlib/backends/__pycache__/backend_webagg_core.*.py*
|
||||
|
||||
%if 0%{?suse_version} != 1110 && 0%{?suse_version} != 1315 || 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
|
||||
%files wx
|
||||
%files -n %{python2_prefix}-matplotlib-wx
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/matplotlib/backends/backend_wx.*
|
||||
%{python_sitearch}/matplotlib/backends/backend_wxagg.*
|
||||
%endif
|
||||
%{python2_sitearch}/matplotlib/backends/wx_compat.py*
|
||||
%{python2_sitearch}/matplotlib/backends/backend_wx.py*
|
||||
%{python2_sitearch}/matplotlib/backends/backend_wxagg.py*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user