Add PyPy 2.2.1

This commit is contained in:
Yamashita Yuu 2013-11-29 12:58:31 +09:00
parent 20eb5c4913
commit 7b95fea77e
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,33 @@
case "$(uname -s)" in
"Darwin" )
install_package "pypy-2.2.1-osx64" "https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-osx64.tar.bz2#040cd25e95f62242c41e9d4e1e1c1166" "pypy" verify_py27
;;
"Linux" )
case "$(uname -m)" in
"armel" )
install_package "pypy-2.2.1-linux-armel" "https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-linux-armel.tar.bz2#0127094c36f985f6c2b4ed82be3fb6c8" "pypy" verify_py27
;;
"armhf" )
install_package "pypy-2.2.1-linux-armhf-raring" "https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-linux-armhf-raring.tar.bz2#278e0ceb961bd0f49af53a01301601d4" "pypy" verify_py27
;;
"i386" | "i486" | "i586" | "i686" | "i786" )
install_package "pypy-2.2.1-linux" "https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-linux.tar.bz2#86ef92a13faf309f4f413e35c01afcab" "pypy" verify_py27
;;
"x86_64" )
install_package "pypy-2.2.1-linux64" "https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-linux64.tar.bz2#96732d12957fa3c8e58ded2939631e5f" "pypy" verify_py27
esac
;;
"CYGWIN"* | "MINGW"* )
# FIXME: never tested on Windows
install_zip "pypy-2.2.1-win32" "https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-win32.zip#213aacf7a06cd531c3457f1c5a73059c" "pypy" verify_py27
;;
* )
{ echo "Precompiled binary of pypy-2.2.1 is not available for $(uname -s)-$(uname -m)."
echo "To build pypy-2.2.1 from soruce, use 'pypy-2.2.1-src'."
} 1>&4 2>&1
false
;;
esac
install_package "setuptools-1.4.1" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.1.tar.gz#65bb270fbae373c26a2fa890ad907818" python
install_package "pip-1.4.1" "https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz#6afbb46aeb48abac658d4df742bff714" python

View file

@ -0,0 +1,4 @@
require_gcc
install_package "pypy-2.2.1-src" "https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-src.tar.bz2#7ec9f48702323f9e93654ba73dd46720" "pypy_builder" verify_py27
install_package "setuptools-1.4.1" "https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.1.tar.gz#65bb270fbae373c26a2fa890ad907818" python
install_package "pip-1.4.1" "https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz#6afbb46aeb48abac658d4df742bff714" python