[Python-modules-commits] [notebook] 06/06: s/node/nodejs/
Gordon Ball
chronitis-guest at moszumanska.debian.org
Wed Oct 19 16:06:39 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 7f7aa8ed8a08354e7ab079d28bccf2f3366d230d
Author: Gordon Ball <gordon at chronitis.net>
Date: Wed Oct 19 17:56:41 2016 +0200
s/node/nodejs/
---
debian/patches/requirejs.patch | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/debian/patches/requirejs.patch b/debian/patches/requirejs.patch
index d0f3db4..ee21ac2 100644
--- a/debian/patches/requirejs.patch
+++ b/debian/patches/requirejs.patch
@@ -1,4 +1,6 @@
-Description: fix import path for node-requirejs
+Description: nodejs related fixes
+ * non-functional import of requirejs
+ * s/node/nodejs/
Author: Gordon Ball <gordon at chronitis.net>
--- a/tools/build-main.js
@@ -6,8 +8,20 @@ Author: Gordon Ball <gordon at chronitis.net>
@@ -1,7 +1,7 @@
// build main.min.js
// spawned by gulp to allow parallelism
-
+
-var rjs = require('requirejs').optimize;
+var rjs = require('r').optimize;
-
+
var name = process.argv[2];
+
+--- a/setupbase.py
++++ b/setupbase.py
+@@ -476,7 +476,7 @@
+ log.info("%s up to date" % target)
+ return
+ log.info("Rebuilding %s" % target)
+- run(['node', 'tools/build-main.js', name])
++ run(['nodejs', 'tools/build-main.js', name])
+
+ def run(self):
+ self.run_command('jsdeps')
--
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