[sagemath] 01/01: Generate documentation reproducibly

Ximin Luo infinity0 at debian.org
Sun Dec 25 13:29:41 UTC 2016


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 408f141a3f628fecf6200e76a8751feb21726409
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sun Dec 25 14:29:24 2016 +0100

    Generate documentation reproducibly
---
 debian/changelog                          |  6 ++++++
 debian/patches/series                     |  1 +
 debian/patches/u2-reproducible-docs.patch | 18 ++++++++++++++++++
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4d5a240..6070fe8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sagemath (7.4-5) UNRELEASED; urgency=medium
+
+  * Generate documentation reproducibly.
+
+ -- Ximin Luo <infinity0 at debian.org>  Sun, 25 Dec 2016 14:27:26 +0100
+
 sagemath (7.4-4) unstable; urgency=medium
 
   * Add a temporary exception to the i386 testsuite to allow the build to pass.
diff --git a/debian/patches/series b/debian/patches/series
index 5000f7a..494403f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -32,6 +32,7 @@ u2-scripts-dir.patch
 # Patch Sage to work with dependency Debian packages
 # These won't change even if Debian and Sage use the same version
 # Not suitable for upstreaming
+u2-reproducible-docs.patch
 d0-arb.patch
 d0-cython-sys-path.patch
 d0-gsl-cblas.patch
diff --git a/debian/patches/u2-reproducible-docs.patch b/debian/patches/u2-reproducible-docs.patch
new file mode 100644
index 0000000..8c3b8d9
--- /dev/null
+++ b/debian/patches/u2-reproducible-docs.patch
@@ -0,0 +1,18 @@
+Description: Generate documentation reproducibly
+ TODO: make this use SOURCE_DATE_EPOCH instead which is set automatically by debhelper
+ https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Python
+Author: Ximin Luo <infinity0 at debian.org>
+Forwarded: TODO
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sage/src/doc/common/conf.py
++++ b/sage/src/doc/common/conf.py
+@@ -54,7 +54,7 @@
+ 
+ # General information about the project.
+ project = u""
+-copyright = u"2005--{}, The Sage Development Team".format(date.today().year)
++copyright = u"2005--2016, The Sage Development Team"
+ 
+ # The version info for the project you're documenting, acts as replacement for
+ # |version| and |release|, also used in various other places throughout the

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



More information about the debian-science-commits mailing list