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