Source: python-graphviz
Version: 0.20.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / chris-lamb.co.uk
`-
--- 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