[Python-modules-commits] r9976 - in packages/matplotlib/trunk/debian (3 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Oct 9 07:25:33 UTC 2009


    Date: Friday, October 9, 2009 @ 07:25:28
  Author: morph
Revision: 9976

* debian/patches/30_doc_pass_dpi.dpatch
  - pass DPI when building doc images

Added:
  packages/matplotlib/trunk/debian/patches/30_doc_pass_dpi.dpatch
Modified:
  packages/matplotlib/trunk/debian/changelog
  packages/matplotlib/trunk/debian/patches/00list

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2009-10-08 21:38:05 UTC (rev 9975)
+++ packages/matplotlib/trunk/debian/changelog	2009-10-09 07:25:28 UTC (rev 9976)
@@ -7,6 +7,8 @@
     - added python-imaging to b-d (needed for -doc package)
     - added librsvg2-common to Suggests of python-matplotlib, needed by GTKAgg
       backend; thanks to Jonas for the report and suggestion; Closes: #548874
+  * debian/patches/30_doc_pass_dpi.dpatch
+    - pass DPI when building doc images
 
   [ Benjamin Drung ]
   * wrote 05-find-tcl-tk-directory.dpatch
@@ -15,7 +17,7 @@
     - refresh clean target
   * link to fonts in ttf-lyx to make lintian happy
 
- -- Sandro Tosi <morph at debian.org>  Wed, 07 Oct 2009 16:45:22 +0200
+ -- Sandro Tosi <morph at debian.org>  Fri, 09 Oct 2009 09:24:06 +0200
 
 matplotlib (0.99.0-1) unstable; urgency=low
 

Modified: packages/matplotlib/trunk/debian/patches/00list
===================================================================
--- packages/matplotlib/trunk/debian/patches/00list	2009-10-08 21:38:05 UTC (rev 9975)
+++ packages/matplotlib/trunk/debian/patches/00list	2009-10-09 07:25:28 UTC (rev 9976)
@@ -1,3 +1,4 @@
 05-find-tcl-tk-directory.dpatch
 10_build_fix.dpatch
 20_matplotlibrc_path_search_fix.dpatch
+30_doc_pass_dpi

Added: packages/matplotlib/trunk/debian/patches/30_doc_pass_dpi.dpatch
===================================================================
--- packages/matplotlib/trunk/debian/patches/30_doc_pass_dpi.dpatch	                        (rev 0)
+++ packages/matplotlib/trunk/debian/patches/30_doc_pass_dpi.dpatch	2009-10-09 07:25:28 UTC (rev 9976)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_doc_pass_dpi.dpatch by Sandro Tosi <morph at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad matplotlib~/doc/make.py matplotlib/doc/make.py
+--- matplotlib~/doc/make.py	2009-08-01 21:14:12.000000000 +0200
++++ matplotlib/doc/make.py	2009-10-09 08:56:04.000000000 +0200
+@@ -30,7 +30,7 @@
+     check_build()
+     shutil.copy('../lib/matplotlib/mpl-data/matplotlibrc', '_static/matplotlibrc')
+     if small_docs:
+-        options = "-D plot_formats=\"['png']\""
++        options = "-D plot_formats=\"[('png', 80)]\""
+     else:
+         options = ''
+     if os.system('sphinx-build %s -P -b html -d build/doctrees . build/html' % options):


Property changes on: packages/matplotlib/trunk/debian/patches/30_doc_pass_dpi.dpatch
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-modules-commits mailing list