From f37597ad9d5c193a65345e65e48721290e404db5 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 16 Jun 2016 19:32:22 +0200 Subject: [PATCH] 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 --- builds/runtimes/pypy-5.3.0 | 14 ++++++++++++++ .../{python-2.7.11rc1 => python-2.7.12rc1} | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100755 builds/runtimes/pypy-5.3.0 rename builds/runtimes/{python-2.7.11rc1 => python-2.7.12rc1} (70%) diff --git a/builds/runtimes/pypy-5.3.0 b/builds/runtimes/pypy-5.3.0 new file mode 100755 index 0000000..e1c6104 --- /dev/null +++ b/builds/runtimes/pypy-5.3.0 @@ -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 diff --git a/builds/runtimes/python-2.7.11rc1 b/builds/runtimes/python-2.7.12rc1 similarity index 70% rename from builds/runtimes/python-2.7.11rc1 rename to builds/runtimes/python-2.7.12rc1 index cbbeb9e..d2bfe86 100755 --- a/builds/runtimes/python-2.7.11rc1 +++ b/builds/runtimes/python-2.7.12rc1 @@ -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