2014-03-04 12:39:58 -05:00
|
|
|
case "$(pypy_architecture 2>/dev/null || true)" in
|
|
|
|
"linux" )
|
2020-08-20 15:58:38 -04:00
|
|
|
install_package "pypy-1.9" "https://downloads.python.org/pypy/pypy-1.9-linux.tar.bz2#1e3f9c3d06f8bbfa0dcb1301b40c298096249a7d7c2b4594b3fb1c3e7b9888f2" "pypy" verify_py27 ensurepip
|
2012-08-31 02:32:23 -04:00
|
|
|
;;
|
2014-03-04 12:39:58 -05:00
|
|
|
"linux64" )
|
2020-08-20 15:58:38 -04:00
|
|
|
install_package "pypy-1.9" "https://downloads.python.org/pypy/pypy-1.9-linux64.tar.bz2#4298252515e78c96f4ecd9f25be957411c060ece02d9213eef8d781cf528d18f" "pypy" verify_py27 ensurepip
|
2012-08-31 02:32:23 -04:00
|
|
|
;;
|
2014-03-04 12:39:58 -05:00
|
|
|
"osx64" )
|
2020-08-20 15:58:38 -04:00
|
|
|
install_package "pypy-1.9" "https://downloads.python.org/pypy/pypy-1.9-osx64.tar.bz2#4858f200e32c1070c77c1234ea0e9473eeda98bcd3832c4231f3e46e4e3b74b1" "pypy" verify_py27 ensurepip
|
2014-03-04 12:39:58 -05:00
|
|
|
;;
|
|
|
|
"win32" )
|
2013-05-16 09:39:15 -04:00
|
|
|
# FIXME: never tested on Windows
|
2020-08-20 15:58:38 -04:00
|
|
|
install_zip "pypy-1.9" "https://downloads.python.org/pypy/pypy-1.9-win32.zip#54fafe8c69df390d2a460bab022145aaacd2c62c4a569873b22fdc7475f31581" "pypy" verify_py27 ensurepip
|
2013-05-16 09:39:15 -04:00
|
|
|
;;
|
2014-03-04 12:39:58 -05:00
|
|
|
* )
|
|
|
|
{ echo
|
|
|
|
colorize 1 "ERROR"
|
2014-03-24 22:39:34 -04:00
|
|
|
echo ": The binary distribution of PyPy is not available for $(pypy_architecture 2>/dev/null || true)."
|
2016-10-11 07:07:48 -04:00
|
|
|
echo "try 'pypy-1.9-dev' to build from source."
|
2014-03-04 12:39:58 -05:00
|
|
|
echo
|
|
|
|
} >&2
|
2014-02-04 07:03:51 -05:00
|
|
|
exit 1
|
2014-03-04 12:39:58 -05:00
|
|
|
;;
|
|
|
|
esac
|