Source: cf-python
Version: 1.3.2+dfsg1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / 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
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to