[Python-modules-commits] [python-fudge] 03/15: Apply patch by Juan Picca to have fixed timestamps to make the build reproducible (Closes: #788501)
Jan Dittberner
jandd at moszumanska.debian.org
Wed Dec 30 15:20:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
jandd pushed a commit to branch master
in repository python-fudge.
commit 0a60d336f45abd318d6ce3edf5e5a346ba71c605
Author: Jan Dittberner <jandd at debian.org>
Date: Wed Dec 30 15:23:14 2015 +0100
Apply patch by Juan Picca to have fixed timestamps to make the build reproducible (Closes: #788501)
---
debian/changelog | 2 ++
debian/rules | 6 +++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d92a3e2..be0454f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ python-fudge (1.0.3-4) UNRELEASED; urgency=low
[ Jan Dittberner ]
* Use PyPI redirector for watch file
* fix package description mismatch in debian/control
+ * Apply patch by Juan Picca to have fixed timestamps to make the build
+ reproducible (Closes: #788501)
-- Jakub Wilk <jwilk at debian.org> Sun, 05 May 2013 16:02:37 +0200
diff --git a/debian/rules b/debian/rules
index 0292a39..22a887a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,16 @@
#!/usr/bin/make -f
+LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
+BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
+SPHINXOPTS := -D html_last_updated_fmt="$(BUILD_DATE)"
+
override_dh_auto_clean:
rm -rf build fudge.egg-info
find -name '._*' -delete
dh_auto_clean
override_dh_auto_install:
- sphinx-build -b html -a -c docs docs \
+ sphinx-build $(SPHINXOPTS) -b html -a -c docs docs \
$(CURDIR)/debian/python-fudge-doc/usr/share/doc/python-fudge-doc/html
python setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-fudge
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-fudge.git
More information about the Python-modules-commits
mailing list