Source: python-meshio
Version: 1.11.7-1
Severity: serious
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that python-meshio installs test files to /usr/lib/python3/dist-packages,
for example:
/usr/lib/python3/dist-packages/test.med
Patch attached. These were found as the files vary between runs.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2018-03-04 08:29:37.637307710 +0000
--- b/debian/rules 2018-03-04 08:43:11.509093514 +0000
@@ -6,6 +6,9 @@
export PYBUILD_NAME=meshio
export PYBUILD_DESTDIR_python3=debian/python3-$(PYBUILD_NAME)
+# Don't install files generated by the testsuite.
+export PYBUILD_AFTER_TEST := find {build_dir} -type f -maxdepth 1 -delete
+
%:
dh $@ --with python3 --buildsystem=pybuild
--
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers