[Python-modules-commits] [cf-python] 01/02: Make build reproducible (Closes: #841497)

Klaus Zimmermann zklaus-guest at moszumanska.debian.org
Fri Oct 21 11:03:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

zklaus-guest pushed a commit to branch master
in repository cf-python.

commit 0dd2daba665361fcc98b8e4e41b5baeb63072906
Author: Klaus Zimmermann <klaus_zimmermann at gmx.de>
Date:   Fri Oct 21 12:15:28 2016 +0200

    Make build reproducible (Closes: #841497)
    
    Signed-off-by: Klaus Zimmermann <klaus_zimmermann at gmx.de>
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ba4df9d..b80ca59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 cf-python (1.3.2+dfsg1-2) UNRELEASED; urgency=medium
 
   * Fix sphinxdoc dependency (Closes: #841374)
+  * Make build reproducible (Closes: #841497)
 
  -- Klaus Zimmermann <klaus_zimmermann at gmx.de>  Thu, 20 Oct 2016 13:41:04 +0200
 
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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/cf-python.git



More information about the Python-modules-commits mailing list