[pybtex] 99/108: added hardcode-copyright-year.patch

Daniel Stender stender at moszumanska.debian.org
Fri Jul 21 10:18:34 UTC 2017


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

stender pushed a commit to branch master
in repository pybtex.

commit 93a02079e1dc0ee89eacc0065f9799134dcef6e3
Author: Daniel Stender <stender at debian.org>
Date:   Fri Apr 1 19:25:29 2016 +0000

    added hardcode-copyright-year.patch
---
 debian/changelog                             |  6 ++++++
 debian/patches/hardcode-copyright-year.patch | 16 ++++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d00ffc5..c8630ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pybtex (0.19-2) unstable; urgency=medium
+
+  * Added hardcode-copyright-year.patch.
+
+ -- Daniel Stender <stender at debian.org>  Fri, 01 Apr 2016 21:14:34 +0200
+
 pybtex (0.19-1) unstable; urgency=medium
 
   * New upstream release (Closes: #810525).
diff --git a/debian/patches/hardcode-copyright-year.patch b/debian/patches/hardcode-copyright-year.patch
new file mode 100644
index 0000000..a7d11a6
--- /dev/null
+++ b/debian/patches/hardcode-copyright-year.patch
@@ -0,0 +1,16 @@
+Description: hardcode copyright year into docs to support reproducible
+ builds. datetime.now() actually isn't always the release year.
+Author: Daniel Stender <stender at debian.org>
+Forwarded: not-needed
+
+--- a/docs/source/conf.py
++++ b/docs/source/conf.py
+@@ -63,7 +63,7 @@
+ 
+ # General information about the project.
+ project = u"Pybtex User’s Guide"
+-copyright = u'{}, Andrey Golovizin'.format(datetime.now().year)
++copyright = u'2015, Andrey Golovizin'
+ 
+ # The version info for the project you're documenting, acts as replacement for
+ # |version| and |release|, also used in various other places throughout the
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..ee0fb23 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hardcode-copyright-year.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git



More information about the debian-science-commits mailing list