[Python-modules-team] Bug#841497: cf-python: please make the build	reproducible
    Chris Lamb 
    lamby at debian.org
       
    Fri Oct 21 08:17:54 UTC 2016
    
    
  
Source: cf-python
Version: 1.3.2+dfsg1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-builds at 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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
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
    
    
More information about the Python-modules-team
mailing list