[Debian-pan-maintainers] Bug#1085381: xraylarch: ships coverage data directly under /usr/lib/python3/dist-packages
Chris Lamb
lamby at debian.org
Fri Oct 18 18:36:11 BST 2024
Source: xraylarch
Version: 0.9.81+ds1-1
Severity: important
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
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
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- 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
More information about the Debian-pan-maintainers
mailing list