Files
packages/lang/python
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
..
2017-10-29 07:00:58 +01:00
2017-07-14 17:00:58 +02:00
2017-10-17 22:15:30 +02:00
2017-07-14 17:09:30 +02:00
2017-08-29 21:41:14 -07:00
2017-10-29 07:07:20 +01:00
2017-10-29 07:04:19 +01:00
2017-07-14 17:00:58 +02:00
2017-10-29 07:28:12 +01:00
2017-08-29 21:41:14 -07:00
2017-11-07 01:30:02 +01:00
2017-08-18 16:43:56 -03:00
2017-10-29 06:56:07 +01:00
2017-10-29 06:52:08 +01:00