Source: xraylarch
Version: 0.9.81+ds1-1
Severity: important
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
xraylarch could not be built reproducibly.
This is because it ships a HTML-based test coverage report that contains
timestanos. However, it ships these files into a globally-shared namespace:
/usr/lib/python3/dist-packages/htmlcov/
... which is, of course, not great.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2024-10-18 09:37:56.866610855 -0700
--- b/debian/rules 2024-10-18 09:56:33.295808799 -0700
@@ -2,6 +2,7 @@
export DH_VERBOSE=1
export PYBUILD_NAME=xraylarch
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/htmlcov/
%:
dh $@ --buildsystem=pybuild