[Python-modules-commits] [notebook] 05/06: Use DFSG tarball

Gordon Ball chronitis-guest at moszumanska.debian.org
Tue Oct 18 11:05:37 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 56da56551fa83ea0a9419df315f29cf7ce850bb1
Author: Gordon Ball <gordon at chronitis.net>
Date:   Mon Sep 19 14:53:54 2016 +0100

    Use DFSG tarball
---
 debian/changelog |  4 ++--
 debian/control   | 18 ++----------------
 debian/rules     | 10 ++++++++--
 3 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3bc2075..cdb91cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-notebook (4.2.3-1) unstable; urgency=medium
+notebook (4.2.3+dfsg1-1) unstable; urgency=medium
 
   * Initial release (closes: #801366).
 
- -- Gordon Ball <gordon at chronitis.net>  Mon, 19 Sep 2016 15:16:03 +0200
+ -- Gordon Ball <gordon at chronitis.net>  Mon, 19 Sep 2016 14:52:55 +0100
diff --git a/debian/control b/debian/control
index 2bb186e..439b7ed 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,8 @@ Build-Depends: debhelper (>= 9),
                python3-all,
                python3-sphinx,
                python3-nose,
+               ipython3,
+               python3-sphinx-rtd-theme,
                libjs-backbone (>= 1.2),
                libjs-bootstrap (>= 3.3),
                libjs-bootstrap-tour (>= 0.9),
@@ -45,22 +47,6 @@ 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 ,#(>= 5.8),
-         libjs-es6-promise (>= 1.0),
-         fonts-font-awesome (>= 4.2),
-         libjs-jquery ,#(>= 2.0),
-         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 ,#(>= 0.0.7),
-         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 43bd24d..c8b025e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,11 @@ override_dh_auto_configure:
 	ln -s /usr/share/javascript/codemirror notebook/static/components/
 
 	#es6-promise
-	ln -s /usr/share/javascript/es6-promise notebook/static/components/
+	mkdir -p notebook/static/components/es6-promise
+	ln -s /usr/share/javascript/es6-promise/es6-promise.min.js notebook/static/components/es6-promise/promise.min.js
+	ln -s /usr/share/javascript/es6-promise/es6-promise.js notebook/static/components/es6-promise/promise.js
+	ln -s /usr/share/javascript/es6-promise/es6-promise.min.js notebook/static/components/es6-promise/es6-promise.min.js
+	ln -s /usr/share/javascript/es6-promise/es6-promise.js notebook/static/components/es6-promise/es6-promise.js
 
 	#jquery
 	ln -s /usr/share/javascript/jquery notebook/static/components/
@@ -37,6 +41,8 @@ override_dh_auto_configure:
 	mkdir -p notebook/static/components/jquery-ui/themes/smoothness
 	ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js notebook/static/components/jquery-ui/ui/minified/
 	ln -s /usr/share/javascript/jquery-ui/themes/smoothness/jquery.ui.all.css notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css
+	ln -s /usr/share/javascript/jquery-ui/themes/smoothness/jquery.ui.base.css notebook/static/components/jquery-ui/themes/smoothness/
+	ln -s /usr/share/javascript/jquery-ui/themes/smoothness/jquery.ui.theme.css notebook/static/components/jquery-ui/themes/smoothness/
 	ln -s /usr/share/javascript/jquery-ui/themes/smoothness/images notebook/static/components/jquery-ui/themes/smoothness/
 
 	#marked
@@ -78,6 +84,6 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=. http_proxy='127.0.0.9' sphinx-build -N -bhtml docs/ build/html
+	PYTHONPATH=. http_proxy='127.0.0.9' sphinx-build -N -bhtml docs/source/ build/html
 
 override_dh_auto_test:

-- 
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