Skip to content

Commit 87ba8b4

Browse files
committed
Update python 2 formulas
1 parent f03b7ed commit 87ba8b4

File tree

8 files changed

+8
-128
lines changed

8 files changed

+8
-128
lines changed

builds/runtimes/python-2.7.10

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
3-
# Build Deps: libraries/sqlite
43

5-
OUT_PREFIX=$1
6-
7-
echo "Building Python…"
8-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.10/Python-2.7.10.tgz'
9-
curl -L $SOURCE_TARBALL | tar xz
10-
mv Python-2.7.10 src
11-
cd src
12-
13-
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14-
make
15-
make install
4+
source $(dirname $0)/python2

builds/runtimes/python-2.7.11

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
3-
# Build Deps: libraries/sqlite
43

5-
OUT_PREFIX=$1
6-
7-
echo "Building Python…"
8-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.11/Python-2.7.11.tgz'
9-
curl -L $SOURCE_TARBALL | tar xz
10-
mv Python-2.7.11 src
11-
cd src
12-
13-
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14-
make
15-
make install
4+
source $(dirname $0)/python2

builds/runtimes/python-2.7.12

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
3-
# Build Deps: libraries/sqlite
43

5-
OUT_PREFIX=$1
6-
7-
echo "Building Python…"
8-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.12/Python-2.7.12.tgz'
9-
curl -L $SOURCE_TARBALL | tar xz
10-
mv Python-2.7.12 src
11-
cd src
12-
13-
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14-
make
15-
make install
4+
source $(dirname $0)/python2

builds/runtimes/python-2.7.13

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
3-
# Build Deps: libraries/sqlite
43

5-
OUT_PREFIX=$1
6-
7-
echo "Building Python…"
8-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.13/Python-2.7.13.tgz'
9-
curl -L $SOURCE_TARBALL | tar xz
10-
mv Python-2.7.13 src
11-
cd src
12-
13-
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --with-ensurepip=no
14-
make
15-
make install
16-
17-
# Remove unneeded test directories, similar to the official Docker Python images:
18-
# https://github.com/docker-library/python
19-
find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' +
4+
source $(dirname $0)/python2

builds/runtimes/python-2.7.14

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
3-
# Build Deps: libraries/sqlite
43

5-
OUT_PREFIX=$1
6-
7-
echo "Building Python…"
8-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.14/Python-2.7.14.tgz'
9-
curl -L $SOURCE_TARBALL | tar xz
10-
mv Python-2.7.14 src
11-
cd src
12-
13-
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --with-ensurepip=no
14-
make
15-
make install
16-
17-
# Remove unneeded test directories, similar to the official Docker Python images:
18-
# https://github.com/docker-library/python
19-
find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' +
4+
source $(dirname $0)/python2

builds/runtimes/python-2.7.15

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
33

4-
OUT_PREFIX=$1
5-
BIN_DIR="$(cd "$(dirname "$0")"/../.. || exit; pwd)/bin"
6-
export BIN_DIR
7-
8-
# shellcheck source=bin/utils
9-
source "$BIN_DIR/steps/sqlite3"
10-
11-
sqlite3_version
12-
echo "Setting up SQLite3 Headers for $SQLITE3_VERSION"
13-
sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1
14-
15-
echo "Building Python…"
16-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.15/Python-2.7.15.tgz'
17-
curl -L $SOURCE_TARBALL | tar xz
18-
mv Python-2.7.15 src
19-
cd src
20-
21-
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --with-ensurepip=no
22-
make
23-
make install
24-
25-
# Remove unneeded test directories, similar to the official Docker Python images:
26-
# https://github.com/docker-library/python
27-
find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' +
4+
source $(dirname $0)/python2

builds/runtimes/python-2.7.16

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
33

4-
OUT_PREFIX=$1
5-
BIN_DIR="$(cd "$(dirname "$0")"/../.. || exit; pwd)/bin"
6-
export BIN_DIR
7-
8-
# shellcheck source=bin/utils
9-
source "$BIN_DIR/steps/sqlite3"
10-
11-
sqlite3_version
12-
echo "Setting up SQLite3 Headers for $SQLITE3_VERSION"
13-
sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1
14-
15-
echo "Building Python…"
16-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.16/Python-2.7.16.tgz'
17-
curl -L $SOURCE_TARBALL | tar xz
18-
mv Python-2.7.16 src
19-
cd src
20-
21-
./configure --prefix=$OUT_PREFIX --enable-unicode=ucs4 --with-ensurepip=no
22-
make
23-
make install
24-
25-
# Remove unneeded test directories, similar to the official Docker Python images:
26-
# https://github.com/docker-library/python
27-
find "${OUT_PREFIX}" \( -type d -a \( -name test -o -name tests \) \) -exec rm -rf '{}' +
4+
source $(dirname $0)/python2

builds/runtimes/python-2.7.9

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
#!/usr/bin/env bash
22
# Build Path: /app/.heroku/python/
3-
# Build Deps: libraries/sqlite
43

5-
OUT_PREFIX=$1
6-
7-
echo "Building Python…"
8-
SOURCE_TARBALL='https://python.org/ftp/python/2.7.9/Python-2.7.9.tgz'
9-
curl -L $SOURCE_TARBALL | tar xz
10-
mv Python-2.7.9 src
11-
cd src
12-
13-
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
14-
make
15-
make install
4+
source $(dirname $0)/python2

0 commit comments

Comments
 (0)