[Python-modules-commits] [notebook] 03/06: Symlink javascript dependencies in the binary package

Gordon Ball chronitis-guest at moszumanska.debian.org
Wed Oct 19 15:24:04 UTC 2016


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

chronitis-guest pushed a commit to branch master
in repository notebook.

commit 4f1ddc767de10ca2fa253b031261fd9cc3f420d1
Author: Gordon Ball <gordon at chronitis.net>
Date:   Wed Oct 19 16:32:49 2016 +0200

    Symlink javascript dependencies in the binary package
---
 debian/control | 16 ++++++++++++++++
 debian/rules   |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/control b/debian/control
index 6df5652..0001557 100644
--- a/debian/control
+++ b/debian/control
@@ -50,6 +50,22 @@ Depends: ${misc:Depends},
          python3-nbconvert,
          python3-terminado,
          python3-zmq (>= 13),
+         libjs-backbone (>= 1.2),
+         libjs-bootstrap (>= 3.3),
+         libjs-bootstrap-tour (>= 0.9),
+         libjs-codemirror,
+         libjs-es6-promise (>= 1.0),
+         fonts-font-awesome (>= 4.2),
+         libjs-jquery,
+         libjs-jquery-ui (>= 1.10),
+         libjs-marked (>= 0.3),
+         libjs-mathjax (>= 2.5),
+         libjs-moment (>= 2.8.4),
+         libjs-requirejs (>= 2.1),
+         libjs-term.js,
+         libjs-text-encoding (>= 0.1),
+         libjs-underscore (>= 1.5),
+         libjs-jquery-typeahead (>= 2.0),
 Recommends: ${python3:Recommends},
             python3-ipywidgets,
             python3-ipykernel
diff --git a/debian/rules b/debian/rules
index 8445b1b..6ad3ba8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@ export PYBUILD_NAME=notebook
 JSBASE:=/usr/share/javascript
 COMP:=notebook/static/components
 
+export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/notebook/static/components' ; cp -r notebook/static/components '{destdir}/{install_dir}/notebook/static/'
 
 %:
 	dh $@ --with=python3,sphinxdoc --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/notebook.git



More information about the Python-modules-commits mailing list