Package: fiona
Version: 1.5.0-2
Severity: wishlist
Tags: patch
Usertags: timestamps


While working on the "reproducible builds" effort [1], we have noticed
that fiona could not be built reproducibly.

The attached patch removes extra timestamps from the build system.
Once applied, fiona can be built reproducibly in our current experimental


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -urNp fiona-1.5.0/debian/rules
--- fiona-1.5.0/debian/rules	2015-02-05 16:37:29.000000000 -0200
+++	2015-06-10 02:52:27.434895787 -0300
@@ -2,9 +2,11 @@
 export LC_ALL=C.UTF-8
 export LANG=C.UTF-8
+LAST_CHANGE=$(shell dpkg-parsechangelog -S Date)
+BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
 export PYBUILD_NAME=fiona
-export PYBUILD_AFTER_BUILD_python2 = PYTHONPATH={build_dir} http_proxy='' sphinx-build -N -bhtml docs/ build/html 
+export PYBUILD_AFTER_BUILD_python2 = PYTHONPATH={build_dir} http_proxy='' sphinx-build -N -bhtml -D today="$(BUILD_DATE)" docs/ build/html 
 export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
Pkg-grass-devel mailing list

Reply via email to