Source: cpl-plugin-vimos
Version: 2.9.15+dfsg-4
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-vimos could not be built reproducibly.
The attached patch removes randomness from the build system. Once
applied, cpl-plugin-vimos 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 3a9492a..fd87529 100644
--- a/debian/create_sphinx.py
+++ b/debian/create_sphinx.py
@@ -145,7 +145,7 @@ recipes_oca = [name for name in recipes if name in oca]
index = [ oca.find(name) for name in recipes_oca ]
recipes_oca = [r for (i, r) in sorted(zip(index, recipes_oca))]
recipes_x = [name for name in recipes if not 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(