Source: python-mt-940
Version: 4.30.0-2
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-mt-940 could not be built reproducibly.
This is because it ships test coverage in HTML format in the binary
package that contains timestamps.
A patch is attached that simply removes this coverage entirely after
running the tests.
However, the coverage was being installed into the incorrect
directory /usr/lib/python3/dist-packages/htmlcov, so if you would
prefer to keep the test coverage, you would of course need to
install it into a more appropriate location also.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`---- a/debian/rules 2024-09-26 06:35:01.043556873 -0700
--- b/debian/rules 2024-09-26 06:56:18.013446724 -0700
@@ -2,6 +2,7 @@
export PYBUILD_NAME=mt-940
export PYBUILD_TEST_ARGS={dir}/mt940_tests/
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/htmlcov
# try to prevent unsanctioned downloads
export http_proxy=http://127.0.0.1:9/