Bug#1052970: mkdocs-material: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Sep 26 15:13:16 BST 2023
Source: mkdocs-material
Version: 9.4.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
mkdocs-material could not be built reproducibly.
This is because some part of build (the documentation generation or the
tests) creates a bunch of __pycache__ directories that are not cleaned
up.
Patch attached that removes them manually in execute_before_dh_auto_install.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-09-26 12:47:10.844488246 +0100
--- b/debian/rules 2023-09-26 15:08:59.532585994 +0100
@@ -7,3 +7,6 @@
override_dh_python3:
dh_python3 /usr/share/mkdocs/themes/
+
+execute_before_dh_auto_install:
+ find .pybuild -name __pycache__ -type d -print0 | xargs -0r rm -rfv
More information about the Reproducible-bugs
mailing list