Source: cpl-plugin-visir
Version: 3.5.1+dfsg-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that cpl-plugin-visir could not be built reproducibly.
The attached patch removes randomness from the build system. Once
applied, cpl-plugin-visir can be built reproducibly in our reproducible
toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/debian/create_sphinx.py b/debian/create_sphinx.py
index a694f8a..f132ea8 100644
--- a/debian/create_sphinx.py
+++ b/debian/create_sphinx.py
@@ -146,7 +146,7 @@ index = [ oca.find(recipe.__name__) for recipe in
recipes_oca ]
recipes_oca = [r for (i, r) in sorted(zip(index, recipes_oca))]
recipes_x = [recipe for recipe in recipes if not recipe.__name__ in oca]
-recipes_x.sort()
+recipes_x.sort(lambda x: x.__name__)
def par(recipe, template, delimiter = "", count = None):
return delimiter.join(template.format(