From 0512160c38550078ec5b49f8ac5a4d83dbab4623 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 12 Nov 2013 04:40:27 -0500 Subject: [PATCH] python 2.6.7 --- formula/python-2.6.7 | 21 +++++++++++++++++++++ formula/python-2.7.6 | 20 ++++++++++++++++++++ formula/python-3.3.3 | 21 +++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100755 formula/python-2.6.7 create mode 100755 formula/python-2.7.6 create mode 100755 formula/python-3.3.3 diff --git a/formula/python-2.6.7 b/formula/python-2.6.7 new file mode 100755 index 0000000..700ee10 --- /dev/null +++ b/formula/python-2.6.7 @@ -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.6.7/Python-2.6.7.tar.bz2' +curl $SOURCE_TARBALL | tar jx +mv Python-2.6.7 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 diff --git a/formula/python-2.7.6 b/formula/python-2.7.6 new file mode 100755 index 0000000..1c0b50e --- /dev/null +++ b/formula/python-2.7.6 @@ -0,0 +1,20 @@ +#!/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/2.7.6/Python-2.7.6.tar.bz2' +curl $SOURCE_TARBALL | tar jx +mv Python-2.7.6 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install + +cd .. +rm -fr src \ No newline at end of file diff --git a/formula/python-3.3.3 b/formula/python-3.3.3 new file mode 100755 index 0000000..df206ff --- /dev/null +++ b/formula/python-3.3.3 @@ -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/3.3.3/Python-3.3.3.tar.bz2' +curl $SOURCE_TARBALL | tar jx +mv Python-3.3.3 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