Your message dated Tue, 02 Aug 2016 04:19:56 +0000
with message-id <[email protected]>
and subject line Bug#820183: fixed in cython 0.24.1-1
has caused the Debian Bug report #820183,
regarding cython: please make the build reproducible (timestamps)
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.)


-- 
820183: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cython
Version: 0.23.4+git4-g7eed8d8-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Dear Maintainer,

While working on the “reproducible builds” effort [1], we have noticed
that 'cython' could not be built reproducibly.

The attached patch uses debian changelog last entry's year as copyright
year in the documentation (through SOURCE_DATE_EPOCH). Once applied,
cython can be built reproducibly in our current experimental framework.

Regards,
Alexis Bienvenüe.

 [1]: https://wiki.debian.org/ReproducibleBuilds


diff -Nru cython-0.23.4+git4-g7eed8d8/debian/changelog cython-0.23.4+git4-g7eed8d8/debian/changelog
--- cython-0.23.4+git4-g7eed8d8/debian/changelog	2016-02-19 16:13:06.000000000 +0100
+++ cython-0.23.4+git4-g7eed8d8/debian/changelog	2016-04-06 12:03:47.000000000 +0200
@@ -1,3 +1,9 @@
+cython (0.23.4+git4-g7eed8d8-1.0~reproducible1) unstable; urgency=medium
+
+  * Fix copyright year in documentation for reproducible build.
+
+ -- Alexis Bienvenüe <[email protected]>  Wed, 06 Apr 2016 12:03:47 +0200
+
 cython (0.23.4+git4-g7eed8d8-1) unstable; urgency=medium
 
   * Fresh upstream post bugfix release snapshot
diff -Nru cython-0.23.4+git4-g7eed8d8/debian/patches/honour_SOURCE_DATE_EPOCH_for_copyright_year cython-0.23.4+git4-g7eed8d8/debian/patches/honour_SOURCE_DATE_EPOCH_for_copyright_year
--- cython-0.23.4+git4-g7eed8d8/debian/patches/honour_SOURCE_DATE_EPOCH_for_copyright_year	1970-01-01 01:00:00.000000000 +0100
+++ cython-0.23.4+git4-g7eed8d8/debian/patches/honour_SOURCE_DATE_EPOCH_for_copyright_year	2016-04-06 12:02:29.000000000 +0200
@@ -0,0 +1,19 @@
+Description: Honour SOURCE_DATE_EPOCH for copyright year
+ Uses SOURCE_DATE_EPOCH environment variable (if set) to
+ set the copyright year in documentation, to get reproducible build.
+Author: Alexis Bienvenüe <[email protected]>
+
+--- cython-0.23.4+git4-g7eed8d8.orig/docs/conf.py
++++ cython-0.23.4+git4-g7eed8d8/docs/conf.py
+@@ -15,7 +15,10 @@ import sys, os, os.path, re
+ import itertools
+ import datetime
+ 
+-YEAR = datetime.date.today().strftime('%Y')
++if os.environ.has_key('SOURCE_DATE_EPOCH'):
++    YEAR = datetime.datetime.utcfromtimestamp(float(os.environ.get('SOURCE_DATE_EPOCH'))).strftime('%Y')
++else:
++    YEAR = datetime.date.today().strftime('%Y')
+ 
+ # 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
diff -Nru cython-0.23.4+git4-g7eed8d8/debian/patches/series cython-0.23.4+git4-g7eed8d8/debian/patches/series
--- cython-0.23.4+git4-g7eed8d8/debian/patches/series	2016-02-19 16:13:06.000000000 +0100
+++ cython-0.23.4+git4-g7eed8d8/debian/patches/series	2016-04-06 12:00:46.000000000 +0200
@@ -1,2 +1,3 @@
 deb_disable_googleanalytics
 deb-reproducible.patch
+honour_SOURCE_DATE_EPOCH_for_copyright_year

--- End Message ---
--- Begin Message ---
Source: cython
Source-Version: 0.24.1-1

