[pywps] 15/16: Use libjs-mathjax instead of online copy.
Bas Couwenberg
sebastic at debian.org
Mon Aug 22 21:44:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch experimental
in repository pywps.
commit ddebc51bd3e85359e381819136e7af6bb22f9b72
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Aug 22 23:09:41 2016 +0200
Use libjs-mathjax instead of online copy.
---
debian/changelog | 1 +
debian/control | 4 +++-
debian/patches/series | 1 +
debian/patches/use-mathjax-package.patch | 15 +++++++++++++++
debian/rules | 3 ++-
5 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9074802..2e009b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ pywps (4.0.0~rc1-1) UNRELEASED; urgency=medium
- Change license to Expat
* Drop examples, no longer included upstream.
* Drop CGI package, wps.py removed upstream.
+ * Use libjs-mathjax instead of online copy.
-- Bas Couwenberg <sebastic at debian.org> Mon, 22 Aug 2016 22:45:13 +0200
diff --git a/debian/control b/debian/control
index e0b1f48..0b7758d 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Priority: optional
Build-Depends: debhelper (>= 9),
dh-apache2,
dh-python,
+ libjs-mathjax,
python-all,
python-flufl.enum,
python-gdal,
@@ -75,7 +76,8 @@ Description: Implementation of OGC's Web Processing Service - WSGI script
Package: pywps-doc
Architecture: all
Section: doc
-Depends: ${sphinxdoc:Depends},
+Depends: libjs-mathjax,
+ ${sphinxdoc:Depends},
${misc:Depends}
Description: Implementation of OGC's Web Processing Service - Documentation
PyWPS is implementation of Web Processing Service from Open
diff --git a/debian/patches/series b/debian/patches/series
index 99c4ae9..7463c47 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
offline-tests.patch
+use-mathjax-package.patch
diff --git a/debian/patches/use-mathjax-package.patch b/debian/patches/use-mathjax-package.patch
new file mode 100644
index 0000000..911f5ac
--- /dev/null
+++ b/debian/patches/use-mathjax-package.patch
@@ -0,0 +1,15 @@
+Description: Use mathjax package (libjs-mathjax).
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -49,6 +49,8 @@ exclude_patterns = ['_build']
+ source_suffix = '.rst'
+ master_doc = 'index'
+
++mathjax_path = 'mathjax/MathJax.js?config=tex-ams-mml_htmlormml'
++
+ pygments_style = 'sphinx'
+
+ html_theme = 'default'
diff --git a/debian/rules b/debian/rules
index 839b011..553530b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,8 @@ override_auto_clean:
override_dh_auto_build:
dh_auto_build
- (cd docs && PYTHONPATH=$(CURDIR) $(MAKE) html)
+ (cd docs && PYTHONPATH=$(CURDIR) $(MAKE) html && \
+ ln -s /usr/share/javascript/mathjax _build/html/_static/)
override_dh_auto_test:
PYBUILD_BEFORE_TEST="cp -rv {dir}/pywps/schemas {build_dir}/pywps/" \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pywps.git
More information about the Pkg-grass-devel
mailing list