Add pypy3-2.4.0-src (#277)

This commit is contained in:
Yamashita Yuu 2014-11-29 09:58:13 +09:00
parent b986f8f93f
commit 0fd1eaaeb5
2 changed files with 5 additions and 3 deletions

View file

@ -191,11 +191,11 @@ if [[ "${VERSION_NAME}" == [23]"."* ]]; then
done done
fi fi
# PyPy requires existing Python 2.x to build # PyPy/PyPy3 requires existing Python 2.7 to build
if [[ "${VERSION_NAME}" == "pypy-"*"-src" ]]; then if [[ "${VERSION_NAME}" == "pypy-"*"-src" ]] || [[ "${VERSION_NAME}" == "pypy3-"*"-src" ]]; then
if [ -z "$PYENV_RPYTHON_VERSION" ]; then if [ -z "$PYENV_RPYTHON_VERSION" ]; then
for version in $(pyenv-versions --bare | sort -r); do for version in $(pyenv-versions --bare | sort -r); do
if [[ "$version" == 2.[567] ]] || [[ "$version" == 2.[567].* ]]; then if [[ "$version" == "2.7"* ]]; then
PYENV_RPYTHON_VERSION="$version" PYENV_RPYTHON_VERSION="$version"
fi fi
done done

View file

@ -0,0 +1,2 @@
require_gcc
install_package "pypy3-2.4.0-src" "https://bitbucket.org/pypy/pypy/downloads/pypy3-2.4.0-src.tar.bz2#d9ba207d6eecf8a0dc4414e9f4e92db1abd143e8cc6ec4a6bdcac75b29f104f3" "pypy_builder" verify_py32 ensurepip