From 400f27effe3cd9bb4ee5560cc21c9d9b8f62cd33 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 23 Mar 2013 21:48:25 -0400 Subject: [PATCH] Python 2.7.4rc1 --- formula/python-2.7.4rc1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 formula/python-2.7.4rc1 diff --git a/formula/python-2.7.4rc1 b/formula/python-2.7.4rc1 new file mode 100755 index 0000000..4ea3bbc --- /dev/null +++ b/formula/python-2.7.4rc1 @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# Options: + +OUT_PREFIX=$1 + +echo "Building SQLite..." +./parts/sqlite $OUT_PREFIX + +echo "Building Python..." +SOURCE_TARBALL='http://www.python.org/ftp/python/2.7.4/Python-2.7.4rc1.tar.bz2' +curl $SOURCE_TARBALL | tar jx +mv Python-2.7.4rc1 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install + +cd .. +rm -fr src +ln $OUT_PREFIX/bin/python $OUT_PREFIX/bin/python2 \ No newline at end of file