1
0

Accepting request 606286 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/606286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=61
This commit is contained in:
Dominique Leuenberger 2018-05-11 07:18:53 +00:00 committed by Git OBS Bridge
parent f32f254f48
commit cd6d6fe8fe
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 10 22:27:45 UTC 2018 - toddrme2178@gmail.com
- Fix building on SLE which doesn't have qhull.
-------------------------------------------------------------------
Sat Mar 17 19:29:36 UTC 2018 - arun@gmx.de

View File

@ -35,7 +35,6 @@ BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: pkg-config
BuildRequires: python-rpm-macros
BuildRequires: qhull-devel >= 2003.1
BuildRequires: pkgconfig(freetype2) >= 2.3
BuildRequires: pkgconfig(libpng) >= 1.2
# Python 2 only
@ -64,6 +63,7 @@ BuildRequires: texlive-dvipng
BuildRequires: texlive-latex
BuildRequires: texlive-tex
%if 0%{?is_opensuse}
BuildRequires: qhull-devel >= 2003.1
BuildRequires: texlive-sfmath
BuildRequires: tex(8a.enc)
BuildRequires: tex(helvet.sty)
@ -301,7 +301,9 @@ trap "kill $! || true" EXIT
%exclude %{python_sitearch}/matplotlib/backends/qt_editor/
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
%exclude %{python_sitearch}/matplotlib/backends/web_backend/
%endif
%ifpycache
%if 0%{?is_opensuse}
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_cairo.*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3.*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/backend_gtk3agg.*
@ -316,7 +318,9 @@ trap "kill $! || true" EXIT
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/qt_compat.*
%exclude %{python_sitearch}/matplotlib/backends/__pycache__/tkagg.*
%endif
%endif
%ifpython2
%if 0%{?is_opensuse}
%exclude %{python_sitearch}/matplotlib/backends/backend_wx.py*
%exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.py*
%exclude %{python_sitearch}/matplotlib/backends/wx_compat.py*