We believe that the bug you reported is fixed in the latest version of
cython, 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.
Yaroslav Halchenko <[email protected]> (supplier of updated cython 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: Mon, 01 Aug 2016 18:21:43 -0400
Source: cython
Binary: cython cython-dbg cython3 cython3-dbg cython-doc
Architecture: source amd64 all
Version: 0.24.1-1
Distribution: unstable
Urgency: medium
Maintainer: Python Applications Packaging Team 
<[email protected]>
Changed-By: Yaroslav Halchenko <[email protected]>
Description:
 cython     - C-Extensions for Python
 cython-dbg - C-Extensions for Python - debug build
 cython-doc - C-Extensions for Python - documentation
 cython3    - C-Extensions for Python 3
 cython3-dbg - C-Extensions for Python 3 - debug build
Closes: 806493 820183 830645
Changes:
 cython (0.24.1-1) unstable; urgency=medium
 .
   [ Alexis Bienvenüe <[email protected]> ]
   * Fix copyright year in documentation for reproducible build
     (Closes: #820183)
 .
   [ Yaroslav Halchenko ]
   * Fresh upstream release (Closes: #830645)
     - addresses additional reproducible build issues (Closes: #806493)
       please open NEW bugreport if additional issues persist
   * debian/watch
     - monitor pypi for release tarballs
Checksums-Sha1:
 615999bb02bea34e5d26f2570db2bcc7812c4bad 2337 cython_0.24.1-1.dsc
 a837efb73c195585ce6e27cf53e3587285ccd39f 1703756 cython_0.24.1.orig.tar.gz
 44af2fc6a6a634f22f9d5901cf9c87ae0de5b0d8 23020 cython_0.24.1-1.debian.tar.xz
 9a9b7f285713d58a021ec6b5824069987fde9a29 3916254 cython-dbg_0.24.1-1_amd64.deb
 b6bef786310b25f8843e905603b41fb0bb1caab3 443104 cython-doc_0.24.1-1_all.deb
 f71b18904b84dc4aace66109f2b65e0a07d0767e 6364058 cython3-dbg_0.24.1-1_amd64.deb
 9130ba488b0384e840ee833141e62f1dd2af70f7 1766558 cython3_0.24.1-1_amd64.deb
 bf24c6192c0021fac895f3d7ba51357a62eae2ef 1751766 cython_0.24.1-1_amd64.deb
Checksums-Sha256:
 44de613896c6862c73c7cafaaab4834f5d334a56c726acfd36c940300e6212b3 2337 
cython_0.24.1-1.dsc
 84808fda00508757928e1feadcf41c9f78e9a9b7167b6649ab0933b76f75e7b9 1703756 
cython_0.24.1.orig.tar.gz
 73e2bd663e05e6b0704e188524e74a25d1742fcee81e7cde46e0a3bb91b7620a 23020 
cython_0.24.1-1.debian.tar.xz
 09e12a0e04839841894c77698c8f8773bcc5ce3c6d9ad75cbefd50dda9854992 3916254 
cython-dbg_0.24.1-1_amd64.deb
 95c3ec0304b29f21c7cc6ed6dec0832870e05bb0af5336268d779089dc64358f 443104 
cython-doc_0.24.1-1_all.deb
 9870b49da0d80b045f6d1370017b68e6622f0e38f0e40b9046ae57ab7f6be1c6 6364058 
cython3-dbg_0.24.1-1_amd64.deb
 d5bf18d8f6bbaa8b925490da2b4129dd6e7c13a021efaae1b954f6df3bb36340 1766558 
cython3_0.24.1-1_amd64.deb
 2cd60291d651f9e35a7e26c7f87db30099bd4882131b6fe3764d77764cd0a83c 1751766 
cython_0.24.1-1_amd64.deb
Files:
 70032bb8e05f31e40095103441a18d02 2337 python optional cython_0.24.1-1.dsc
 890b494a12951f1d6228c416a5789554 1703756 python optional 
cython_0.24.1.orig.tar.gz
 c5358882d2e69ea82b5d8982e7c85cd1 23020 python optional 
cython_0.24.1-1.debian.tar.xz
 92f40d64767af2c9466408136d1dfed9 3916254 debug extra 
cython-dbg_0.24.1-1_amd64.deb
 4f23df728b674eee0f5074bed0e8bcbd 443104 doc optional 
cython-doc_0.24.1-1_all.deb
 9a79c5910701348657e34580a6fa0216 6364058 debug extra 
cython3-dbg_0.24.1-1_amd64.deb
 46280c32ef16b669897fb58bfa4945ad 1766558 python optional 
cython3_0.24.1-1_amd64.deb
 98542f333463809dc96e6a17089d5ae9 1751766 python optional 
cython_0.24.1-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXoA3MAAoJEKLeI1Bi2jP6wZ0QALgKP4MbSiSMBzSPK5bqNfcu
8fVqPdss0W3cZ/23+Jycsa0W9wiz84+Cj6WyYqSy/HEuNAYQNAt09CHZX2r/R7nO
GNbOuCJ9r92vAZabiUk0whTg7SC3YRnJcW0okIbKxUthjr9SJy/fGBeEMFDQqNTi
BUVXjSUJaQzO6PpLdnKdmLcpTR377c1hfx/UWhaw74L8a0RULM6Mi/F8/GxT4Xdc
QDcuxNHC+fMNywmu8HI9ZLRexYRtazJON5mBh6SwaP7I6mQU2XyepMLlI9K5dPQf
mTm9AI3BJTbg/HwhVgXmDaO1105AU4oEheRyL9P7oxZvlA/0yrvU8LrP4rococmR
Sh7XdcAuUTrJ9k2U4zsxnkPUkFIPdOHEsFtnMR0dDHBXpy4lVtEH2TebaEUcZmRk
2paIUYzZ1Vf9zPzf1FN9a555kb4SmgRl9xDhIshUY2Rwmk7m6v3vnk4hujR0zlGM
tvhxPyKzUofoOP6lvLW+r/1BsPhAB87vVi5ohDCEh+wHFIytwx6cjbYtd4bZoTCT
30w+vx2h5mf05HRgrB1D3GxiSmYR1vNCZ+zbO7UEH5ghtB5rcwT4LFodywgY76wx
bM54H8qF/R3AMMzFLSZUP6E5iSyyXEcUrX+DYiEQe4SSw9rbqd0IOLs1ljVpLLl0
SG6q+VZDHudNpfumMRXN
=GcxP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to