[Debian-med-packaging] Bug#943956: snakemake: please make the build reproducible

Chris Lamb chris at chris-lamb.co.uk
Fri Nov 1 18:30:11 GMT 2019


Source: snakemake
Version: 5.7.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Debian-med-packaging mailing list