File: 0001-Nodejs-binary-and-import-names.patch

package info (click to toggle)
jupyter-notebook 4.2.3-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,800 kB
  • ctags: 2,454
  • sloc: python: 8,698; makefile: 240; sh: 74
file content (23 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 36b539fd60890cccf807b5e21a37fefdb3f130c4 Mon Sep 17 00:00:00 2001
From: Gordon Ball <gordon@chronitis.net>
Date: Mon, 24 Oct 2016 14:38:07 +0200
Subject: Nodejs binary and import names

 * Binary node -> nodejs
---
 setupbase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setupbase.py b/setupbase.py
index 62d4e63..a411c9b 100644
--- a/setupbase.py
+++ b/setupbase.py
@@ -476,7 +476,7 @@ class CompileJS(Command):
             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')