Your message dated Mon, 13 Jul 2020 19:04:40 +0000
with message-id <[email protected]>
and subject line Bug#964958: fixed in pyerfa 1.7.0+ds-2
has caused the Debian Bug report #964958,
regarding pyerfa: 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.)


-- 
964958: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964958
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyerfa
Version: 1.7.0+ds-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
pyerfa could not be built reproducibly.

This is because it uses the absolute build time in the generated
documentation.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2020-07-13 12:30:17.783317854 
+0100
@@ -0,0 +1,26 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2020-07-13
+
+--- pyerfa-1.7.0+ds.orig/docs/conf.py
++++ pyerfa-1.7.0+ds/docs/conf.py
+@@ -27,6 +27,7 @@
+ 
+ from datetime import datetime
+ import sys
++import os, time
+ 
+ from pkg_resources import get_distribution
+ 
+@@ -41,7 +42,10 @@ except ImportError:
+ 
+ project = 'PyERFA'
+ author = 'The PyERFA Developers'
+-copyright = '2011\u2013{0}, {1}'.format(datetime.utcnow().year, author)
++build_date = datetime.utcfromtimestamp(
++    int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
++)
++copyright = '2011\u2013{0}, {1}'.format(build_date.year, author)
+ 
+ # The version info for the project you're documenting, acts as replacement for
+ # |version| and |release|, also used in various other places throughout the
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2020-07-13 12:30:16.695345996 +0100
@@ -0,0 +1 @@
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: pyerfa
Source-Version: 1.7.0+ds-2
Done: Antonio Valentino <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyerfa, 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.
Antonio Valentino <[email protected]> (supplier of updated pyerfa 
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: SHA512

Format: 1.8
Date: Mon, 13 Jul 2020 17:48:40 +0000
Source: pyerfa
Architecture: source
Version: 1.7.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Maintainers 
<[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 964958
Changes:
 pyerfa (1.7.0+ds-2) unstable; urgency=medium
 .
   * debian/tests/control:
     - fix test dependencies
   * debian/patches:
     - new reproducible-build.patch, thanks to Chris Lamb.
       Closes: #964958.
Checksums-Sha1:
 1b97fa5f3cd99131e890548db78805a3f848b78c 2237 pyerfa_1.7.0+ds-2.dsc
 9df18f567a8f69f366aab18149c3e74fe8405ab6 4528 pyerfa_1.7.0+ds-2.debian.tar.xz
Checksums-Sha256:
 37c1e94419e60a9106ef39dbb815ea8fd828e1c2f614d26fb35a756b330f7e5a 2237 
pyerfa_1.7.0+ds-2.dsc
 2f61b9ca212f0091512996c7d578d6bf37561e253fe6a1b9b419dc7185dce783 4528 
pyerfa_1.7.0+ds-2.debian.tar.xz
Files:
 73ae90f58074914bb0f6534cdff3ba7f 2237 python optional pyerfa_1.7.0+ds-2.dsc
 602310614990f06260e5108d972217cf 4528 python optional 
pyerfa_1.7.0+ds-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE7/BpV0Ra2/h0L3qtmk9WvbkOGL0FAl8MqvYACgkQmk9WvbkO
GL2AzBAAnqqZkoX9R2EAbIDvdNZ8vtjlAJOTtUOwXuJ/AvnJltymBUJFf7ThZGsv
GR2Jm3MDTEFvZ0KecKRs3jaUAU1hP5cJLHlEANGrLtmgYaRVDhVTmZqtR9bHe24p
v9qLcoQUsqwTTV5YV9OqaeDORQqf7x6jQpqvjINsi2S8+C4j+a2XXETW/QNAQYb6
oA1Xgbaw3vuQnQf5TE0azMHgSf/Wk0oQEaoKu4onrExOuyyOn+2wrckVrcMZuS9U
1Ucx8UeABH3FLZqH4pp5JdLq3XMpLOw5PrUNAM4SZ3Tayhykf8LpHPhX4dY1yyGz
VZGz9PexAW5/5btMIv1ldusNLEOAXZoZtHN9dkufBj1uixZ9I1JzsKJ1g+KNBgdH
eh1P3jI+O224Gxhtf7UG8aFGYgslsClsQtv2CnzttixxP8OvDYL9yWTuTxPnoqpu
MX1mZRjHQHAsRsfbQ+wYzzNqd9oIQzN4QEW1GOTAfk+VouxWOfDqzdsTMO4Q3H4v
GH8imYwrrYL6S8zMSGCGbnNuhbVzt46QkOLvu08HaGwrOIegvgTpgkn2nWugM70Z
++WWujemZA3hEuDvsuW02ILUCm8A2z7CQGf7tnBwDkt8BC4mBMqlstO79DA4qW9p
c0/dFkok1nmOzc/7ePs1BSylRdU83Am7AumriqLSj/0y+ZLAmII=
=gyNe
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to