Merge pull request #5726 from commodo/python3-more-reproducible

lang/python/python-package-install.sh: assign SOURCE_DATE_EPOCH to PYTHONHASHSEED
This commit is contained in:
Hannu Nyman 2018-03-10 11:36:16 +02:00 committed by GitHub
commit 0b7eed7fef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
#!/bin/sh
set -e
[ -z "$SOURCE_DATE_EPOCH" ] || {
PYTHONHASHSEED="$SOURCE_DATE_EPOCH"
export PYTHONHASHSEED
}
process_filespec() {
local src_dir="$1"
local dst_dir="$2"