summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanke <mih@debian.org>2015-08-24 20:10:59 +0200
committerMichael Hanke <mih@debian.org>2015-08-24 20:10:59 +0200
commit33613a9700111a2a19dcc21982300198420cdff2 (patch)
tree48212e46a75940b2e92400ddc4a0ef5daa51ec35
parent5fcf52753c096799f5169c66a4f4445f79db5ab2 (diff)
Replace embedded javascript lib with proper dependency.
-rw-r--r--debian/changelog2
-rw-r--r--debian/control2
-rw-r--r--debian/python-nitime-doc.links1
-rwxr-xr-xdebian/rules1
4 files changed, 5 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 6583155..b63d3d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ nitime (0.5-2) UNRELEASED; urgency=medium
* Update maintainer email address.
* Remove dependency on python-support, while upgrading to dh9
(Closes: #786233).
+ * Drop embedded javascript library in favor of a dependency on
+ libjs-underscore.
-- Michael Hanke <mih@debian.org> Mon, 24 Aug 2015 18:53:56 +0200
diff --git a/debian/control b/debian/control
index ef7a731..f452bc3 100644
--- a/debian/control
+++ b/debian/control
@@ -39,7 +39,7 @@ Description: timeseries analysis for neuroscience data (nitime)
Package: python-nitime-doc
Architecture: all
Section: doc
-Depends: ${misc:Depends}, libjs-jquery
+Depends: ${misc:Depends}, libjs-jquery, libjs-underscore
Suggests: python-nitime
Description: timeseries analysis for neuroscience data (nitime) -- documentation
Nitime is a Python module for time-series analysis of data from
diff --git a/debian/python-nitime-doc.links b/debian/python-nitime-doc.links
index 9f118e4..e7ea3d9 100644
--- a/debian/python-nitime-doc.links
+++ b/debian/python-nitime-doc.links
@@ -1 +1,2 @@
usr/share/javascript/jquery/jquery.js usr/share/doc/python-nitime-doc/html/_static/jquery.js
+usr/share/javascript/underscore/underscore.js usr/share/doc/python-nitime-doc/html/_static/underscore.js
diff --git a/debian/rules b/debian/rules
index c2ae623..b7b5a0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,7 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
export PYTHONPATH=$$(/bin/ls -d $(INSTALL_PATH)/usr/lib/$(PYTHON)/*-packages); \
$(MAKE) -C doc html
-rm doc/_build/html/_static/jquery.js
+ -rm doc/_build/html/_static/underscore.js
-rm -r doc/_build/html/_sources
: # objects inventory is of no use for the package
-rm doc/_build/html/objects.inv