2018-12-24 23:22:35 +08:00
|
|
|
#require_gcc
|
2019-04-08 11:25:01 +09:00
|
|
|
prefer_openssl11
|
2019-04-08 19:19:40 +09:00
|
|
|
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
|
2020-04-02 12:07:08 -07:00
|
|
|
install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl
|
2019-04-08 23:15:31 +09:00
|
|
|
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline
|
2018-12-24 23:22:35 +08:00
|
|
|
if has_tar_xz_support; then
|
2019-02-18 11:05:38 -05:00
|
|
|
install_package "Python-3.7.2" "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz#d83fe8ce51b1bb48bbcf0550fd265b9a75cdfdfa93f916f9e700aef8444bf1bb" ldflags_dirs standard verify_py37 copy_python_gdb ensurepip
|
2018-12-24 23:22:35 +08:00
|
|
|
else
|
2019-02-18 11:05:38 -05:00
|
|
|
install_package "Python-3.7.2" "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz#f09d83c773b9cc72421abba2c317e4e6e05d919f9bcf34468e192b6a6c8e328d" ldflags_dirs standard verify_py37 copy_python_gdb ensurepip
|
2018-12-24 23:22:35 +08:00
|
|
|
fi
|