pyenv/plugins/python-build/share/python-build/pypy-1.6
2013-12-12 18:20:57 +09:00

27 lines
1.2 KiB
Groff

case "$(uname -s)" in
"Darwin" )
install_package "pypy-1.6" "https://bitbucket.org/pypy/pypy/downloads/pypy-1.6-osx64.tar.bz2#78bbf70f55e9fec20d7ac22531a997fc" pypy verify_py27
;;
"Linux" )
case "$(uname -m)" in
"i386" | "i486" | "i586" | "i686" | "i786" )
install_package "pypy-1.6" "https://bitbucket.org/pypy/pypy/downloads/pypy-1.6-linux.tar.bz2#ee949986fc5ec5c4a11ecbd546b87fbb" pypy verify_py27
;;
"x86_64" )
install_package "pypy-1.6" "https://bitbucket.org/pypy/pypy/downloads/pypy-1.6-linux64.tar.bz2#a34e3113508449393e874f409dd888fc" pypy verify_py27
;;
esac
;;
"CYGWIN"* | "MINGW"* )
# FIXME: never tested on Windows
install_zip "pypy-1.6" "https://bitbucket.org/pypy/pypy/downloads/pypy-1.6-win32-c.zip#62b9eb914954aeab32905d632d3904f1" pypy verify_py27
;;
* )
{ echo "Precompiled binary of pypy-1.6 is not available for $(uname -s)-$(uname -m)."
} 1>&4 2>&1
false
;;
esac
install_package "setuptools-2.0" "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.0.tar.gz#887cdf417bc5d25326c66bb98c0dd160" python
install_package "pip-1.4.1" "https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz#6afbb46aeb48abac658d4df742bff714" python