[Python-modules-commits] [jupyter-notebook] 03/11: Fix missing preact libraries
Gordon Ball
chronitis-guest at moszumanska.debian.org
Mon Jun 26 20:55:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository jupyter-notebook.
commit 2985e28fcc8721dfc36a5aa037c85e65746a8a2a
Author: Gordon Ball <gordon at chronitis.net>
Date: Sun Jun 25 11:14:02 2017 +0200
Fix missing preact libraries
---
debian/README.source | 8 ++++++++
debian/rules | 9 +++++++++
2 files changed, 17 insertions(+)
diff --git a/debian/README.source b/debian/README.source
index 84260b5..2398d9f 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -42,6 +42,14 @@ are not obfuscated and contain a declaration that they are Apache-licensed.
[1]: https://github.com/minrk/google-caja-bower
[2]: https://github.com/google/caja
+preact
+------
+
+Version 5 adds dependencies on preact, preact-compat and proptypes, which are
+used for the shortcut editor. These have fairly extensive dependency chains,
+so the initial approach is that these are replaced by an empty shim, and the
+shortcut editor will be non-functional until this is packaged.
+
dependencies
------------
diff --git a/debian/rules b/debian/rules
index f5b31f0..ed88c07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -91,6 +91,15 @@ override_dh_auto_configure:
> debian/missing-sources/html-css-sanitizer-bundle.js
uglifyjs -o $(COMP)/google-caja/html-css-sanitizer-minified.js \
debian/missing-sources/html-css-sanitizer-bundle.js
+
+ #preact (empty shim, fixme)
+ mkdir -p $(COMP)/preact
+ mkdir -p $(COMP)/preact-compat
+ mkdir -p $(COMP)/proptypes
+ touch $(COMP)/preact/index.js
+ touch $(COMP)/preact-compat/index.js
+ touch $(COMP)/proptypes/index.js
+
dh_auto_configure
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-notebook.git
More information about the Python-modules-commits
mailing list