forked from pool/python-matplotlib
Accepting request 314735 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/314735 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=43
This commit is contained in:
parent
62066e27e3
commit
42b162f3fb
@ -77,7 +77,7 @@ gtkagg = True
|
|||||||
pyside = Auto
|
pyside = Auto
|
||||||
qt4agg = Auto
|
qt4agg = Auto
|
||||||
tkagg = True
|
tkagg = True
|
||||||
wxagg = True
|
wxagg = Auto
|
||||||
macosx = False
|
macosx = False
|
||||||
windowing = False
|
windowing = False
|
||||||
|
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 1 12:26:33 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Disable qt5 on SLE 12
|
||||||
|
- Disable wx on SLE 11 and 12
|
||||||
|
- Disable latex and gtk3 on SLE 11
|
||||||
|
- Don't require texlive-sfmath on SLE 12
|
||||||
|
- Disable qt5 on ppc and arm
|
||||||
|
- Depend on libxml2 instead of libxml2-tools
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 21 15:01:06 UTC 2015 - toddrme2178@gmail.com
|
Thu May 21 15:01:06 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ BuildRequires: freetype2-devel >= 2.3
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: ghostscript
|
BuildRequires: ghostscript
|
||||||
BuildRequires: libpng-devel >= 1.2
|
BuildRequires: libpng-devel >= 1.2
|
||||||
BuildRequires: libxml2-tools
|
BuildRequires: libxml2
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: poppler-tools
|
BuildRequires: poppler-tools
|
||||||
BuildRequires: python-CXX-devel >= 6.2.4
|
BuildRequires: python-CXX-devel >= 6.2.4
|
||||||
@ -57,26 +57,36 @@ BuildRequires: python-cairocffi
|
|||||||
# GTK dependencies
|
# GTK dependencies
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: libgnome-devel
|
BuildRequires: libgnome-devel
|
||||||
|
%if 0%{?suse_version} != 1110
|
||||||
BuildRequires: python-gobject
|
BuildRequires: python-gobject
|
||||||
BuildRequires: python-gobject-devel
|
BuildRequires: python-gobject-devel
|
||||||
|
%endif
|
||||||
BuildRequires: python-gobject2
|
BuildRequires: python-gobject2
|
||||||
BuildRequires: python-gobject2-devel
|
BuildRequires: python-gobject2-devel
|
||||||
BuildRequires: python-gtk >= 2.2.0
|
BuildRequires: python-gtk >= 2.2.0
|
||||||
BuildRequires: python-gtk-devel >= 2.2.0
|
BuildRequires: python-gtk-devel >= 2.2.0
|
||||||
|
%if 0%{?suse_version} != 1110
|
||||||
# latex dependencies
|
# latex dependencies
|
||||||
BuildRequires: texlive-dvipng
|
BuildRequires: texlive-dvipng
|
||||||
BuildRequires: texlive-latex
|
BuildRequires: texlive-latex
|
||||||
BuildRequires: texlive-sfmath
|
|
||||||
BuildRequires: texlive-tex
|
BuildRequires: texlive-tex
|
||||||
|
%if 0%{?suse_version} != 1315
|
||||||
|
BuildRequires: texlive-sfmath
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
# Qt4 dependencies
|
# Qt4 dependencies
|
||||||
|
%if 0%{?suse_version} != 1110
|
||||||
BuildRequires: python-pyside
|
BuildRequires: python-pyside
|
||||||
|
%endif
|
||||||
BuildRequires: python-qt4
|
BuildRequires: python-qt4
|
||||||
BuildRequires: python-qt4-devel
|
BuildRequires: python-qt4-devel
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
|
%if 0%{?suse_version} > 1315
|
||||||
# Qt5 dependencies
|
# Qt5 dependencies
|
||||||
%if 0%{?suse_version} > 1310
|
|
||||||
BuildRequires: python-qt5
|
BuildRequires: python-qt5
|
||||||
BuildRequires: python-qt5-devel
|
BuildRequires: python-qt5-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
# tk dependencies
|
# tk dependencies
|
||||||
BuildRequires: python-tk
|
BuildRequires: python-tk
|
||||||
BuildRequires: tcl
|
BuildRequires: tcl
|
||||||
@ -85,11 +95,13 @@ BuildRequires: tk
|
|||||||
BuildRequires: tk-devel
|
BuildRequires: tk-devel
|
||||||
# WebAgg dependencies
|
# WebAgg dependencies
|
||||||
BuildRequires: python-tornado
|
BuildRequires: python-tornado
|
||||||
|
%if 0%{?suse_version} != 1315 && 0%{?suse_version} != 1110
|
||||||
# Wx dependencies
|
# Wx dependencies
|
||||||
BuildRequires: python-wxWidgets >= 2.8
|
BuildRequires: python-wxWidgets >= 2.8
|
||||||
BuildRequires: wxWidgets-devel
|
BuildRequires: wxWidgets-devel
|
||||||
%define _use_internal_dependency_generator 0
|
%define _use_internal_dependency_generator 0
|
||||||
%define __find_requires %wx_requires
|
%define __find_requires %wx_requires
|
||||||
|
%endif
|
||||||
Requires: python-dateutil >= 1.1
|
Requires: python-dateutil >= 1.1
|
||||||
Requires: python-numpy >= 1.6
|
Requires: python-numpy >= 1.6
|
||||||
Requires: python-pyparsing >= 1.5.6
|
Requires: python-pyparsing >= 1.5.6
|
||||||
@ -319,17 +331,20 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
|
|||||||
%{python_sitearch}/matplotlib/backends/backend_gtkcairo.*
|
%{python_sitearch}/matplotlib/backends/backend_gtkcairo.*
|
||||||
%{python_sitearch}/mpl_toolkits/gtktools.*
|
%{python_sitearch}/mpl_toolkits/gtktools.*
|
||||||
|
|
||||||
|
%if 0%{?suse_version} != 1110
|
||||||
%files gtk3
|
%files gtk3
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitearch}/matplotlib/backends/backend_gtk3.*
|
%{python_sitearch}/matplotlib/backends/backend_gtk3.*
|
||||||
%{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
|
%{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
|
||||||
%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
|
%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} != 1110
|
||||||
# Dummy package to pull in latex dependencies.
|
# Dummy package to pull in latex dependencies.
|
||||||
|
|
||||||
%files latex
|
%files latex
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/users/usetex.rst
|
%doc doc/users/usetex.rst
|
||||||
|
%endif
|
||||||
|
|
||||||
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
||||||
# which is actually a generic qt backend.
|
# which is actually a generic qt backend.
|
||||||
@ -359,7 +374,8 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
|
|||||||
%{_libdir}/qt4/plugins/designer/python/matplotlibplugin.py
|
%{_libdir}/qt4/plugins/designer/python/matplotlibplugin.py
|
||||||
%{python_sitearch}/matplotlibwidget.py
|
%{python_sitearch}/matplotlibwidget.py
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1310
|
%ifarch %{ix86} x86_64
|
||||||
|
%if 0%{?suse_version} > 1315
|
||||||
%files qt5
|
%files qt5
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
|
||||||
@ -369,6 +385,7 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
|
|||||||
# python-qt5 dependency.
|
# python-qt5 dependency.
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files tk
|
%files tk
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -382,9 +399,11 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
|
|||||||
%{python_sitearch}/matplotlib/backends/backend_webagg_core.*
|
%{python_sitearch}/matplotlib/backends/backend_webagg_core.*
|
||||||
%{python_sitearch}/matplotlib/backends/web_backend/
|
%{python_sitearch}/matplotlib/backends/web_backend/
|
||||||
|
|
||||||
|
%if 0%{?suse_version} != 1315 && 0%{?suse_version} != 1110
|
||||||
%files wx
|
%files wx
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitearch}/matplotlib/backends/backend_wx.*
|
%{python_sitearch}/matplotlib/backends/backend_wx.*
|
||||||
%{python_sitearch}/matplotlib/backends/backend_wxagg.*
|
%{python_sitearch}/matplotlib/backends/backend_wxagg.*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user