Source: mkdocs-material
Version: 9.4.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / chris-lamb.co.uk
`-
--- 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