[med-svn] [python-multipletau] 08/10: d/patches/packaged-mathjax.path: use packaged copy of MathJax d/control: add libjs-mathjax to -doc package only

Alex Mestiashvili malex-guest at moszumanska.debian.org
Tue Dec 15 17:11:46 UTC 2015


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

malex-guest pushed a commit to branch master
in repository python-multipletau.

commit 0f0d0804a84d3222db0e8d3d292da5367781000c
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Tue Dec 15 17:11:13 2015 +0100

    d/patches/packaged-mathjax.path: use packaged copy of MathJax
    d/control: add libjs-mathjax to -doc package only
---
 debian/control                       |  3 +--
 debian/patches/packaged-mathjax.path | 13 +++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index df37a37..c6c8f14 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python,
-               libjs-mathjax,
                python-all,
                python-nose,
                python-numpy,
@@ -54,7 +53,7 @@ Description: multiple-tau algorithm for Python3/NumPy
 Package: python-multipletau-doc
 Architecture: all
 Section: doc
-Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}, libjs-mathjax
 Description: documentation for multipletau Python module
  This package contains HTML documentation for python-multipletau
  .
diff --git a/debian/patches/packaged-mathjax.path b/debian/patches/packaged-mathjax.path
new file mode 100644
index 0000000..fbbb4f0
--- /dev/null
+++ b/debian/patches/packaged-mathjax.path
@@ -0,0 +1,13 @@
+Description: Use packaged copy of MathJax
+Author: Sebastian Ramacher <sramacher at debian.org>
+Forwarded: not-needed
+--- python-multipletau.orig/doc/conf.py
++++ python-multipletau/doc/conf.py
+@@ -75,6 +75,7 @@
+               ]
+ 
+ 
++mathjax_path = 'mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+ 
+ # Add any paths that contain templates here, relative to this directory.
+ templates_path = ['_templates']
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b7a0934
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+packaged-mathjax.path

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



More information about the debian-med-commit mailing list