From 3c40bf8bea32706847051430eb7b9ab63191187e Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Sun, 13 Oct 2019 18:02:20 -0700 Subject: [PATCH] update 3.5 formulas --- builds/runtimes/python-3.5.0 | 4 ++++ builds/runtimes/python-3.5.1 | 4 ++++ builds/runtimes/python-3.5.2 | 16 +--------------- builds/runtimes/python-3.5.3 | 16 +--------------- builds/runtimes/python-3.5.4 | 4 ++++ builds/runtimes/python-3.5.5 | 4 ++++ builds/runtimes/python-3.5.6 | 30 +----------------------------- builds/runtimes/python-3.5.7 | 30 +----------------------------- 8 files changed, 20 insertions(+), 88 deletions(-) create mode 100755 builds/runtimes/python-3.5.0 create mode 100755 builds/runtimes/python-3.5.1 create mode 100755 builds/runtimes/python-3.5.4 create mode 100755 builds/runtimes/python-3.5.5 diff --git a/builds/runtimes/python-3.5.0 b/builds/runtimes/python-3.5.0 new file mode 100755 index 0000000..ad41723 --- /dev/null +++ b/builds/runtimes/python-3.5.0 @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ + +source $(dirname $0)/python3 diff --git a/builds/runtimes/python-3.5.1 b/builds/runtimes/python-3.5.1 new file mode 100755 index 0000000..ad41723 --- /dev/null +++ b/builds/runtimes/python-3.5.1 @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ + +source $(dirname $0)/python3 diff --git a/builds/runtimes/python-3.5.2 b/builds/runtimes/python-3.5.2 index 49806e6..ad41723 100755 --- a/builds/runtimes/python-3.5.2 +++ b/builds/runtimes/python-3.5.2 @@ -1,18 +1,4 @@ #!/usr/bin/env bash # Build Path: /app/.heroku/python/ -# Build Deps: libraries/sqlite - -OUT_PREFIX=$1 - -echo "Building Python…" -SOURCE_TARBALL='https://python.org/ftp/python/3.5.2/Python-3.5.2.tgz' -curl -L $SOURCE_TARBALL | tar xz -mv Python-3.5.2 src -cd src - -./configure --prefix=$OUT_PREFIX --with-ensurepip=no -make -make install - -# ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python +source $(dirname $0)/python3 diff --git a/builds/runtimes/python-3.5.3 b/builds/runtimes/python-3.5.3 index 6e54f88..ad41723 100755 --- a/builds/runtimes/python-3.5.3 +++ b/builds/runtimes/python-3.5.3 @@ -1,18 +1,4 @@ #!/usr/bin/env bash # Build Path: /app/.heroku/python/ -# Build Deps: libraries/sqlite - -OUT_PREFIX=$1 - -echo "Building Python…" -SOURCE_TARBALL='https://python.org/ftp/python/3.5.3/Python-3.5.3.tgz' -curl -L $SOURCE_TARBALL | tar xz -mv Python-3.5.3 src -cd src - -./configure --prefix=$OUT_PREFIX --with-ensurepip=no -make -make install - -# ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python +source $(dirname $0)/python3 diff --git a/builds/runtimes/python-3.5.4 b/builds/runtimes/python-3.5.4 new file mode 100755 index 0000000..ad41723 --- /dev/null +++ b/builds/runtimes/python-3.5.4 @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ + +source $(dirname $0)/python3 diff --git a/builds/runtimes/python-3.5.5 b/builds/runtimes/python-3.5.5 new file mode 100755 index 0000000..ad41723 --- /dev/null +++ b/builds/runtimes/python-3.5.5 @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +# Build Path: /app/.heroku/python/ + +source $(dirname $0)/python3 diff --git a/builds/runtimes/python-3.5.6 b/builds/runtimes/python-3.5.6 index 0d17935..ad41723 100755 --- a/builds/runtimes/python-3.5.6 +++ b/builds/runtimes/python-3.5.6 @@ -1,32 +1,4 @@ #!/usr/bin/env bash # Build Path: /app/.heroku/python/ -OUT_PREFIX=$1 -BIN_DIR="$(cd "$(dirname "$0")"/../.. || exit; pwd)/bin" -export BIN_DIR - -# shellcheck source=bin/utils -source "$BIN_DIR/steps/sqlite3" - -sqlite3_version -echo "Setting up SQLite3 Headers for $SQLITE3_VERSION" -sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1 - -echo "Building Python…" -SOURCE_TARBALL='https://python.org/ftp/python/3.5.6/Python-3.5.6.tgz' -curl -L $SOURCE_TARBALL | tar xz -mv Python-3.5.6 src -cd src - -./configure --prefix=$OUT_PREFIX --with-ensurepip=no -make -make install - -# Remove unneeded test directories, similar to the official Docker Python images: -# https://github.com/docker-library/python -find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' + - -# Remove spare / -LOCATION=${OUT_PREFIX%?} - -ln $LOCATION/bin/python3 $LOCATION/bin/python +source $(dirname $0)/python3 diff --git a/builds/runtimes/python-3.5.7 b/builds/runtimes/python-3.5.7 index 2a07209..ad41723 100755 --- a/builds/runtimes/python-3.5.7 +++ b/builds/runtimes/python-3.5.7 @@ -1,32 +1,4 @@ #!/usr/bin/env bash # Build Path: /app/.heroku/python/ -OUT_PREFIX=$1 -BIN_DIR="$(cd "$(dirname "$0")"/../.. || exit; pwd)/bin" -export BIN_DIR - -# shellcheck source=bin/utils -source "$BIN_DIR/steps/sqlite3" - -sqlite3_version -echo "Setting up SQLite3 Headers for $SQLITE3_VERSION" -sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1 - -echo "Building Python…" -SOURCE_TARBALL='https://python.org/ftp/python/3.5.7/Python-3.5.7.tgz' -curl -L $SOURCE_TARBALL | tar xz -mv Python-3.5.7 src -cd src - -./configure --prefix=$OUT_PREFIX --with-ensurepip=no -make -make install - -# Remove unneeded test directories, similar to the official Docker Python images: -# https://github.com/docker-library/python -find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' + - -# Remove spare / -LOCATION=${OUT_PREFIX%?} - -ln $LOCATION/bin/python3 $LOCATION/bin/python +source $(dirname $0)/python3