Source: python-django-health-check
Version: 3.17.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
python-django-health-check could not be built reproducibly.

This is at root because you ship a .coverage file, but also because
the rm(1) call doesn't actually delete it:

    rm -f debian/*/usr/lib/python3/dist-packages/.coverage

A patch is attached that adjusts this to:

    rm -f debian/*/usr/lib/python3*/dist-packages/.coverage

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2022-12-19 09:59:12.419691292 +0000
--- b/debian/rules      2022-12-19 10:00:06.647874759 +0000
@@ -13,4 +13,4 @@
 
 execute_after_dh_python3:
        # Get rid of extra .coverage file
-       rm -f debian/*/usr/lib/python3/dist-packages/.coverage
+       rm -f debian/*/usr/lib/python3*/dist-packages/.coverage

Reply via email to