[fiona] 01/04: Make build reproducible (Closes: #788308)

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Wed Jun 10 20:01:49 UTC 2015


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

johanvdw-guest pushed a commit to branch master
in repository fiona.

commit 44db2d4613c03eed8fbb1f24cb8a65b85ad81f97
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Wed Jun 10 21:55:07 2015 +0200

    Make build reproducible (Closes: #788308)
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0f613dc..887affe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+fiona (1.5.0-3) UNRELEASED; urgency=medium
+
+  * Make build reproducible (Closes: #788308)
+
+ -- Johan Van de Wauw <johan.vandewauw at gmail.com>  Wed, 10 Jun 2015 21:54:11 +0200
+
 fiona (1.5.0-2) unstable; urgency=medium
 
   * Initial upload, after FTP-master comment about missing license 
diff --git a/debian/rules b/debian/rules
index a27a1a0..01250d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html 
+export PYBUILD_AFTER_BUILD_python2 = PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' sphinx-build -N -bhtml -D today="$(BUILD_DATE)" docs/ build/html 
 export PYBUILD_TEST_NOSE=1
 export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fiona.git



More information about the Pkg-grass-devel mailing list