-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #881 from heroku/python-versions/2716-279
Python formula updates: 2.7.16-2.7.9
- Loading branch information
Showing
9 changed files
with
9 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +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/2.7.10/Python-2.7.10.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.10 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --with-ensurepip=no | ||
make | ||
make install | ||
source $(dirname $0)/python2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +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/2.7.11/Python-2.7.11.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.11 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --with-ensurepip=no | ||
make | ||
make install | ||
source $(dirname $0)/python2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +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/2.7.12/Python-2.7.12.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.12 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --with-ensurepip=no | ||
make | ||
make install | ||
source $(dirname $0)/python2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +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/2.7.13/Python-2.7.13.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.13 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --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 '{}' + | ||
source $(dirname $0)/python2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +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/2.7.14/Python-2.7.14.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.14 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --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 '{}' + | ||
source $(dirname $0)/python2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +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/2.7.15/Python-2.7.15.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.15 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --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 '{}' + | ||
source $(dirname $0)/python2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +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/2.7.16/Python-2.7.16.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.16 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --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 '{}' + | ||
source $(dirname $0)/python2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +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/2.7.9/Python-2.7.9.tgz' | ||
curl -L $SOURCE_TARBALL | tar xz | ||
mv Python-2.7.9 src | ||
cd src | ||
|
||
./configure --prefix=$OUT_PREFIX --with-ensurepip=no | ||
make | ||
make install | ||
source $(dirname $0)/python2 |