From 33613a9700111a2a19dcc21982300198420cdff2 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Mon, 24 Aug 2015 20:10:59 +0200 Subject: Replace embedded javascript lib with proper dependency. --- debian/changelog | 2 ++ debian/control | 2 +- debian/python-nitime-doc.links | 1 + debian/rules | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) 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 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 -- cgit v1.2.3