diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-12-19 22:29:52 +0200 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-12-20 00:11:47 +0200 |
| commit | 1b6dd4781f901a769718c49f6f255c15fd376f6e (patch) | |
| tree | 4eef6abe7f4b0d406f13f0533280441adbbe9b54 /lang/python/python3/Makefile | |
| parent | c4fa84cc21a3a2b4421d54cf9625b3a6518813fe (diff) | |
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 <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/Makefile')
| -rw-r--r-- | lang/python/python3/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 924fec58f..b5d9cf46f 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -16,7 +16,7 @@ PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PKG_NAME:=python3 # XXX: reset PKG_RELEASE to 1 only if Python's pip & setuptools versions have also bumped; # otherwise, keep bumping PKG_RELEASE -PKG_RELEASE:=11 +PKG_RELEASE:=12 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz |
