From 761f27958a8a232436c9db34cd7aac8afa0e94ec Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:19:25 +0200 Subject: [PATCH 01/53] download_python() --- builds/runtimes/python-2.4.4 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 7614f77431913a73487756f46f7175e9127a1eec Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:20:44 +0200 Subject: [PATCH 02/53] download_python() --- builds/runtimes/python-2.4.5 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 88bad450fd747d7e7a58ab2d2d8d1f3091d2c926 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:22:06 +0200 Subject: [PATCH 03/53] download_python() --- builds/runtimes/python-2.4.6 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 9f09c934bfe461ab99c8f6d8a7b84bd3c3a26346 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:24:30 +0200 Subject: [PATCH 04/53] download_python() --- builds/runtimes/python-2.5.0 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 7b0c04b95b5c76498beb560bcae513317af7b399 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:25:44 +0200 Subject: [PATCH 05/53] download_python() --- builds/runtimes/python-2.5.1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From b1f771391663775c882d7fc02e4642eedcb28ef3 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:27:22 +0200 Subject: [PATCH 06/53] download_python() --- builds/runtimes/python-2.5.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 771042a6196bb06aac9ee04da164cf22df36a4db Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:28:41 +0200 Subject: [PATCH 07/53] download_python() --- builds/runtimes/python-2.5.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 7680aea2234e53bffc81fe839cb7345d7eed1f21 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:30:01 +0200 Subject: [PATCH 08/53] download_python() --- builds/runtimes/python-2.5.4 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From b228d360411283fa139fbcdcc0fa2bc82a99d35e Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:31:30 +0200 Subject: [PATCH 09/53] download_python() --- builds/runtimes/python-2.5.5 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From b2abb41a38d7d0f7a58e7a92e0c36819228d32be Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:33:05 +0200 Subject: [PATCH 10/53] download_python() --- builds/runtimes/python-2.5.6 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 4625eca2778a001a2bf2b5af841eae4fe3fea593 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:35:17 +0200 Subject: [PATCH 11/53] download_python() --- builds/runtimes/python-2.6.0 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From d47fb9f718e7e8532160351e4364bc83ad4c93bd Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:36:32 +0200 Subject: [PATCH 12/53] download_python() --- builds/runtimes/python-2.6.1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 8c2e95fb462b600a317b3aee155de4df2cd902b2 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:38:27 +0200 Subject: [PATCH 13/53] download_python() --- builds/runtimes/python-2.6.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 811c1ceeb6164d0d2fb7605d346ff3054ffbab40 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:40:06 +0200 Subject: [PATCH 14/53] download_python() --- builds/runtimes/python-2.6.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 91aa4271372edbee33258876e597173b6e56ef2b Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:41:49 +0200 Subject: [PATCH 15/53] download_python() --- builds/runtimes/python-2.6.4 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 63048e641d2c90aaf835a123b31d3fddae288a6a Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:43:05 +0200 Subject: [PATCH 16/53] download_python() --- builds/runtimes/python-2.6.5 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From ef87cce5a9a358a53b7f1c0f1d8bb6418ef33947 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:44:38 +0200 Subject: [PATCH 17/53] download_python() --- builds/runtimes/python-2.6.6 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From d48294f940452330057edb729e3e61a77f0067f0 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:46:01 +0200 Subject: [PATCH 18/53] download_python() --- builds/runtimes/python-2.6.7 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 229125513329d8c76b2e88299e0c3835fc1db047 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:47:11 +0200 Subject: [PATCH 19/53] download_python() --- builds/runtimes/python-2.6.8 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From e5ae885ae1c402fed8ca205de1484a4fb170b432 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:49:13 +0200 Subject: [PATCH 20/53] download_python() --- builds/runtimes/python-2.6.9 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From ef964bfc1aff92117edb7cd7ef1a5db9b5b10f8a Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:50:31 +0200 Subject: [PATCH 21/53] download_python() --- builds/runtimes/python-2.7.0 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From aafd7caf77dda5d541fd761e798eb7032ddf7e07 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:51:50 +0200 Subject: [PATCH 22/53] download_python() --- builds/runtimes/python-2.7.1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From dc87fca8146bd54c20aff18faf1239423cc53db8 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:53:15 +0200 Subject: [PATCH 23/53] download_python() --- builds/runtimes/python-2.7.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From e97f13395fb9f4e91fa49a645602c883a484dc8f Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:54:55 +0200 Subject: [PATCH 24/53] download_python() --- builds/runtimes/python-3.4.1 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 - From f8f4facdca94becfd6984ceba0581cd460cf041c Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:57:32 +0200 Subject: [PATCH 25/53] download_python() --- builds/runtimes/python-2.7.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 8c0284dbe85cd1fd30831f2449275fbf7f202963 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 08:58:47 +0200 Subject: [PATCH 26/53] download_python() --- builds/runtimes/python-2.7.4 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From f38c90b1d5e8c731575e3a4b00c281f8d7019d21 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:00:20 +0200 Subject: [PATCH 27/53] download_python() --- builds/runtimes/python-2.7.5 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 721d0624212217ba010f415eebbcd7f34f7c712a Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:01:51 +0200 Subject: [PATCH 28/53] download_python() --- builds/runtimes/python-2.7.6 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 61095f726d98b7da8e5db186b4e85d1668186e2f Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:02:56 +0200 Subject: [PATCH 29/53] download_python() --- builds/runtimes/python-2.7.7 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From c1cc0910c57c6944480f9df8dc1e72206f9467fd Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:04:14 +0200 Subject: [PATCH 30/53] download_python() --- builds/runtimes/python-2.7.7-shared | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From c9d794dc76aa4f44b72c84c55145634bb887233d Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:05:20 +0200 Subject: [PATCH 31/53] download_python() --- builds/runtimes/python-2.7.8 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From be68853991a2506e7065ce6ce165aa8993958019 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:06:38 +0200 Subject: [PATCH 32/53] download_python() --- builds/runtimes/python-2.7.8-shared | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From fb1ed99470a6ec1f567a227202392093cbc5c1ab Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:08:21 +0200 Subject: [PATCH 33/53] download_python() --- builds/runtimes/python-3.1.0 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 2187855da22fc8b036c1ed7a45e6abe252caa0a8 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:10:16 +0200 Subject: [PATCH 34/53] download_python() --- builds/runtimes/python-3.1.1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From a727daa6ff411ae3c7151825c493c841c670af10 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:11:21 +0200 Subject: [PATCH 35/53] download_python() --- builds/runtimes/python-3.1.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From ac62aa01d56012044ba2aa363080cff4f31e807a Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:12:24 +0200 Subject: [PATCH 36/53] download_python() --- builds/runtimes/python-3.1.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 72f7c510b991b55574f75814e05a5a2e45318f80 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:14:03 +0200 Subject: [PATCH 37/53] download_python() --- builds/runtimes/python-3.1.4 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From b7fd5915a556d2a4a6bfe515540b158417f2a9de Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:15:16 +0200 Subject: [PATCH 38/53] download_python() --- builds/runtimes/python-3.1.5 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From f5f67653f81d535f78d35c692e01bd5c319ff269 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:17:16 +0200 Subject: [PATCH 39/53] download_python() --- builds/runtimes/python-3.2.0 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 4dc60cb4ca15f8dba59926990b036a596f2df76e Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:18:53 +0200 Subject: [PATCH 40/53] download_python() --- builds/runtimes/python-3.2.1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 57dec77718d59f189e1f8e3b0173cdd09a5450e5 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:20:21 +0200 Subject: [PATCH 41/53] download_python() --- builds/runtimes/python-3.2.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 496a1ad7d8dc2c6de5d81b6cb0475b3323450705 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:21:33 +0200 Subject: [PATCH 42/53] download_python() --- builds/runtimes/python-3.2.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 28bdeb6f4b5aba80dad11c01b6463eb6e8494a5b Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:22:58 +0200 Subject: [PATCH 43/53] download_python() --- builds/runtimes/python-3.2.4 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 0d219f5d2e30fe670d539255d6266e83f3fcf39b Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:24:29 +0200 Subject: [PATCH 44/53] download_python() --- builds/runtimes/python-3.2.5 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From c7552863239356ed7d765ea87e44bd2c31132974 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:26:02 +0200 Subject: [PATCH 45/53] download_python() --- builds/runtimes/python-3.3.0 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From a313e66d93a38a6fc6754a35db24ba75641b8a67 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:27:48 +0200 Subject: [PATCH 46/53] download_python() --- builds/runtimes/python-3.3.1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From f38eec962f73d1b5f3f7a920bae62fce38f91813 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:28:48 +0200 Subject: [PATCH 47/53] download_python() --- builds/runtimes/python-3.3.2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 2b4a68c8c8a492e96293a6918da9708f2f4d16e3 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:30:25 +0200 Subject: [PATCH 48/53] download_python() --- builds/runtimes/python-3.3.3 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 9178962b845849296b364bdaaede8ac8e7934d24 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:31:51 +0200 Subject: [PATCH 49/53] download_python() --- builds/runtimes/python-3.3.4 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From bf9fe3badf12657949249fa0c292d36dbed91e34 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:33:16 +0200 Subject: [PATCH 50/53] download_python() --- builds/runtimes/python-3.3.5 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From 361eb532571fd4c3c048d5f88f3888a7ae072a40 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:34:34 +0200 Subject: [PATCH 51/53] download_python() --- builds/runtimes/python-3.4.0 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 From ee93719b79219551dc2cfca252a7e4376e6d01e4 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 09:38:30 +0200 Subject: [PATCH 52/53] Add download_python function to reduce repetition Create a common download_python() function that allows most other files in the build/runtimes directory to be simplified to something of the form: ``` #!/usr/bin/env bash # Build Path: /app/.heroku/python/ # Build Deps: libraries/sqlite OUT_PREFIX=$1 source ./download_python download_python "2.7.8" cd src ./configure --prefix=$OUT_PREFIX make make install ``` --- builds/runtimes/download_python | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 builds/runtimes/download_python diff --git a/builds/runtimes/download_python b/builds/runtimes/download_python new file mode 100644 index 0000000..c57a6ab --- /dev/null +++ b/builds/runtimes/download_python @@ -0,0 +1,20 @@ +#!/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() +{ + PYTHON_VERSION=$1 + + if [ -z $PYTHON_VERSION ] + then + $PYTHON_VERSION="2.7.8" + fi + + 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 +} From c82415733df8d0e178dfc580a90b0de6e9fbe45b Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 23 Aug 2014 17:32:08 +0200 Subject: [PATCH 53/53] Modified to use recommended local, compact syntax local PYTHON_VERSION=${1:-2.7.8} Thanks for the tip. You learn something new every day. --- builds/runtimes/download_python | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/builds/runtimes/download_python b/builds/runtimes/download_python index c57a6ab..af5a68c 100644 --- a/builds/runtimes/download_python +++ b/builds/runtimes/download_python @@ -6,13 +6,7 @@ # Example usage: download_python "2.7.8" download_python() { - PYTHON_VERSION=$1 - - if [ -z $PYTHON_VERSION ] - then - $PYTHON_VERSION="2.7.8" - fi - + 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