1
0

Accepting request 510271 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/510271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=53
This commit is contained in:
2017-07-17 07:12:01 +00:00
committed by Git OBS Bridge
parent f69b712df4
commit 946bb729f5
3 changed files with 58 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ 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
# PATCH-FIX-OPENSUSE 0001-Fix-include-path-for-system-libqhull.patch stefan.bruens@rwth-aachen.de -- avoid using bundled qhull, fixed in mpl 2.1.0
Patch0: 0001-Fix-include-path-for-system-libqhull.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-rpm-macros
BuildRequires: c++_compiler
@@ -230,6 +232,7 @@ for %{name} plotting package
%prep
%setup -q -n matplotlib-%{version}
%patch0 -p1
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||" {} \;