python,python3: add support for SOURCE_DATE_EPOCH var
authorAlexandru Ardelean <redacted>
Tue, 19 Dec 2017 20:29:52 +0000 (22:29 +0200)
committerAlexandru Ardelean <redacted>
Tue, 19 Dec 2017 22:11:47 +0000 (00:11 +0200)
commit1b6dd4781f901a769718c49f6f255c15fd376f6e
tree4eef6abe7f4b0d406f13f0533280441adbbe9b54
parentc4fa84cc21a3a2b4421d54cf9625b3a6518813fe
python,python3: add support for SOURCE_DATE_EPOCH var

See:
https://github.com/openwrt/packages/issues/5278

This should make Python & Python3 packages reproducible
when building.
In my local tests, I got the same sha256 for a sample
.pyc file, so likely this is the solution that should address
this.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python/Makefile
lang/python/python/patches/012-add-support-source-date-epoch-pyc.patch [new file with mode: 0644]
lang/python/python3/Makefile
lang/python/python3/patches/012-add-support-source-date-epoch-pyc.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT