packages/lang/python/python3/patches
Alexandru Ardelean c54b312043 python,python3: honour the SOURCE_DATE_EPOCH for the build-info
The Modules/getbuildinfo.c allows the use of DATE and TIME
macros to be defined via CFLAGS.

These vars, control the build date & time when the
interpreter is opened, and can be read via the
`platform._sys_version()` function.

So, a conversion from SOURCE_DATE_EPOCH to DATE & TIME
is required at build-time.

This is especially needed for `platform._sys_version()`
to work.
The installation of pip seems to rely on this.

The logic has been adapted from:
 https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Makefile

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-08 15:32:47 +02:00
..
001-enable-zlib.patch python3: bump to version 3.6.4 2017-12-31 17:58:34 +02:00
003-do-not-run-distutils-tests.patch python3: bump to version 3.6.4 2017-12-31 17:58:34 +02:00
004-do-not-write-bytes-codes.patch python3: refresh patches make package/python3/refresh cmd 2017-07-26 23:56:51 +03:00
006-remove-multi-arch-and-local-paths.patch python3: bump to version 3.6.4 2017-12-31 17:58:34 +02:00
007-distutils-do-not-adjust-path.patch python3: refresh patches make package/python3/refresh cmd 2017-07-26 23:56:51 +03:00
010-do-not-add-rt-lib-dirs-when-cross-compiling.patch python3: bump to version 3.6.4 2017-12-31 17:58:34 +02:00
012-add-support-source-date-epoch-pyc.patch python,python3: add support for SOURCE_DATE_EPOCH var 2017-12-20 00:11:47 +02:00
013-getbuildinfo-date-time-source-date-epoch.patch python,python3: honour the SOURCE_DATE_EPOCH for the build-info 2018-01-08 15:32:47 +02:00
014-remove-platform-so-suffix.patch python3: refresh patches make package/python3/refresh cmd 2017-07-26 23:56:51 +03:00
015-abort-on-failed-modules.patch python3: bump to version 3.6.4 2017-12-31 17:58:34 +02:00
016-adjust-config-paths.patch python3: bump to version 3.6.4 2017-12-31 17:58:34 +02:00