darwin: matplotlib: update darwin patch for 1.5.0

This commit is contained in:
Asko Soukka
2015-11-01 14:55:06 +02:00
parent f933b48a53
commit 80fd9e96be
2 changed files with 10 additions and 12 deletions

View File

@@ -37,14 +37,13 @@ buildPythonPackage rec {
patches = stdenv.lib.optionals stdenv.isDarwin [ ./darwin-stdenv.patch ];
patchPhase = ''
prePatch = ''
# Failing test: ERROR: matplotlib.tests.test_style.test_use_url
sed -i 's/test_use_url/fails/' lib/matplotlib/tests/test_style.py
# Failing test: ERROR: test suite for <class 'matplotlib.sphinxext.tests.test_tinypages.TestTinyPages'>
sed -i 's/TestTinyPages/fails/' lib/matplotlib/sphinxext/tests/test_tinypages.py
'';
meta = with stdenv.lib; {
description = "python plotting library, making publication quality plots";
homepage = "http://matplotlib.sourceforge.net/";