Your message dated Fri, 06 Nov 2020 03:48:39 +0000
with message-id <[email protected]>
and subject line Bug#973806: fixed in metakernel 0.27.1-2
has caused the Debian Bug report #973806,
regarding metakernel: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
973806: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973806
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: metakernel
Version: 0.27.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
metakernel could not be built reproducibly.

This is because it embeds the build year into the documentation:

  &copy;·Copyright·2020·-·2021,·Metakernel·contributors.<br/

Patch attached that uses SOURCE_DATE_EPOCH [1].

 [0] https://reproducible-builds.org/
 [1] https://reproducible-builds.org/specs/source-date-epoch/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 
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
  <http://jupyter-client.readthedocs.io/en/stable/wrapperkernels.html>`_.
-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 <[email protected]>
+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

--- End Message ---
--- Begin Message ---
Source: metakernel
Source-Version: 0.27.1-2
Done: Joseph Nahmias <[email protected]>

We believe that the bug you reported is fixed in the latest version of
metakernel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joseph Nahmias <[email protected]> (supplier of updated metakernel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 05 Nov 2020 22:25:38 -0500
Source: metakernel
Architecture: source
Version: 0.27.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Joseph Nahmias <[email protected]>
Closes: 973806
Changes:
 metakernel (0.27.1-2) unstable; urgency=medium
 .
   * [c1f231d] add allow-stderr for upstream testsuite
   * [c3bca2d] add support for SOURCE_DATE_EPOCH.
     Thanks to Chris Lamb <[email protected]> (Closes: 973806)
Checksums-Sha1:
 63861c3987659dec312d06285d62fb174de1cfe4 2650 metakernel_0.27.1-2.dsc
 7d359d1d461a1f4fa86f1607753024b004fbd034 5848 metakernel_0.27.1-2.debian.tar.xz
 71d8d726f66aa8426709d8a8ad0231a23da40931 9901 
metakernel_0.27.1-2_amd64.buildinfo
Checksums-Sha256:
 f08dd7bd6edaa12b6de9b0aafa9ba21592c070ebd105afcc3370155504c7be25 2650 
metakernel_0.27.1-2.dsc
 d199debc1d9a113869fdc3d9df6676b657a49fb70a49c7d2dc33badc805fb821 5848 
metakernel_0.27.1-2.debian.tar.xz
 4263834b7ea446bdd8e680b2ad7574135c2872fa8564ae98517a69feffdc3d35 9901 
metakernel_0.27.1-2_amd64.buildinfo
Files:
 1c6f0e7a6e01d48b824d2050fca7e9bb 2650 python optional metakernel_0.27.1-2.dsc
 62d7922e02de47aa442970d7a5dead71 5848 python optional 
metakernel_0.27.1-2.debian.tar.xz
 350c19edecfe8f7ad495778f6abf9a2a 9901 python optional 
metakernel_0.27.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEcxc7CTsDz7hRCK0UsRvZGQeaO5gFAl+kxAMACgkQsRvZGQea
O5hRLQ//S7R+tFCaOrpXw3Ixv/KgpNezBphIYEBNBgXZYScVEf2wO9cwwVq+LIUr
B/EuAMJ8aDC2kZdRRnnuaNohcZTOySVc5fk9GmL/gxPdzlaQQCx8++TDP+/YUZGU
6Xc/FXzAKNuy88nn5mpGhXaX/GlB2g7DzkjVedNgbIYKLYxgcPqqmklpjPhqjZFv
vIGfT8POdmAuVx0Po+k26SoDgJhyNetVY1ua/nljj0jBATHNIY+NbTCc8kzHV944
5YuEetMGpqQq0nZIPemdfRt/Gcp3R7RFu1B9sE1OD4lLKahvLwkvBC6FAAq+MfC0
gA+whrqGiN4rDdaohYDaZJ6b86QVCm1sI0Oyfe/5koY5kiLdjNlJd4a4qI5AaBKX
ioIpGqZrZrYI9BjwYBTiuW3JDDMjhwopGKeixoMENdaYy1BzU41mtRxVGKhOzcya
THj7M2hsp4JXJvG+7vFO0IlC6sWsgcIqXhYZfDNo/Gio4tYqN5tSTDv41CTLh9/Y
ohkYTH2cGQZWVu1o6ijOajwnCKRvAh2Ql3Oz7H5lUO93bgO1j6mDA9IYLU+7KzKu
KY+VmMNiY6hUY1T6E0v7ozRrfziAAaGhC6N9j0dO0uQxZugrrWcxyZcCeO6ql/q7
8KaiT1tHZ3jFYydKEDOk1sT8IxeblojZkZj1h3Me4RVbtr7kCoE=
=kUhx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to