diff --git a/CHANGELOG.md b/CHANGELOG.md index c488ac8..7b845d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - Sqlite fix: - Update Python3 base formula - - Update Python formulas 3.6.x, 3.7.x + - Update Python formulas 3.6.x, 3.7.x, 3.5.x - Test staged binaries on Travis -------------------------------------------------------------------------------- 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