File: 0006-Work-around-https-github.com-less-less.js-pull-3002.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 (22 lines) | stat: -rw-r--r-- 848 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
From 6c315c6c7064ac049cd661ff88e42a74fb5901eb Mon Sep 17 00:00:00 2001
From: Ximin Luo <infinity0@debian.org>
Date: Wed, 7 Dec 2016 18:49:06 +0100
Subject: Work around https://github.com/less/less.js/pull/3002

---
 setupbase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setupbase.py b/setupbase.py
index 6ad2e9b..e1a8938 100644
--- a/setupbase.py
+++ b/setupbase.py
@@ -409,7 +409,7 @@ class CompileCSS(Command):
                     '--source-map', '--source-map-basepath='+os.path.dirname(__file__),
                     '--include-path=%s' % pipes.quote(static),
                     src,
-                    dst,
+                    os.path.relpath(dst, repo_root),
                 ], cwd=repo_root, env=env)
             except OSError as e:
                 print("Failed to build css: %s" % e, file=sys.stderr)