This commit is contained in:
Ivan Pozdeev 2022-03-01 09:25:30 +03:00
commit 44db3b03d0
2 changed files with 21 additions and 2 deletions

View file

@ -4,7 +4,7 @@ export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline
if has_tar_xz_support; then
install_package "Python-3.11.0a4" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0a4.tar.xz#437fe7376c363dafaf34ce80f0446b41fc9a42c0e2a8c7e519d3f0a0b7cfb3ed" standard verify_py311 copy_python_gdb ensurepip
install_package "Python-3.11.0a5" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0a5.tar.xz#3dab241811e83f1eae691fd5b567c52b864db0b236ebf245e839250bc3ac399f" standard verify_py311 copy_python_gdb ensurepip
else
install_package "Python-3.11.0a4" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0a4.tgz#1ae9cfbf06ac2e40c7f51e86ad9c7e821f5a33b6c1aa7473b46126e3112aa4a0" standard verify_py311 copy_python_gdb ensurepip
install_package "Python-3.11.0a5" "https://www.python.org/ftp/python/3.11.0/Python-3.11.0a5.tgz#017ae04911b6b2f7695fae2af625c3e74e88db15b4a3aca28ed1530090f02a8d" standard verify_py311 copy_python_gdb ensurepip
fi

View file

@ -0,0 +1,19 @@
echo
colorize 1 "WARNING"
echo ": Pyston only runs on x86_64 platforms, and only has been tested on Ubuntu"
echo "so, your mileage may vary with other Linux distributions."
echo
case "$(pyston_architecture 2>/dev/null || true)" in
"linux64" )
install_package "pyston_2.3.2" "https://github.com/pyston/pyston/releases/download/pyston_2.3.2/pyston_2.3.2_portable.tar.gz#80e71dd2db504e09951ee835e04c9e1183c79412da9aa11d98a6d3f44b95bec1" "pyston" verify_py38 get_pip
;;
* )
{ echo
colorize 1 "ERROR"
echo ": A Pyston 2.3.2 binary is not available for $(pyston_architecture 2>/dev/null || true)."
echo
} >&2
exit 1
;;
esac