[med-svn] [python-skbio] 07/09: Use debian mathjax, fix install path

Kevin Murray daube-guest at moszumanska.debian.org
Mon Nov 30 02:37:53 UTC 2015


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 2d393b3942ef2a7af9fea99edd9a497df8ce0268
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Mon Nov 30 13:29:34 2015 +1100

    Use debian mathjax, fix install path
---
 .../0005-Set-mathjax-path-to-debian-s-copy.patch    | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 debian/python-skbio-doc.install                     |  2 +-
 3 files changed, 23 insertions(+), 1 deletion(-)

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
new file mode 100644
index 0000000..de7e8c5
--- /dev/null
+++ b/debian/patches/0005-Set-mathjax-path-to-debian-s-copy.patch
@@ -0,0 +1,21 @@
+From: Kevin Murray <spam at kdmurray.id.au>
+Date: Mon, 30 Nov 2015 13:26:34 +1100
+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 cd40a43..b467954 100644
+--- a/doc/source/conf.py
++++ b/doc/source/conf.py
+@@ -55,6 +55,8 @@ extensions = [
+ #    'sphinx.ext.intersphinx'
+ ]
+ 
++mathjax_path='/usr/share/javascript/mathjax/MathJax.js'
++
+ # Determine if the matplotlib has a recent enough version of the
+ # plot_directive.
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 197fe3e..7d40ef6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Disable-intersphinx.patch
 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
diff --git a/debian/python-skbio-doc.install b/debian/python-skbio-doc.install
index 0d1cb48..e4a9d37 100644
--- a/debian/python-skbio-doc.install
+++ b/debian/python-skbio-doc.install
@@ -1 +1 @@
-doc/build/ usr/share/doc/python-skbio-doc/
+doc/build/html usr/share/doc/python-skbio-doc/

-- 
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