Bug#1000535: sphinxcontrib-restbuilder: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Nov 24 16:37:11 GMT 2021
Source: sphinxcontrib-restbuilder
Version: 0.3-2
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
sphinxcontrib-restbuilder could not be built reproducibly.
This is because it shipped a number of (nondeterministic) doctrees
directories. Patch attached that strips these from the binary package.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2021-11-24 08:19:00.071258610 -0800
--- b/debian/rules 2021-11-24 08:36:22.646195299 -0800
@@ -13,3 +13,5 @@
dh_auto_install
# Remove the folder output/, it's not intended to get into the package.
rm -rf debian/python3-sphinxcontrib.restbuilder/usr/lib/python3.?/dist-packages/output
+ # Don't ship .doctrees directories
+ find debian/python3-sphinxcontrib.restbuilder -type d -name .doctrees -print0 | xargs -0r rm -rfv
More information about the Reproducible-bugs
mailing list