Your message dated Wed, 21 Jun 2023 21:21:39 +0000
with message-id <[email protected]>
and subject line Bug#1031412: fixed in pysdl2 0.9.15+dfsg-2
has caused the Debian Bug report #1031412,
regarding pysdl2: 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.)
--
1031412: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031412
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pysdl2
Version: 0.9.15+dfsg-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
pysdl2 in experimental could not be built reproducibly.
This is because the documentation embeds a timestamp. Patch attached
that seeds this date from SOURCE_DATE_EPOCH [1] if available.
[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/0003-reproducible-build.patch 1969-12-31
16:00:00.000000000 -0800
--- b/debian/patches/0003-reproducible-build.patch 2023-02-16
12:38:14.656545296 -0800
@@ -0,0 +1,28 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2023-02-16
+
+--- pysdl2-0.9.15+dfsg.orig/doc/conf.py
++++ pysdl2-0.9.15+dfsg/doc/conf.py
+@@ -2,8 +2,9 @@
+
+ import os
+ import sys
++import time
++import datetime
+ import pkg_resources
+-from datetime import date
+
+ # -- Path setup --------------------------------------------------------------
+
+@@ -17,7 +18,9 @@ sys.path.append(os.path.join(parent_dir,
+
+ # -- Project information -----------------------------------------------------
+
+-curr_date = date.today()
++curr_date = datetime.datetime.utcfromtimestamp(
++ int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
++).date()
+ copyright_str = '{0}, Marcus von Appen. Last updated: {1}'
+
+ project = 'PySDL2'
--- a/debian/patches/series 2023-02-16 12:33:49.951412423 -0800
--- b/debian/patches/series 2023-02-16 12:38:13.312477668 -0800
@@ -2,3 +2,4 @@
0002-dont-include-buildpath-in-docs.patch
tests-Don-t-assume-SDL_Init-will-leave-SDL_GetError-unset.patch
tests-Skip-pixel-comparison-when-loading-XCF-files-on-big.patch
+0003-reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: pysdl2
Source-Version: 0.9.15+dfsg-2
Done: Simon McVittie <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pysdl2, 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.
Simon McVittie <[email protected]> (supplier of updated pysdl2 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: Wed, 21 Jun 2023 21:29:18 +0100
Source: pysdl2
Architecture: source
Version: 0.9.15+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Simon McVittie <[email protected]>
Closes: 1031412 1038823
Changes:
pysdl2 (0.9.15+dfsg-2) unstable; urgency=medium
.
* Team upload
* d/p/tests-Don-t-try-to-create-more-than-one-Renderer-for-the-.patch:
Add patch fixing test failure with SDL 2.28 (Closes: #1038823)
* d/p/Make-the-build-reproducible.patch:
Add patch from Chris Lamb to make the documentation reproducible
(Closes: #1031412)
* Add Lintian override to ignore a use of distutils in upstream CI scripts.
We don't use these in Debian, so they aren't relevant for reducing our
dependence on distutils.
* Upload to unstable
.
pysdl2 (0.9.15+dfsg-1) experimental; urgency=medium
.
* Team upload
* New upstream release
* d/p/tests-Don-t-assume-SDL_Init-will-leave-SDL_GetError-unset.patch:
Add patch to use SDL's error indicator correctly, fixing test failures
* d/p/tests-Skip-pixel-comparison-when-loading-XCF-files-on-big.patch:
Add patch to skip a failing image-loading test on big-endian CPUs
* Merge packaging updates from unstable
.
pysdl2 (0.9.13+dfsg-1) experimental; urgency=medium
.
* Team upload
* Branch for experimental
* New upstream release
* d/copyright: Adjust Files-Excluded for new upstream release
* d/watch: Update
* Add Suggests on python3-pil
* d/patches: Update patch series. Most of it was applied upstream.
* d/copyright: Replace CC0-1.0 full text with a reference to common-licenses
* d/copyright: Update
* d/p/sdlmixer_test-Accept-a-lower-value-for-sample-MP3-duratio.patch:
Add patch to resolve a test failure with Debian's SDL_mixer
* Add build-dependency on python3-sphinx-rtd-theme
* d/rules: Make surfacetest.lbm non-executable (thanks, Lintian)
* Add some Lintian overrides
* Standards-Version: 4.6.1 (no changes required)
Checksums-Sha1:
6062abb9b519bc9e2f4c8ad66784115294ac2b1e 2491 pysdl2_0.9.15+dfsg-2.dsc
e6949034d0820aba773a65658ad457446fbd8799 10652
pysdl2_0.9.15+dfsg-2.debian.tar.xz
73831b7b9573a42aa638a102f1bd931d809b4757 12663
pysdl2_0.9.15+dfsg-2_source.buildinfo
Checksums-Sha256:
be642034e641b2d9f6bded77f6e7fb9d1552b37d10141ba6e9c3fad03460c127 2491
pysdl2_0.9.15+dfsg-2.dsc
dba7cf95bab46432f717ace0f9d1d43024aa220988c92823afe18b82c3c3ccd1 10652
pysdl2_0.9.15+dfsg-2.debian.tar.xz
c4cae919512c61091cf4e9d2825de3f5268f1e52ed26c71c26edf0d56dd354ed 12663
pysdl2_0.9.15+dfsg-2_source.buildinfo
Files:
61a3204309716bd75bd0d03caf64ad23 2491 python optional pysdl2_0.9.15+dfsg-2.dsc
1fcf75f23e9e8a15441599f655e755c6 10652 python optional
pysdl2_0.9.15+dfsg-2.debian.tar.xz
097326399cf563c507ebd347b3bfb919 12663 python optional
pysdl2_0.9.15+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmSTZiwACgkQ4FrhR4+B
TE+AVA/7BL+94gQR+pBYhasqeXhnY1pftlqRNTDfm4A5T5O81Hn/Af0vGskOvsty
HNzbXgcEIbQP1p2oVovMzxuEvSq6pCw7C+kNojxjrQACCLcZgcfPIWSkuV6a1jgy
H+y7FSh7YCS3K9A7YiEl0gzVX2syfWq72NU8D2IORhOR6ss5t0akuaCdxO7bBspD
BQaByfl6KzlZinJ//ZpM6MGUaiJtXLizqVGmRZmBUAfN11dS5lTPi0cFkErhIQmE
PsbhbBHbcaHSLGYb4jvQZ4haLyN3JdiBpu1iANIkTXuh7RGO/JObeZenl0BEyN3K
ovDtxpgsZY2C5DYdeTHufIpXFpwQo6VQCnO7tD7YmPD867E4HwM8Ms4udKyInnmx
v6cE/s4L9nLJfccLWaIv9icV3rzfApvaVZLcpxgjV/5z3ZqD4SM0H0JuNDun7R7X
9fwSPPk0ta5tzbKfuR0QnvPengs/uOs65/9JHDj8ZuD09kSqr/YRXrP45Hzs5Zl1
Z2LOxb4QOcNmnxF4NxRXkl01333BGUZXWJNYA/LPcXlvQGa8JWhV6tM9MCEHrfKZ
skXe3hCIt6IMlVBWzj37Y9Y3KkZFKP5gSd8BEweIssUmQPPIOqc5REHe6FC/1z3x
iZ9ZxfOUsZjn0ryjgnrBRkNQ26TGn7aarfUntQrxGeUQiICzykU=
=H17e
-----END PGP SIGNATURE-----
--- End Message ---