Your message dated Sat, 07 Dec 2024 14:47:15 +0000
with message-id <[email protected]>
and subject line Bug#1089011: fixed in pyorbital 1.9.1-2
has caused the Debian Bug report #1089011,
regarding pyorbital: 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.)


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

This was because the documentation embeds the current build year:

│ │ │ ├── ./usr/share/doc/python-pyorbital-doc/html/genindex.html
│ │ │ │ @@ -362,15 +362,15 @@
│ │ │ │             </div>
│ │ │ │            </div>
│ │ │ │            <footer>
│ │ │ │  
│ │ │ │    <hr/>
│ │ │ │  
│ │ │ │    <div role="contentinfo">
│ │ │ │ -    <p>&#169; Copyright 2024, 2024-2024, The PyTroll Team.</p>
│ │ │ │ +    <p>&#169; Copyright 2024, 2024-2026, The PyTroll Team.</p>
│ │ │ │    </div>

Patch attached that seeds this value via SOURCE_DATE_EPOCH.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/0003-Reproducible-build.patch      1970-01-01 
01:00:00.000000000 +0100
--- b/debian/patches/0003-Reproducible-build.patch      2024-12-04 
09:16:33.088077494 +0000
@@ -0,0 +1,25 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2024-12-04
+
+--- pyorbital-1.9.1.orig/doc/source/conf.py
++++ pyorbital-1.9.1/doc/source/conf.py
+@@ -12,7 +12,7 @@
+ # serve to show the default.
+ """Configurations for sphinx based documentation."""
+ 
+-import datetime as dt
++import time
+ import os
+ import sys
+ 
+@@ -47,7 +47,8 @@ master_doc = "index"
+ 
+ # General information about the project.
+ project = u"pyorbital"
+-copyright = u"2012, 2024-{}, The PyTroll 
Team".format(dt.datetime.utcnow().strftime("%Y"))  # noqa: A001
++year = time.strftime("%Y", 
time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))))
++copyright = u"2012, 2024-{}, The PyTroll Team".format(year)  # noqa: A001
+ 
+ 
+ 
--- a/debian/patches/series     2024-12-04 09:12:12.165151157 +0000
--- b/debian/patches/series     2024-12-04 09:16:46.987925317 +0000
@@ -1,2 +1,3 @@
 0001-Fix-pricacy-breach.patch
 0002-Fix-broken-test-on-i386.patch
+0003-Reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: pyorbital
Source-Version: 1.9.1-2
Done: Antonio Valentino <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyorbital, 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 pyorbital 
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: Sat, 07 Dec 2024 10:40:12 +0000
Source: pyorbital
Architecture: source
Version: 1.9.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 1089011
Changes:
 pyorbital (1.9.1-2) unstable; urgency=medium
 .
   * debian/patches:
     - New 0003-Reproducible-build.patch (Closes: #1089011).
   * Update d/copyright:
     - Update dates.
     - Drop unused license entries.
Checksums-Sha1:
 216b573176c9c552487059187d0b80e7c64362d8 2673 pyorbital_1.9.1-2.dsc
 e493702558e156a883eac7bc101dda86ea0fac5a 6992 pyorbital_1.9.1-2.debian.tar.xz
 21dd8559d72f779f7b1cfbdb0f794a9eeb6053cd 9888 pyorbital_1.9.1-2_amd64.buildinfo
Checksums-Sha256:
 4a5e2ef35c6a0838dcb4be80576eeba2d6555e4c9baf78a16d24b636d2f51f03 2673 
pyorbital_1.9.1-2.dsc
 bbb788bfd808b5431b0486adb9293af75afa76a45a0f2ced7d02e628dee4aea9 6992 
pyorbital_1.9.1-2.debian.tar.xz
 28fc872b1a448ab402b91ec64210ccb2b0c5e06b6ba456c5b8948fae66bfc6d1 9888 
pyorbital_1.9.1-2_amd64.buildinfo
Files:
 f2becb4ba0dabd688dfd9503adbdc59a 2673 python optional pyorbital_1.9.1-2.dsc
 e088a3cc8b66381f77cbf03d9642a45d 6992 python optional 
pyorbital_1.9.1-2.debian.tar.xz
 da333b19c6779879091ac19ee52ba004 9888 python optional 
pyorbital_1.9.1-2_amd64.buildinfo

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

iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmdUWdMdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBI/2A/6A8Da2BspIjgO9ln3
yP5uEA/j6fUJ+CRr5Qcc7HihF9uhjU+dhU+Y1WaymJmxDdMcYST/j2hRaA8U/vQY
rr6BZuISSC2Jv59KmZLTTdJ83GkNinAFYSPk+2K+EnE4Xu2gndAqB86Ycm5iWGKJ
zqbZD1Ani+3MS/K6DUnWbaw7W5NfbZIDsiZjxOIc+00FZMO/S4/XiYSN97nmuzZC
xtYBqG7krurEWEfGW1RDSutjeCBmQZUHHLph1/fD3lZQ9tBhO2E5UHlhKkPtdyXy
WV+UokTSvY0mtdHrsXkKNN30Gq22rn57aJ6qJz/EPk7AHjQe6UKVCPStCI5d0Iry
U7yHPUyIAjv/+HIR9yEXFWDrLT6VFsgPO2EeIjYf/6MEi9kc6/2nK+Id1IWQbovg
23+SfYLWXxAVDhLTEqLsgRBvD7s7hqv9QAaStsdqR+pQ7cW5jpRtWPcbHJKzfOEG
LQvvYahJauYKJ9hCLpdQu1fQd6KZnMGYbKA+aA78s4vxYshDtAtuP8dfTzWuUWQI
oLvXVJc9NM+XYRcRUfy5GH611oZ4mPbhRqr5C2arEDTL8xqhj9VCy+afayOs0Ngl
4FLMD7GtkexC+AhD+MvFk58W866wHpFW76cvZBHoYjnIvvRPr9mRwJx+R9LGbcXY
KWRZW7aKz0IENP6utliAD/KXTIg=
=Cb9j
-----END PGP SIGNATURE-----

Attachment: pgppfFdNMAdA4.pgp
Description: PGP signature


--- End Message ---

Reply via email to