[med-svn] [python-skbio] 01/03: Don't build pdf figures

Kevin Murray daube-guest at moszumanska.debian.org
Sat Feb 13 19:06:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

daube-guest pushed a commit to branch master
in repository python-skbio.

commit 9101311c61a12e6dd35a24595bec5639410202a5
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Sat Feb 13 11:00:59 2016 -0800

    Don't build pdf figures
---
 ...rce-use-of-Agg-backend-no-X-for-matplotlib.patch |  6 ++++--
 debian/patches/0004-Don-t-build-pdf-figures.patch   | 21 +++++++++++++++++++++
 .../0005-Set-mathjax-path-to-debian-s-copy.patch    |  4 +++-
 debian/patches/series                               |  1 +
 4 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/debian/patches/0003-Force-use-of-Agg-backend-no-X-for-matplotlib.patch b/debian/patches/0003-Force-use-of-Agg-backend-no-X-for-matplotlib.patch
index 0008224..9b88c61 100644
--- a/debian/patches/0003-Force-use-of-Agg-backend-no-X-for-matplotlib.patch
+++ b/debian/patches/0003-Force-use-of-Agg-backend-no-X-for-matplotlib.patch
@@ -6,9 +6,11 @@ Subject: Force use of Agg backend (no X) for matplotlib
  doc/source/conf.py | 5 +++++
  1 file changed, 5 insertions(+)
 
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index 30a8a04..3a5d9db 100644
 --- a/doc/source/conf.py
 +++ b/doc/source/conf.py
-@@ -7,6 +7,10 @@
+@@ -7,6 +7,10 @@ import os
  import types
  import re
  
@@ -19,7 +21,7 @@ Subject: Force use of Agg backend (no X) for matplotlib
  import sphinx
  import sphinx.ext.autosummary as autosummary
  
-@@ -128,6 +132,7 @@
+@@ -128,6 +132,7 @@ extensions = [
  
  # Determine if the matplotlib has a recent enough version of the
  # plot_directive.
diff --git a/debian/patches/0004-Don-t-build-pdf-figures.patch b/debian/patches/0004-Don-t-build-pdf-figures.patch
new file mode 100644
index 0000000..3066bc6
--- /dev/null
+++ b/debian/patches/0004-Don-t-build-pdf-figures.patch
@@ -0,0 +1,21 @@
+From: Kevin Murray <spam at kdmurray.id.au>
+Date: Sat, 13 Feb 2016 11:00:19 -0800
+Subject: Don't build pdf figures
+
+---
+ doc/source/conf.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index 1621c9a..3a72754 100644
+--- a/doc/source/conf.py
++++ b/doc/source/conf.py
+@@ -416,7 +416,7 @@ import scipy as sp
+ np.random.seed(123)
+ """
+ plot_include_source = True
+-#plot_formats = [('png', 96), 'pdf']
++plot_formats = [('png', 96), ]
+ #plot_html_show_formats = False
+ 
+ import math
diff --git a/debian/patches/0005-Set-mathjax-path-to-debian-s-copy.patch b/debian/patches/0005-Set-mathjax-path-to-debian-s-copy.patch
index 728bbdd..5f57571 100644
--- a/debian/patches/0005-Set-mathjax-path-to-debian-s-copy.patch
+++ b/debian/patches/0005-Set-mathjax-path-to-debian-s-copy.patch
@@ -6,9 +6,11 @@ Subject: Set mathjax path to debian's copy
  doc/source/conf.py | 2 ++
  1 file changed, 2 insertions(+)
 
+diff --git a/doc/source/conf.py b/doc/source/conf.py
+index 3a5d9db..1621c9a 100644
 --- a/doc/source/conf.py
 +++ b/doc/source/conf.py
-@@ -130,6 +130,8 @@
+@@ -130,6 +130,8 @@ extensions = [
      'sphinx.ext.intersphinx'
  ]
  
diff --git a/debian/patches/series b/debian/patches/series
index 0932e9b..40b52c0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0003-Force-use-of-Agg-backend-no-X-for-matplotlib.patch
 0004-Don-t-turn-sphinx-warnings-into-errors.patch
 0005-Set-mathjax-path-to-debian-s-copy.patch
+0004-Don-t-build-pdf-figures.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-skbio.git



More information about the debian-med-commit mailing list