Source: python-meshio
Version: 1.11.7-1
Severity: serious
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

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
     `. `'`      la...@debian.org / 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
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to