Source: snakemake
Version: 5.7.4-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
snakemake could still not be built reproducibly. This is because my
previous patch did not cover quite everything. Do excuse the patch-to-
a-patch but please apply the following:

  --- a/debian/patches/0012-reproducible-build.patch
  +++ b/debian/patches/0012-reproducible-build.patch
  @@ -22,6 +22,15 @@ Last-Update: 2019-07-15
            raise ValueError("Path to report output has to be an HTML file.")
   --- snakemake.orig/snakemake/utils.py
   +++ snakemake/snakemake/utils.py
  +@@ -202,7 +202,7 @@ def makedirs(dirnames):
  + def report(
  +     text,
  +     path,
  +-    stylesheet=os.path.join(os.path.dirname(__file__), "report.css"),
  ++    stylesheet=None,
  +     defaultenc="utf8",
  +     template=None,
  +     metadata=None,
  
... and this should cover it. :)

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


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

Reply via email to