[Python-modules-commits] [python-latexcodec] 07/07: deb/rules: set changelog timestamp as today_fmt for reproducible builds
Daniel Stender
stender at moszumanska.debian.org
Mon May 9 12:16:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
stender pushed a commit to branch master
in repository python-latexcodec.
commit 18266e7e003d3b6884a9bd92896b6ac400320fd0
Author: Daniel Stender <stender at debian.org>
Date: Mon May 9 13:47:55 2016 +0200
deb/rules: set changelog timestamp as today_fmt for reproducible builds
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index d49cd0e..8879ccd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
#export DEB_BUILD_OPTIONS=nocheck
export PYBUILD_NAME=latexcodec
+DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +%F)
+
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
@@ -11,7 +13,7 @@ override_dh_auto_test:
override_dh_installdocs:
dh_installdocs
- PYTHONPATH=. sphinx-build -N -bhtml doc/ debian/python3-latexcodec/usr/share/doc/python3-latexcodec/html/
+ PYTHONPATH=. sphinx-build -D today_fmt="$(DEBDATE)" -N -bhtml doc/ debian/python3-latexcodec/usr/share/doc/python3-latexcodec/html/
override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.rst
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-latexcodec.git
More information about the Python-modules-commits
mailing list