Your message dated Fri, 04 Oct 2024 12:38:02 +0000
with message-id <e1swhzk-00gxoe...@fasolo.debian.org>
and subject line Bug#1076806: fixed in meson-python 0.16.0-2
has caused the Debian Bug report #1076806,
regarding meson-python: 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 ow...@bugs.debian.org
immediately.)


-- 
1076806: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076806
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: meson-python
Version: 0.16.0-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
meson-python could not be built reproducibly.

This is because the documentation embedded the current build date. A
patch is attached the seeds this value from SOURCE_DATE_EPOCH if
available in the environment.


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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/Reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/Reproducible-build.patch   2024-07-23 14:33:34.520817409 
+0100
@@ -0,0 +1,29 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2024-07-23
+
+--- meson-python-0.16.0.orig/docs/conf.py
++++ meson-python-0.16.0/docs/conf.py
+@@ -16,15 +16,21 @@
+ 
+ import datetime
+ import os
++import time
+ import sys
+ sys.path.insert(0, os.path.abspath('..'))
+ import mesonpy
+ 
++build_date = datetime.datetime.fromtimestamp(
++    int(os.environ.get('SOURCE_DATE_EPOCH', time.time())),
++    tz=datetime.timezone.utc,
++)
++
+ 
+ # -- Project information -----------------------------------------------------
+ 
+ project = 'meson-python'
+-copyright = f'2021\N{EN DASH}{datetime.date.today().year} The meson-python 
developers'
++copyright = f'2021\N{EN DASH}{build_date.year} The meson-python developers'
+ 
+ # The short X.Y version
+ version = mesonpy.__version__
--- a/debian/patches/series     2024-07-23 13:55:11.648078974 +0100
--- b/debian/patches/series     2024-07-23 14:33:33.676802725 +0100
@@ -1 +1,2 @@
 TST-adapt-to-changes-in-pyproject-metadata-0.8.0.patch
+Reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: meson-python
Source-Version: 0.16.0-2
Done: Simon McVittie <s...@debian.org>

We believe that the bug you reported is fixed in the latest version of
meson-python, 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 1076...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated meson-python 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 04 Oct 2024 11:38:44 +0100
Source: meson-python
Architecture: source
Version: 0.16.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 1076806
Changes:
 meson-python (0.16.0-2) unstable; urgency=medium
 .
   * Add patch to make the documentation build reproducible.
     Thanks to Chris Lamb (Closes: #1076806)
   * Standards-Version: 4.7.0 (no changes required)
   * Remove version constraint on python3-packaging, unnecessary since
     Debian 11
   * Build-depend on pkgconf instead of pkg-config
   * d/source/lintian-overrides: Ignore lack of B-D on python3-mesonpy.
     Normally this would be required for packages that use pyproject.toml
     and mesonpy, but this package *is* mesonpy, so it doesn't need a
     circular build-dependency on itself.
   * d/upstream/signing-key.asc: Remove.
     Upstream releases no longer provide signatures.
Checksums-Sha1:
 9be14481b1a0899b3c7dbbbe5edddfdc21b013a7 2641 meson-python_0.16.0-2.dsc
 0bb9a31b08fa9b1e044f252f6456442d95b6d769 5852 
meson-python_0.16.0-2.debian.tar.xz
 6cd77b4e719004bf631fb33b79c3cf2b8a06a66b 9295 
meson-python_0.16.0-2_source.buildinfo
Checksums-Sha256:
 7e0604e8fe296d6b897e1b099f54e206cdb80f04abaf89494872d0914c08bb06 2641 
meson-python_0.16.0-2.dsc
 6ff382591f60e7946800fdb09d572a7ada772302499b3563cc1ff2a5b2af1b04 5852 
meson-python_0.16.0-2.debian.tar.xz
 35edd94ab34b435b2d7ead793e869bf5c5e2e2fe40ca0405fc357ff810449726 9295 
meson-python_0.16.0-2_source.buildinfo
Files:
 9f8ac55e9f4f649ec8b12beaef028572 2641 python optional meson-python_0.16.0-2.dsc
 0806d45f64049015f5ce7eff4056576b 5852 python optional 
meson-python_0.16.0-2.debian.tar.xz
 034a38f0e2f0281515cc70e6ea240451 9295 python optional 
meson-python_0.16.0-2_source.buildinfo

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

iQIzBAEBCAAdFiEEegc60a5pT6Jb/2LlI1wJnT6zMHYFAmb/3sEACgkQI1wJnT6z
MHbRjg/+NMbvjnNUkoJPFiQAVeQzHWrMk46YFJ6RC6gf+R+Q+38YXffcbi32G3m8
GF5m3tyOWp4p6hl3HYIVdknibSYQ576p6TAghZfFFebgItTWD30Wfar8FCoAuJu4
P30yX9xN3DFU7+patd7zFIHlqDd6tEY7E5YnhWHTRWOt8iUBtMWuWyVhKBIQGj5d
ihPsHzNy+QqWMnJ+czieBDs1iya3Dfm4VwtqLXgD+bsVArqlEmEKV/MMLrO/rsVK
yBLKgg83RsiF12+sjmORtd6SCOFzuK/ccVyaALkM9P7+tLw1oIg5GCPyzGhEQFdg
+tZLT0d/GZ1IIFaGGOJFtAqhnSb9ZqG+4+sX2kC+446yiFR6DPASL31InIpu3yuW
e21hGf8QIrv+t4CNZA0d+/feuAW0w/Vus1DGvFmmWbj5NHjpeniNsVNaq6iLZI8P
0+wQnXBRTTn3PWp26bm0oUb4sDty81VrtjlHxgRayl8J4dxzVyA5ArEWa/v8u90P
mtQRNOMblXf9WqKUNMBrlXTn3XheWM7S3gFbCOCnCsclQ0ppqX/30USSHaM6311M
dNlFRYxxjYJpPxQM+wPuFwuFcl/1EoeOSajcXf/Wav8aWsL7IFJQbVpG1uXqWdgW
icCzbLdYUBhlKiJX1I8p2NcurMQ5sQQrP7ENxhK+tHg8m0BteI0=
=bMyG
-----END PGP SIGNATURE-----

Attachment: pgpivIupQIf0t.pgp
Description: PGP signature


--- End Message ---

Reply via email to