--- a/debian/patches/remove-badges-from-docs-to-eliminate-privacy-breaches.patch 2020-11-05 10:26:42.223578198 +0000 --- b/debian/patches/remove-badges-from-docs-to-eliminate-privacy-breaches.patch 2020-11-05 10:29:26.961743506 +0000 @@ -8,10 +8,8 @@ docs/_templates/layout.html | 8 ++------ 2 files changed, 2 insertions(+), 21 deletions(-) -diff --git a/README.rst b/README.rst -index 6d5e910..8657afb 100644 ---- a/README.rst -+++ b/README.rst +--- metakernel-0.27.1.orig/README.rst ++++ metakernel-0.27.1/README.rst @@ -1,20 +1,5 @@ A Jupyter kernel base class in Python which includes core magic functions (including help, command and file path completion, parallel and distributed processing, downloads, and much more). @@ -33,10 +31,8 @@ See Jupyter's docs on `wrapper kernels `_. -diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html -index c25bbad..3ac90cb 100644 ---- a/docs/_templates/layout.html -+++ b/docs/_templates/layout.html +--- metakernel-0.27.1.orig/docs/_templates/layout.html ++++ metakernel-0.27.1/docs/_templates/layout.html @@ -1,13 +1,9 @@ {% extends '!layout.html' %} --- a/debian/patches/reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible_build.patch 2020-11-05 10:29:54.266224612 +0000 @@ -0,0 +1,28 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2020-11-05 + +--- metakernel-0.27.1.orig/docs/conf.py ++++ metakernel-0.27.1/docs/conf.py +@@ -11,7 +11,11 @@ + # All configuration values have a default; values that are commented out + # serve to show the default. + +-import sys, os, datetime ++import sys, os, datetime, time ++ ++today = datetime.datetime.utcfromtimestamp( ++ int(os.environ.get('SOURCE_DATE_EPOCH', time.time())) ++) + + # If extensions (or modules to document with autodoc) are in another directory, + # add these directories to sys.path here. If the directory is relative to the +@@ -46,7 +50,7 @@ master_doc = 'index' + + # General information about the project. + project = u'Metakernel' +-copyright = u'2014 - {today.year}, Metakernel contributors'.format(today=datetime.date.today()) ++copyright = u'2014 - {today.year}, Metakernel contributors'.format(today=today) + + import metakernel + --- a/debian/patches/series 2020-11-05 10:26:42.223578198 +0000 --- b/debian/patches/series 2020-11-05 10:29:49.834114482 +0000 @@ -1,2 +1,3 @@ use_local_intersphinx_inventory.patch remove-badges-from-docs-to-eliminate-privacy-breaches.patch +reproducible_build.patch