forked from pool/python-matplotlib
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:
@@ -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||" {} \;
|
||||
|
||||
Reference in New Issue
Block a user