[Python-modules-team] Bug#890738: pydispatcher: please make the build reproducible
Chris Lamb
lamby at debian.org
Sun Feb 18 09:39:22 UTC 2018
Source: pydispatcher
Version: 2.0.5-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that pydispatcher could not be built reproducibly.
This is because the docs contain absolute build paths. A hacky
patch is attached; pydoc seems so ancient/weird it seems a little
pointless to fix itself..
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2018-02-18 08:53:16.027137593 +0000
--- b/debian/rules 2018-02-18 09:30:30.594838706 +0000
@@ -7,6 +7,7 @@
override_dh_installdocs:
cd docs/pydoc && PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=../.. ./builddocs.py
+ find docs/pydoc -type f -name '*.html' -print0 | xargs -0r sed -i -e 's at .*__file__.*@@g' -e 's at .*__path__.*@@g' -e 's@<br><a href="file:.*</a>@@g'
dh_installdocs
override_dh_installexamples:
More information about the Python-modules-team
mailing list