Source: playitslowly Version: 1.5.0-0.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: fileordering X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], I noticed that playitslowly could not be built reproducibly. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible_build.patch 2016-10-03 10:00:47.959001666 +0100 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2016-10-03 + +--- playitslowly-1.5.0.orig/setup.py ++++ playitslowly-1.5.0/setup.py +@@ -31,7 +31,7 @@ class new_install(install): + for counter in range(len(outputs)): + outputs[counter] = outputs[counter][root_len:] + self.execute(write_file, +- (install_info, outputs), ++ (install_info, sorted(outputs)), + "writing install-info to '%s'" % install_info) + + def ls_r(dir): --- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/series 2016-10-03 09:59:10.614256999 +0100 @@ -0,0 +1 @@ +reproducible_build.patch