[linop] 09/10: d/rules: make reproducible
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Jul 1 09:39:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository linop.
commit f63073e44cb0b3f110ddce58940c81ebdc30991d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Jul 1 10:06:10 2015 +0100
d/rules: make reproducible
Thanks to a patch from Juan Picca
---
debian/rules | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 88f4295..ef4953d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,14 @@
export PYBUILD_NAME=linop
+LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
+BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
+
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_install-indep:
- python setup.py build_sphinx -b html
+ python setup.py build_sphinx -b html --today="$(BUILD_DATE)"
override_dh_sphinxdoc:
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/linop.git
More information about the debian-science-commits
mailing list