Bug#1029297: python-graphviz: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Jan 20 19:27:41 GMT 2023
Source: python-graphviz
Version: 0.20.1-1
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
python-graphviz could not be built reproducibly.
This is because it shipped .PDF files that were generated during the
tests which were then installed under
/usr/lib/python3.X/dist-packages/doctest-output (!).
A patch is attached that removes this entire directory, similar to how
the package removes htmlconv, etc.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-01-20 11:05:01.682844889 -0800
--- b/debian/rules 2023-01-20 11:15:48.332534092 -0800
@@ -16,3 +16,4 @@
rm -rf debian/python3-graphviz/usr/lib/python3*/dist-packages/.coverage
rm -rf debian/python3-graphviz/usr/lib/python3*/dist-packages/htmlcov
rm -f debian/python3-graphviz/usr/lib/python3*/dist-packages/test-log.txt
+ rm -rf debian/python3-graphviz/usr/lib/python3*/dist-packages/doctest-output
More information about the Reproducible-bugs
mailing list