diff --git a/builds/runtimes/download_python b/builds/runtimes/download_python deleted file mode 100644 index af5a68c..0000000 --- a/builds/runtimes/download_python +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# Build Path: /app/.heroku/python/ -# Build Deps: libraries/sqlite - -# download_python(PYTHON_VERSION) -# Example usage: download_python "2.7.8" -download_python() -{ - local PYTHON_VERSION=${1:-2.7.8} - echo "Building Python $PYTHON_VERSION..." - SOURCE_TARBALL="http://python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz" - curl -L $SOURCE_TARBALL | tar xz - mv Python-$PYTHON_VERSION src -} diff --git a/builds/runtimes/python-2.4.4 b/builds/runtimes/python-2.4.4 index ada1ea7..84addd6 100755 --- a/builds/runtimes/python-2.4.4 +++ b/builds/runtimes/python-2.4.4 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.4.4" - # Protect 2.4 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.4.4/Python-2.4.4.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.4.4 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.4.5 b/builds/runtimes/python-2.4.5 index 4f20297..b4555d0 100755 --- a/builds/runtimes/python-2.4.5 +++ b/builds/runtimes/python-2.4.5 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.4.5" - # Protect 2.4 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.4.5/Python-2.4.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.4.5 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.4.6 b/builds/runtimes/python-2.4.6 index 8412e80..ffebad1 100755 --- a/builds/runtimes/python-2.4.6 +++ b/builds/runtimes/python-2.4.6 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.4.6" - # Protect 2.4 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.4.6/Python-2.4.6.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.4.6 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.5.0 b/builds/runtimes/python-2.5.0 index 70fab97..2b31b96 100755 --- a/builds/runtimes/python-2.5.0 +++ b/builds/runtimes/python-2.5.0 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.5" - # Protect 2.5 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.5/Python-2.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.5 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.5.1 b/builds/runtimes/python-2.5.1 index d507cfd..775b613 100755 --- a/builds/runtimes/python-2.5.1 +++ b/builds/runtimes/python-2.5.1 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.5.1" - # Protect 2.5 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.5.1/Python-2.5.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.5.1 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.5.2 b/builds/runtimes/python-2.5.2 index bc99b2a..84bb094 100755 --- a/builds/runtimes/python-2.5.2 +++ b/builds/runtimes/python-2.5.2 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.5.2" - # Protect 2.5 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.5.2/Python-2.5.2.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.5.2 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.5.3 b/builds/runtimes/python-2.5.3 index 6479240..7ff33b4 100755 --- a/builds/runtimes/python-2.5.3 +++ b/builds/runtimes/python-2.5.3 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.5.3" - # Protect 2.5 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.5.3/Python-2.5.3.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.5.3 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.5.4 b/builds/runtimes/python-2.5.4 index 1a421f7..063c4f6 100755 --- a/builds/runtimes/python-2.5.4 +++ b/builds/runtimes/python-2.5.4 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.5.4" - # Protect 2.5 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.5.4/Python-2.5.4.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.5.4 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.5.5 b/builds/runtimes/python-2.5.5 index 11e560a..9c9ee09 100755 --- a/builds/runtimes/python-2.5.5 +++ b/builds/runtimes/python-2.5.5 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.5.5" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.5.5/Python-2.5.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.5.5 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.5.6 b/builds/runtimes/python-2.5.6 index 8af9bcc..6da7ca4 100755 --- a/builds/runtimes/python-2.5.6 +++ b/builds/runtimes/python-2.5.6 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.5.6" - # Protect 2.5 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.5.6/Python-2.5.6.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.5.6 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.6.0 b/builds/runtimes/python-2.6.0 index 1e2d815..353abc6 100755 --- a/builds/runtimes/python-2.6.0 +++ b/builds/runtimes/python-2.6.0 @@ -6,13 +6,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://www.python.org/ftp/python/2.6/Python-2.6.tar.bz2' +curl -L $SOURCE_TARBALL | tar jx +mv Python-2.6 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.1 b/builds/runtimes/python-2.6.1 index 657eb16..e32cdff 100755 --- a/builds/runtimes/python-2.6.1 +++ b/builds/runtimes/python-2.6.1 @@ -6,13 +6,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.1" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.1/Python-2.6.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.1 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.2 b/builds/runtimes/python-2.6.2 index ba1ba0f..dcce19c 100755 --- a/builds/runtimes/python-2.6.2 +++ b/builds/runtimes/python-2.6.2 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.2" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.2/Python-2.6.2.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.2 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.3 b/builds/runtimes/python-2.6.3 index be9eadf..71839b0 100755 --- a/builds/runtimes/python-2.6.3 +++ b/builds/runtimes/python-2.6.3 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.3" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.3/Python-2.6.3.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.3 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.4 b/builds/runtimes/python-2.6.4 index 2b8bcf3..c1b4f89 100755 --- a/builds/runtimes/python-2.6.4 +++ b/builds/runtimes/python-2.6.4 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.4" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.4/Python-2.6.4.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.4 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.5 b/builds/runtimes/python-2.6.5 index 90e1c39..c681bff 100755 --- a/builds/runtimes/python-2.6.5 +++ b/builds/runtimes/python-2.6.5 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.5" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.5/Python-2.6.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.5 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.6 b/builds/runtimes/python-2.6.6 index 213fb9f..b5cb8ec 100755 --- a/builds/runtimes/python-2.6.6 +++ b/builds/runtimes/python-2.6.6 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.6" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.6/Python-2.6.6.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.6 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.7 b/builds/runtimes/python-2.6.7 index 8eee5d2..0eb587b 100755 --- a/builds/runtimes/python-2.6.7 +++ b/builds/runtimes/python-2.6.7 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.7" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.7/Python-2.6.7.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.7 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.8 b/builds/runtimes/python-2.6.8 index 6ecbe7b..ed071fc 100755 --- a/builds/runtimes/python-2.6.8 +++ b/builds/runtimes/python-2.6.8 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.8" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.8 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.6.9 b/builds/runtimes/python-2.6.9 index b825405..dfa5283 100755 --- a/builds/runtimes/python-2.6.9 +++ b/builds/runtimes/python-2.6.9 @@ -4,13 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.6.9" - # Protect 2.6 builds from parent Python (causes segfault during build). unset LANG PYTHONHOME PYTHONPATH +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.6.9/Python-2.6.9.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.6.9 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.0 b/builds/runtimes/python-2.7.0 index 5e762c0..17559ec 100755 --- a/builds/runtimes/python-2.7.0 +++ b/builds/runtimes/python-2.7.0 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7/Python-2.7.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.1 b/builds/runtimes/python-2.7.1 index 3e55202..06b03af 100755 --- a/builds/runtimes/python-2.7.1 +++ b/builds/runtimes/python-2.7.1 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.1" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.1/Python-2.7.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.1 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.2 b/builds/runtimes/python-2.7.2 index f638b05..f89af12 100755 --- a/builds/runtimes/python-2.7.2 +++ b/builds/runtimes/python-2.7.2 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.2" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.2/Python-2.7.2.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.2 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.3 b/builds/runtimes/python-2.7.3 index 220cddc..d139ca3 100755 --- a/builds/runtimes/python-2.7.3 +++ b/builds/runtimes/python-2.7.3 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.3" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.3/Python-2.7.3.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.3 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.4 b/builds/runtimes/python-2.7.4 index c91efcb..08b04e0 100755 --- a/builds/runtimes/python-2.7.4 +++ b/builds/runtimes/python-2.7.4 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.4" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.4/Python-2.7.4.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.4 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.5 b/builds/runtimes/python-2.7.5 index 8615ca1..520ec01 100755 --- a/builds/runtimes/python-2.7.5 +++ b/builds/runtimes/python-2.7.5 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.5" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.5/Python-2.7.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.5 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.6 b/builds/runtimes/python-2.7.6 index 664c1bb..098ea0f 100755 --- a/builds/runtimes/python-2.7.6 +++ b/builds/runtimes/python-2.7.6 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.6" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.6 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.7 b/builds/runtimes/python-2.7.7 index 06ef903..7ff982f 100755 --- a/builds/runtimes/python-2.7.7 +++ b/builds/runtimes/python-2.7.7 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.7" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.7/Python-2.7.7.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.7 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.7.7-shared b/builds/runtimes/python-2.7.7-shared index fc3d7ef..2c6a60e 100755 --- a/builds/runtimes/python-2.7.7-shared +++ b/builds/runtimes/python-2.7.7-shared @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.7" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.7/Python-2.7.7.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.7 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-2.7.8 b/builds/runtimes/python-2.7.8 index 50eb1cc..0700989 100755 --- a/builds/runtimes/python-2.7.8 +++ b/builds/runtimes/python-2.7.8 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.8" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.8/Python-2.7.8.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.8 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-2.7.8-shared b/builds/runtimes/python-2.7.8-shared index 50eb1cc..0700989 100755 --- a/builds/runtimes/python-2.7.8-shared +++ b/builds/runtimes/python-2.7.8-shared @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "2.7.8" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.8/Python-2.7.8.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-2.7.8 src cd src + ./configure --prefix=$OUT_PREFIX make make install diff --git a/builds/runtimes/python-3.1.0 b/builds/runtimes/python-3.1.0 index a167649..effbf44 100755 --- a/builds/runtimes/python-3.1.0 +++ b/builds/runtimes/python-3.1.0 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.1" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.1/Python-3.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.1 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.1.1 b/builds/runtimes/python-3.1.1 index 6f884dc..bf5698a 100755 --- a/builds/runtimes/python-3.1.1 +++ b/builds/runtimes/python-3.1.1 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.1.1" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.1.1/Python-3.1.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.1.1 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.1.2 b/builds/runtimes/python-3.1.2 index 0fdf4c9..2544ba2 100755 --- a/builds/runtimes/python-3.1.2 +++ b/builds/runtimes/python-3.1.2 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.1.2" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.1.2/Python-3.1.2.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.1.2 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.1.3 b/builds/runtimes/python-3.1.3 index 29e3b56..7af8e66 100755 --- a/builds/runtimes/python-3.1.3 +++ b/builds/runtimes/python-3.1.3 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.1.3" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.1.3/Python-3.1.3.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.1.3 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.1.4 b/builds/runtimes/python-3.1.4 index db4878e..e1050d9 100755 --- a/builds/runtimes/python-3.1.4 +++ b/builds/runtimes/python-3.1.4 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.1.4" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.1.4/Python-3.1.4.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.1.4 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.1.5 b/builds/runtimes/python-3.1.5 index 2a74e78..f538d93 100755 --- a/builds/runtimes/python-3.1.5 +++ b/builds/runtimes/python-3.1.5 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.1.5" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.1.5/Python-3.1.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.1.5 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.2.0 b/builds/runtimes/python-3.2.0 index bee64e5..f4c5ce2 100755 --- a/builds/runtimes/python-3.2.0 +++ b/builds/runtimes/python-3.2.0 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.2" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.2/Python-3.2.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.2 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.2.1 b/builds/runtimes/python-3.2.1 index 46eaae8..68392d0 100755 --- a/builds/runtimes/python-3.2.1 +++ b/builds/runtimes/python-3.2.1 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.2.1" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.2.1/Python-3.2.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.2.1 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.2.2 b/builds/runtimes/python-3.2.2 index 2bc4c13..dd22cab 100755 --- a/builds/runtimes/python-3.2.2 +++ b/builds/runtimes/python-3.2.2 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.2.2" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.2.2/Python-3.2.2.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.2.2 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.2.3 b/builds/runtimes/python-3.2.3 index 6f26cd8..9d887e6 100755 --- a/builds/runtimes/python-3.2.3 +++ b/builds/runtimes/python-3.2.3 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.2.3" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.2.3/Python-3.2.3.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.2.3 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.2.4 b/builds/runtimes/python-3.2.4 index 89d5d36..20d2050 100755 --- a/builds/runtimes/python-3.2.4 +++ b/builds/runtimes/python-3.2.4 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.2.4" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.2.4/Python-3.2.4.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.2.4 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.2.5 b/builds/runtimes/python-3.2.5 index 16506c0..1c4b18e 100755 --- a/builds/runtimes/python-3.2.5 +++ b/builds/runtimes/python-3.2.5 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.2.5" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.2.5/Python-3.2.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.2.5 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.3.0 b/builds/runtimes/python-3.3.0 index 6650bb2..436fd92 100755 --- a/builds/runtimes/python-3.3.0 +++ b/builds/runtimes/python-3.3.0 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.3.0" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.3.0/Python-3.3.0.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.3.0 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.3.1 b/builds/runtimes/python-3.3.1 index e08969a..fcf234e 100755 --- a/builds/runtimes/python-3.3.1 +++ b/builds/runtimes/python-3.3.1 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.3.1" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.3.1/Python-3.3.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.3.1 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.3.2 b/builds/runtimes/python-3.3.2 index 2f0cb48..076bf75 100755 --- a/builds/runtimes/python-3.3.2 +++ b/builds/runtimes/python-3.3.2 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.3.2" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.3.2/Python-3.3.2.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.3.2 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.3.3 b/builds/runtimes/python-3.3.3 index 19a6027..50fe9b8 100755 --- a/builds/runtimes/python-3.3.3 +++ b/builds/runtimes/python-3.3.3 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.3.3" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.3.3/Python-3.3.3.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.3.3 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.3.4 b/builds/runtimes/python-3.3.4 index 10e465d..d07a5c6 100755 --- a/builds/runtimes/python-3.3.4 +++ b/builds/runtimes/python-3.3.4 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.3.4" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.3.4/Python-3.3.4.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.3.4 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.3.5 b/builds/runtimes/python-3.3.5 index 682e847..df64fd8 100755 --- a/builds/runtimes/python-3.3.5 +++ b/builds/runtimes/python-3.3.5 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.3.5" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.3.5/Python-3.3.5.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.3.5 src cd src + ./configure --prefix=$OUT_PREFIX --enable-shared make make install diff --git a/builds/runtimes/python-3.4.0 b/builds/runtimes/python-3.4.0 index dbd1a00..8e4d80e 100755 --- a/builds/runtimes/python-3.4.0 +++ b/builds/runtimes/python-3.4.0 @@ -4,10 +4,12 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.4.0" - +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 --enable-shared make make install diff --git a/builds/runtimes/python-3.4.1 b/builds/runtimes/python-3.4.1 index 2cabc67..352245a 100755 --- a/builds/runtimes/python-3.4.1 +++ b/builds/runtimes/python-3.4.1 @@ -4,12 +4,15 @@ OUT_PREFIX=$1 -source ./download_python -download_python "3.4.1" - +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/3.4.1/Python-3.4.1.tgz' +curl -L $SOURCE_TARBALL | tar xz +mv Python-3.4.1 src cd src + ./configure --prefix=$OUT_PREFIX --with-ensurepip=no --enable-shared make make install ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python +