1
0

Accepting request 448462 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/448462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=49
This commit is contained in:
2017-01-10 09:45:39 +00:00
committed by Git OBS Bridge
parent 49fddd478c
commit 7aba17e4dc
4 changed files with 18 additions and 7 deletions

View File

@@ -17,13 +17,13 @@
Name: python-matplotlib
Version: 1.5.1
Version: 1.5.3
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
Group: Development/Libraries/Python
Url: http://matplotlib.org
Source: https://pypi.python.org/packages/source/m/matplotlib/matplotlib-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-%{version}.tar.gz
Source1: matplotlib-setup.cfg
Source2: matplotlibplugin.py
Source3: matplotlibwidget.py
@@ -39,8 +39,8 @@ BuildRequires: pkg-config
BuildRequires: poppler-tools
BuildRequires: python-CXX-devel >= 6.2.4
BuildRequires: python-Cycler
BuildRequires: python-Pillow
BuildRequires: python-devel
BuildRequires: python-imaging
BuildRequires: python-numpy-devel >= 1.6
BuildRequires: python-pyparsing >= 1.5.6
BuildRequires: python-python-dateutil >= 1.1
@@ -115,7 +115,7 @@ Requires: python-pytz
Requires: python-six >= 1.3
Recommends: ghostscript
Recommends: libxml2-tools
Recommends: python-Pillow
Recommends: python-imaging
Recommends: poppler-tools
Recommends: python-matplotlib-tk
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -266,6 +266,7 @@ for %{name} plotting package
%setup -q -n matplotlib-%{version}
chmod -x lib/matplotlib/mpl-data/images/*.svg
find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/env python||" {} \;
find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec sed -i "s|#!\/usr\/bin\/python||" {} \;
%build
cp %{SOURCE1} ./setup.cfg