Runtimes: Added pypy-5.3.0, mv python-2.7.11rc1 python-2.7.12rc1

Runtimes:
* Added pypy-5.3.0
* Moved python-2.7.11rc1 to python-2.7.12rc1
This commit is contained in:
cclauss
2016-06-16 19:32:22 +02:00
parent 928a664544
commit f37597ad9d
2 changed files with 16 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/python/
# Build Deps: libraries/sqlite
# NOTICE: This formula only works for the cedar-14 stack, not cedar.
OUT_PREFIX=$1
echo "Building PyPy..."
SOURCE_TARBALL='https://bitbucket.org/pypy/pypy/downloads/pypy-5.3.0-linux64.tar.bz2'
curl -L $SOURCE_TARBALL | tar jx
cp -R pypy-5.3.0-linux64/* $OUT_PREFIX
ln $OUT_PREFIX/bin/pypy $OUT_PREFIX/bin/python
@@ -5,9 +5,9 @@
OUT_PREFIX=$1
echo "Building Python..."
SOURCE_TARBALL='https://www.python.org/ftp/python/2.7.11/Python-2.7.11rc1.tgz'
SOURCE_TARBALL='https://www.python.org/ftp/python/2.7.12/Python-2.7.12rc1.tgz'
curl -L $SOURCE_TARBALL | tar xz
mv Python-2.7.11rc1 src
mv Python-2.7.12rc1 src
cd src
./configure --prefix=$OUT_PREFIX --with-ensurepip=no