[Python-modules-commits] [gamera] 12/14: added docs-no-modified-timestamp.diff

Daniel Stender danstender-guest at moszumanska.debian.org
Fri May 8 12:42:28 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository gamera.

commit 5df658ca3c633de24341eca56901d71e42f2aebf
Author: Daniel Stender <debian at danielstender.com>
Date:   Fri May 8 13:52:29 2015 +0200

    added docs-no-modified-timestamp.diff
---
 debian/changelog                               |  3 ++-
 debian/patches/docs-no-modified-timestamp.diff | 18 ++++++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fa6a515..ab893e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ gamera (3.4.2-1) UNRELEASED; urgency=medium
    * Added constant-seed-for-docs.diff to make build reproducible
      by using constant seed for generation of example/documentation
      images (Closes: #775228).
+   * Added docs-no-modified-timestamp.diff (Closes: #784680).
    * deb/control:
      + added dh-python to build-deps.
      + updated Vcs fields (moved to git).
@@ -15,7 +16,7 @@ gamera (3.4.2-1) UNRELEASED; urgency=medium
      + added gendoc-no-sflogo.diff (dropped sflogo removal from deb/rules).
    * Added deb/gbp.conf.
 
- -- Daniel Stender <debian at danielstender.com>  Fri, 08 May 2015 12:42:18 +0200
+ -- Daniel Stender <debian at danielstender.com>  Fri, 08 May 2015 13:50:04 +0200
 
 gamera (3.4.1+svn1423-4) unstable; urgency=medium
 
diff --git a/debian/patches/docs-no-modified-timestamp.diff b/debian/patches/docs-no-modified-timestamp.diff
new file mode 100644
index 0000000..e46ad25
--- /dev/null
+++ b/debian/patches/docs-no-modified-timestamp.diff
@@ -0,0 +1,18 @@
+Description: prevent docs generator to put "Last Modified:"
+ timestamp into HTML pages for reproducible building
+Author: Daniel Stender <debian at danielstender.com>
+Bug: https://bugs.debian.org/784680
+Applied-Upstream: not-needed
+Last-Update: 2015-05-08
+
+--- a/gamera/gendoc.py
++++ b/gamera/gendoc.py
+@@ -232,7 +232,7 @@
+             else:
+                footer = "\n"
+             lines = (lines[:3] + 
+-                     ["\n", u"**Last modified**: %s\n\n" % mtime, 
++                     ["\n", u"**Last modified**:\n\n",
+                       ".. contents::\n\n", 
+                       ".. role:: raw-html(raw)\n   :format: html\n",
+                       footer
diff --git a/debian/patches/series b/debian/patches/series
index 520f522..54a42ce 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+docs-no-modified-timestamp.diff
 gendoc-no-sflogo.diff
 gendoc-use-wxversion.diff
 gendoc-draw-text.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/gamera.git



More information about the Python-modules-commits mailing list