Source: pydispatcher
Version: 2.0.5-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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@.*__file__.*@@g' -e 's@.*__path__.*@@g' -e 's@<br><a href="file:.*</a>@@g'
        dh_installdocs
 
 override_dh_installexamples:
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to