[Python-modules-commits] [python-releases] 13/14: patch docs/conf.py to use a fixed your to support reproducible builds

Jan Dittberner jandd at moszumanska.debian.org
Sat Jan 30 19:14:04 UTC 2016


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

jandd pushed a commit to branch master
in repository python-releases.

commit 2e8eea4368490601eba95922e4a9ed6a16ba525c
Merge: bdb0e84 b0a4c7c
Author: Jan Dittberner <jandd at debian.org>
Date:   Sat Jan 30 20:08:39 2016 +0100

    patch docs/conf.py to use a fixed your to support reproducible builds

 debian/.git-dpm                                    |  4 ++--
 debian/changelog                                   |  1 +
 ...ulated-date-from-docs-conf.py-to-support-.patch | 28 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 docs/conf.py                                       |  3 +--
 5 files changed, 33 insertions(+), 4 deletions(-)

diff --cc debian/.git-dpm
index 84cd60c,0000000..e991be4
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- 9f5ee4d88503024479c3d6828c59aebb4b48090b
- 9f5ee4d88503024479c3d6828c59aebb4b48090b
++b0a4c7c816eb3338112b999e203db3fcbd611e8f
++b0a4c7c816eb3338112b999e203db3fcbd611e8f
 +6dcf67af033c32dc78cacc93ae8ed126a6d36817
 +6dcf67af033c32dc78cacc93ae8ed126a6d36817
 +python-releases_1.0.0.orig.tar.gz
 +caca8e82b5fb043bc97f39dd8d1eb16d3f6a9a1d
 +22563
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/changelog
index c537da8,0000000..49710c6
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,39 -1,0 +1,40 @@@
 +python-releases (1.0.0-1) UNRELEASED; urgency=medium
 +
 +  * Team upload.
 +  * add missing trailing slash in debian/clean (Closes: #808616)
 +  * Use https URL for Vcs-Git in debian/control
 +  * Disable tests in debian/rules because they require spec which is not
 +    packaged for debian yet, remove python{3,}-docutils from Build-Depends
 +  * New upstream version
 +  * add new python-releases-doc binary package containing the Sphinx
 +    documentation
 +    - add stanza to debian/control
 +    - add sphinx-build invocation in debian/rules
 +    - add docs/_build/ to debian/clean
 +    - add debian/python-releases-doc.doc-base and
 +      debian/python-releases-doc.docs files
 +  * Add myself to copyright file, bump copyright years
 +  * patch README.rst to avoid privacy breach caused by included travis-ci
 +    image
++  * patch docs/conf.py to use a fixed your to support reproducible builds
 +
 + -- Jan Dittberner <jandd at debian.org>  Sat, 30 Jan 2016 18:02:20 +0100
 +
 +python-releases (0.7.0-2) unstable; urgency=medium
 +
 +  [ Zygmunt Krynicki ]
 +  * debian/watch: use the new pypi redirector
 +
 +  [ Jan Dittberner ]
 +  * Team upload.
 +  * add python{,3}-docutils to Build-Depends to fix failing test import
 +    (Closes: #802137)
 +  * bump Standards-Version to 3.9.6 (no changes needed)
 +
 + -- Jan Dittberner <jandd at debian.org>  Mon, 26 Oct 2015 21:03:29 +0100
 +
 +python-releases (0.7.0-1) unstable; urgency=medium
 +
 +  * Initial release. (Closes: #745347)
 +
 + -- Zygmunt Krynicki <zygmunt.krynicki at canonical.com>  Tue, 09 Sep 2014 11:13:29 +0200
diff --cc debian/patches/0002-Remove-calculated-date-from-docs-conf.py-to-support-.patch
index 0000000,0000000..30fabdc
new file mode 100644
--- /dev/null
+++ b/debian/patches/0002-Remove-calculated-date-from-docs-conf.py-to-support-.patch
@@@ -1,0 -1,0 +1,28 @@@
++From b0a4c7c816eb3338112b999e203db3fcbd611e8f Mon Sep 17 00:00:00 2001
++From: Jan Dittberner <jandd at debian.org>
++Date: Sat, 30 Jan 2016 19:58:55 +0100
++Subject: Remove calculated date from docs/conf.py to support reproducible
++ builds
++
++---
++ docs/conf.py | 3 +--
++ 1 file changed, 1 insertion(+), 2 deletions(-)
++
++diff --git a/docs/conf.py b/docs/conf.py
++index 6b6ff31..6964763 100644
++--- a/docs/conf.py
+++++ b/docs/conf.py
++@@ -1,4 +1,3 @@
++-from datetime import datetime
++ import os
++ import sys
++ 
++@@ -11,7 +10,7 @@ source_suffix = '.rst'
++ master_doc = 'index'
++ 
++ project = u'Releases'
++-year = datetime.now().year
+++year = 2015
++ copyright = u'%d Jeff Forcier' % year
++ 
++ # Ensure project directory is on PYTHONPATH for version, autodoc access
diff --cc debian/patches/series
index 5941db9,0000000..7addfab
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,1 -1,0 +1,2 @@@
 +0001-Remove-travis-ci-image-and-link-to-avoid-privacy-bre.patch
++0002-Remove-calculated-date-from-docs-conf.py-to-support-.patch

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



More information about the Python-modules-commits mailing list