#996834 pytools: please make the build reproducible

Package:
src:pytools
Source:
pytools
Submitter:
"Chris Lamb"
Date:
2022-06-15 20:45:02 UTC
Severity:
wishlist
Tags:
#996834#5
Date:
2021-10-19 13:33:40 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
pytools could not be built reproducibly.

This is because it calculates the project name from the directory it is
built from (in the patched doc/conf.py) so the documentation varies
depending on the buildpath.

A patch is attached that hardcodes the project name to 'pytools'. This is
not ideal, but this patch is essentially a code copy of a larger problem
so the special-casing is not as bad as it might initially appear.

 [0] https://reproducible-builds.org/


Regards,