Browse Source
Merge pull request #5726 from commodo/python3-more-reproducible
lang/python/python-package-install.sh: assign SOURCE_DATE_EPOCH to PYTHONHASHSEED
lilik-openwrt-22.03
Hannu Nyman
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
lang/python/python-package-install.sh
|
|
@ -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" |
|
|
|