[Python-modules-commits] r26066 - in packages/matplotlib/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sat Oct 5 23:23:51 UTC 2013


    Date: Saturday, October 5, 2013 @ 23:23:48
  Author: morph
Revision: 26066

* debian/{control, patches/70_bts720549_try_StayPuft_for_xkcd.patch}
  - try also StayPuft font when using xkcd style function; thanks to Elena
    Grandi for the report; Closes: #720549

Added:
  packages/matplotlib/trunk/debian/patches/70_bts720549_try_StayPuft_for_xkcd.patch
Modified:
  packages/matplotlib/trunk/debian/changelog
  packages/matplotlib/trunk/debian/control
  packages/matplotlib/trunk/debian/patches/series

Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog	2013-10-05 14:43:22 UTC (rev 26065)
+++ packages/matplotlib/trunk/debian/changelog	2013-10-05 23:23:48 UTC (rev 26066)
@@ -11,8 +11,11 @@
     - added ghostscript and inkscape to Suggests (to run tests) and
       python-imaging to Recommends (enhance mpl usage); thanks to Tobias Megies
       for the report; Closes: #725047
+  * debian/{control, patches/70_bts720549_try_StayPuft_for_xkcd.patch}
+    - try also StayPuft font when using xkcd style function; thanks to Elena
+      Grandi for the report; Closes: #720549
 
- -- Sandro Tosi <morph at debian.org>  Sat, 05 Oct 2013 15:40:31 +0200
+ -- Sandro Tosi <morph at debian.org>  Sun, 06 Oct 2013 01:22:48 +0200
 
 matplotlib (1.3.0-1.1) unstable; urgency=low
 

Modified: packages/matplotlib/trunk/debian/control
===================================================================
--- packages/matplotlib/trunk/debian/control	2013-10-05 14:43:22 UTC (rev 26065)
+++ packages/matplotlib/trunk/debian/control	2013-10-05 23:23:48 UTC (rev 26066)
@@ -95,7 +95,8 @@
           python-traits (>= 2.0),
           python-wxgtk2.8,
           texlive-extra-utils,
-          texlive-latex-extra
+          texlive-latex-extra,
+          ttf-staypuft
 Description: Python based plotting system in a style similar to Matlab
  Matplotlib is a pure Python plotting library designed to bring
  publication quality plotting to Python with a syntax familiar to
@@ -132,7 +133,8 @@
           python3-sip,
           python3-tornado,
           texlive-extra-utils,
-          texlive-latex-extra
+          texlive-latex-extra,
+          ttf-staypuft
 Description: Python based plotting system in a style similar to Matlab (Python 3)
  Matplotlib is a pure Python plotting library designed to bring
  publication quality plotting to Python with a syntax familiar to

Added: packages/matplotlib/trunk/debian/patches/70_bts720549_try_StayPuft_for_xkcd.patch
===================================================================
--- packages/matplotlib/trunk/debian/patches/70_bts720549_try_StayPuft_for_xkcd.patch	                        (rev 0)
+++ packages/matplotlib/trunk/debian/patches/70_bts720549_try_StayPuft_for_xkcd.patch	2013-10-05 23:23:48 UTC (rev 26066)
@@ -0,0 +1,19 @@
+Description: Try to use also StayPuft (a free font) for xkcd
+Author: Sandro Tosi <morph at debian.org>
+Origin: vendor
+Bug: http://bugs.debian.org/720549
+Forwarded: not-needed
+Last-Update: 2013-10-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/lib/matplotlib/pyplot.py
++++ b/lib/matplotlib/pyplot.py
+@@ -289,7 +289,7 @@ def xkcd(scale=1, length=100, randomness
+     from matplotlib import patheffects
+     context = rc_context()
+     try:
+-        rcParams['font.family'] = ['Humor Sans', 'Comic Sans MS']
++        rcParams['font.family'] = ['Humor Sans', 'Comic Sans MS', 'StayPuft']
+         rcParams['font.size'] = 14.0
+         rcParams['path.sketch'] = (scale, length, randomness)
+         rcParams['path.effects'] = [

Modified: packages/matplotlib/trunk/debian/patches/series
===================================================================
--- packages/matplotlib/trunk/debian/patches/series	2013-10-05 14:43:22 UTC (rev 26065)
+++ packages/matplotlib/trunk/debian/patches/series	2013-10-05 23:23:48 UTC (rev 26066)
@@ -3,3 +3,4 @@
 40_bts608939_draw_markers_description.patch
 50_bts608942_spaces_in_param_args.patch
 60_deal_with_no_writable_dirs.patch
+70_bts720549_try_StayPuft_for_xkcd.patch




More information about the Python-modules-commits mailing list