From 0750a703e20f322832853fcc008ca24ef9dd68ba Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 25 Feb 2014 11:44:51 -0500 Subject: [PATCH] python-3.3.4 --- formula/python-3.3.4 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 formula/python-3.3.4 diff --git a/formula/python-3.3.4 b/formula/python-3.3.4 new file mode 100755 index 0000000..fa3a674 --- /dev/null +++ b/formula/python-3.3.4 @@ -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.3.4/Python-3.3.4.tgz' +curl $SOURCE_TARBALL | tar xz +mv Python-3.3.4 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install + +cd .. +rm -fr src +ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python \ No newline at end of file