From a864520e5aa5506a3707415e6643f5aa9fed52d4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 17 Mar 2014 11:52:15 -0400 Subject: [PATCH] python 3.4.0 --- formula/python-3.4.0 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 formula/python-3.4.0 diff --git a/formula/python-3.4.0 b/formula/python-3.4.0 new file mode 100755 index 0000000..7231a4c --- /dev/null +++ b/formula/python-3.4.0 @@ -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://python.org/ftp/python/3.4.0/Python-3.4.0.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.4.0 src +cd src + +./configure --prefix=$OUT_PREFIX --with-ensurepip=no +make +make install + +cd .. +rm -fr src +ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python \ No newline at end of file