Source: numpydoc
Version: 1.1.0-1
Severity: wishlist
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
numpydoc could not be built reproducibly.

This is because it includes a junit-results.xml and .coverage file
from the test run. (The latter file should have been detected by the
package-contains-python-coverage-file Lintian tag FYI.)

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-07-20 11:14:23.254979286 +0100
--- b/debian/rules      2020-07-20 11:20:45.409510366 +0100
@@ -12,3 +12,8 @@
 
 %:
        dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+       dh_auto_install
+       find debian -name .coverage -delete
+       find debian -name junit-results.xml -delete

Reply via email to