Source: dotenv-cli
Version: 3.2.0-1
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
dotenv-cli could not be built reproducibly.

This is because the package installs a .coverage file (right into the
top-level /usr/lib/python3/dist-packages directory!) as well as some
other test coverage related files.

A patch is attached that removes these files.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2023-07-03 18:36:04.013796172 +0100
--- b/debian/rules      2023-07-03 18:46:43.430088575 +0100
@@ -9,6 +9,9 @@
 %:
        dh $@ --with python3,bash-completion --buildsystem=pybuild
 
+execute_after_dh_auto_install:
+       find debian/ -type f -name .coverage -delete
+       find debian/ -type d -name htmlcov -print0 | xargs -0 rm -rfv
 
 # If you need to rebuild the Sphinx documentation
 # Add spinxdoc to the dh --with line

Reply via email to