1
0

Accepting request 353007 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/353007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=46
This commit is contained in:
2016-01-12 15:13:12 +00:00
committed by Git OBS Bridge
parent a8d7d16698
commit 5a9272abaf
4 changed files with 21 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-matplotlib
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-matplotlib
Version: 1.5.0
Version: 1.5.1
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
@@ -81,7 +81,7 @@ BuildRequires: python-pyside
BuildRequires: python-qt4
BuildRequires: python-qt4-devel
%ifarch %{ix86} x86_64
%if 0%{?suse_version} > 1315
%if 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
# Qt5 dependencies
BuildRequires: python-qt5
BuildRequires: python-qt5-devel
@@ -95,7 +95,7 @@ BuildRequires: tk
BuildRequires: tk-devel
# WebAgg dependencies
BuildRequires: python-tornado
%if 0%{?suse_version} != 1315 && 0%{?suse_version} != 1110
%if 0%{?suse_version} != 1110 && 0%{?suse_version} != 1315 || 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
# Wx dependencies
BuildRequires: python-wxWidgets >= 2.8
BuildRequires: wxWidgets-devel
@@ -376,7 +376,7 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
%{python_sitearch}/matplotlibwidget.py
%ifarch %{ix86} x86_64
%if 0%{?suse_version} > 1315
%if 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
%files qt5
%defattr(-,root,root,-)
# IMPORTANT: the qt4 backend makes use of the qt5 backend,
@@ -400,7 +400,7 @@ install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
%{python_sitearch}/matplotlib/backends/backend_webagg_core.*
%{python_sitearch}/matplotlib/backends/web_backend/
%if 0%{?suse_version} != 1315 && 0%{?suse_version} != 1110
%if 0%{?suse_version} != 1110 && 0%{?suse_version} != 1315 || 0%{?suse_version} >= 1315 && 0%{?is_opensuse} != 0
%files wx
%defattr(-,root,root,-)
%{python_sitearch}/matplotlib/backends/backend_wx.*