Source: jupyter-notebook
Version: 4.2.3-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that jupyter-notebook could not be built reproducibly.

Patch attached that drops the generation of the .css.map files; these
are not useful to end users - they are useless anyway as the build
location is not the same as the runtime path and — even if this were
fixed — anyone debugging the IPython CSS will be doing this another
way entirely.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/0005-reproducible-build.patch      1970-01-01 
01:00:00.000000000 +0100
--- b/debian/patches/0005-reproducible-build.patch      2016-12-06 
11:50:00.212437848 +0000
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2016-12-06
+
+--- jupyter-notebook-4.2.3.orig/setupbase.py
++++ jupyter-notebook-4.2.3/setupbase.py
+@@ -406,7 +406,6 @@ class CompileCSS(Command):
+         for src, dst in zip(self.sources, self.targets):
+             try:
+                 run(['lessc',
+-                    '--source-map',
+                     '--include-path=%s' % pipes.quote(static),
+                     src,
+                     dst,
--- a/debian/patches/series     2016-12-06 11:43:04.960387583 +0000
--- b/debian/patches/series     2016-12-06 11:49:58.028416557 +0000
@@ -2,3 +2,4 @@
 0002-Use-local-MathJax-in-documentation.patch
 0003-Unmask-setuptools-in-setup.py-so-dependencies-are-de.patch
 0004-jquery-ui-1.12-compatibility-changes.patch
+0005-reproducible-build.patch
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to