From 536b10b249469671fcd634b03717d914a81e6af4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Tue, 28 Oct 2014 01:18:48 -0400 Subject: [PATCH] Revert "Add download_python function to reduce repetition" This reverts commit ee93719b79219551dc2cfca252a7e4376e6d01e4. Conflicts: builds/runtimes/download_python --- builds/runtimes/download_python | 14 -------------- builds/runtimes/python-2.4.4 | 8 +++++--- builds/runtimes/python-2.4.5 | 8 +++++--- builds/runtimes/python-2.4.6 | 8 +++++--- builds/runtimes/python-2.5.0 | 8 +++++--- builds/runtimes/python-2.5.1 | 8 +++++--- builds/runtimes/python-2.5.2 | 8 +++++--- builds/runtimes/python-2.5.3 | 8 +++++--- builds/runtimes/python-2.5.4 | 8 +++++--- builds/runtimes/python-2.5.5 | 8 +++++--- builds/runtimes/python-2.5.6 | 8 +++++--- builds/runtimes/python-2.6.0 | 8 +++++--- builds/runtimes/python-2.6.1 | 8 +++++--- builds/runtimes/python-2.6.2 | 8 +++++--- builds/runtimes/python-2.6.3 | 8 +++++--- builds/runtimes/python-2.6.4 | 8 +++++--- builds/runtimes/python-2.6.5 | 8 +++++--- builds/runtimes/python-2.6.6 | 8 +++++--- builds/runtimes/python-2.6.7 | 8 +++++--- builds/runtimes/python-2.6.8 | 8 +++++--- builds/runtimes/python-2.6.9 | 8 +++++--- builds/runtimes/python-2.7.0 | 8 +++++--- builds/runtimes/python-2.7.1 | 8 +++++--- builds/runtimes/python-2.7.2 | 8 +++++--- builds/runtimes/python-2.7.3 | 8 +++++--- builds/runtimes/python-2.7.4 | 8 +++++--- builds/runtimes/python-2.7.5 | 8 +++++--- builds/runtimes/python-2.7.6 | 8 +++++--- builds/runtimes/python-2.7.7 | 8 +++++--- builds/runtimes/python-2.7.7-shared | 8 +++++--- builds/runtimes/python-2.7.8 | 8 +++++--- builds/runtimes/python-2.7.8-shared | 8 +++++--- builds/runtimes/python-3.1.0 | 8 +++++--- builds/runtimes/python-3.1.1 | 8 +++++--- builds/runtimes/python-3.1.2 | 8 +++++--- builds/runtimes/python-3.1.3 | 8 +++++--- builds/runtimes/python-3.1.4 | 8 +++++--- builds/runtimes/python-3.1.5 | 8 +++++--- builds/runtimes/python-3.2.0 | 8 +++++--- builds/runtimes/python-3.2.1 | 8 +++++--- builds/runtimes/python-3.2.2 | 8 +++++--- builds/runtimes/python-3.2.3 | 8 +++++--- builds/runtimes/python-3.2.4 | 8 +++++--- builds/runtimes/python-3.2.5 | 8 +++++--- builds/runtimes/python-3.3.0 | 8 +++++--- builds/runtimes/python-3.3.1 | 8 +++++--- builds/runtimes/python-3.3.2 | 8 +++++--- builds/runtimes/python-3.3.3 | 8 +++++--- builds/runtimes/python-3.3.4 | 8 +++++--- builds/runtimes/python-3.3.5 | 8 +++++--- builds/runtimes/python-3.4.0 | 8 +++++--- builds/runtimes/python-3.4.1 | 9 ++++++--- 52 files changed, 256 insertions(+), 167 deletions(-) delete mode 100644 builds/runtimes/download_python diff --git a/builds/runtimes/download_python b/builds/runtimes/download_python deleted file mode 100644 index af5a68ce..00000000 --- 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 ada1ea77..84addd6f 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 4f202976..b4555d0e 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 8412e80c..ffebad19 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 70fab975..2b31b960 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 d507cfd5..775b6130 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 bc99b2af..84bb0942 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 6479240b..7ff33b44 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 1a421f79..063c4f62 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 11e560a3..9c9ee091 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 8af9bcc8..6da7ca45 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 1e2d815d..353abc6a 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 657eb16e..e32cdffa 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 ba1ba0f0..dcce19c9 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 be9eadf4..71839b0a 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 2b8bcf36..c1b4f89c 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 90e1c39c..c681bffa 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 213fb9fb..b5cb8ecf 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 8eee5d2c..0eb587b2 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 6ecbe7bf..ed071fc9 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 b825405f..dfa52839 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 5e762c09..17559ec8 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 3e552022..06b03af4 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 f638b050..f89af12a 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 220cddc4..d139ca38 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 c91efcbb..08b04e0e 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 8615ca1a..520ec013 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 664c1bb9..098ea0f5 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 06ef9032..7ff982fd 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 fc3d7ef4..2c6a60e1 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 50eb1ccf..07009891 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 50eb1ccf..07009891 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 a167649f..effbf441 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 6f884dc0..bf5698af 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 0fdf4c97..2544ba26 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 29e3b56a..7af8e662 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 db4878e1..e1050d97 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 2a74e789..f538d93c 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 bee64e58..f4c5ce23 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 46eaae8e..68392d09 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 2bc4c134..dd22cab7 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 6f26cd8e..9d887e6e 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 89d5d36c..20d2050d 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 16506c0e..1c4b18e6 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 6650bb2d..436fd92e 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 e08969ac..fcf234e0 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 2f0cb48e..076bf757 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 19a60271..50fe9b87 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 10e465de..d07a5c6b 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 682e847e..df64fd8b 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 dbd1a003..8e4d80e3 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 2cabc67c..352245a5 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 + -- GitLab