py-sdl / py-sdl2

Python ctypes wrapper around SDL2
Other
303 stars 49 forks source link

Make the build reproducible #263

Closed smcv closed 1 year ago

smcv commented 1 year ago

From: Chris Lamb

The goal of reproducible builds is that a rebuild of the same source code with the same compiler, libraries, etc. should result in the same binaries. SOURCE_DATE_EPOCH provides a standard way for build systems to fill in the date of the latest source change, typically from a git commit or from metadata like the debian/changelog in Debian packages.

This does not change anything if SOURCE_DATE_EPOCH is not defined; the intention is that a larger build system like a Debian package will define it.

Please see https://reproducible-builds.org/ for more information about reproducible builds.

Bug-Debian: https://bugs.debian.org/1031412

Merge Checklist

a-hurst commented 1 year ago

Good idea, thanks for the patch!