File: 30_disable_sample_downloads.patch

package info (click to toggle)
matplotlib 1.1.1~rc2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 66,076 kB
  • sloc: python: 90,600; cpp: 69,891; objc: 5,231; ansic: 1,723; makefile: 171; sh: 7
file content (15 lines) | stat: -rw-r--r-- 893 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: disable download of sample data (used to run examples)
Author: Benjamin Gamari <bgamari.foss@gmail.com>

Index: matplotlib-1.1.0~rc1/matplotlibrc.template
===================================================================
--- matplotlib-1.1.0~rc1.orig/matplotlibrc.template	2011-09-24 17:08:27.000000000 +0200
+++ matplotlib-1.1.0~rc1/matplotlibrc.template	2011-09-26 23:46:09.712993921 +0200
@@ -404,5 +404,5 @@
 # examples.download to False and examples.directory to the directory
 # where you have a checkout of https://github.com/matplotlib/sample_data
 
-#examples.download : True  # False to bypass downloading mechanism
-#examples.directory : ''   # directory to look in if download is false
+examples.download : False  # False to bypass downloading mechanism
+examples.directory : '/usr/share/matplotlib/sampledata'   # absolute directory to look in if download is false