Source: cf-python
Version: 1.3.2+dfsg1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that cf-python could not be built reproducibly.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index 3086e02..3be8059 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,9 @@ override_dh_auto_test:
        dh_auto_test -O--buildsystem=pybuild -- --system=custom \
                      --before-test 'cp -R {dir}/test {build_dir}; echo 
{build_dir}/test >> {home_dir}/build_dirs_to_rm_before_install' \
                      --test-args='cd {build_dir}; {interpreter} 
test/run_tests.py'
+       # Delete (unreproducible) file generated in tests so it does not appear
+       # in the .deb.
+       find -type f -name delme.nca -delete
 
 override_dh_installdocs:
        dh_installdocs

Reply via email to