diff --git a/extra/python2/build b/extra/python2/build deleted file mode 100755 index ae85513f..00000000 --- a/extra/python2/build +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -e - -patch -p1 < python2-always-pip.patch - -./configure \ - --prefix=/usr \ - --with-ensurepip=yes - -make -make DESTDIR="$1" install - -# Make static library writable. -chmod u+w "$1/usr/lib/libpython"*.a - -# Let's make some kind of effort to reduce the overall -# size of Python by removing a bunch of rarely used and -# otherwise useless components. -# -# This can't be done via ./configure as the build system -# doesn't give you this much control over the process. -{ - cd "$1/usr/lib/python"* - rm -rf test ./*/test ./*/tests - rm -rf lib2to3 pydoc* idlelib turtle* ensurepip lib-tk config - - cd "$1/usr/bin" - rm -f 2to3* pydoc* idle* python pip -} diff --git a/extra/python2/checksums b/extra/python2/checksums deleted file mode 100644 index 353fcb41..00000000 --- a/extra/python2/checksums +++ /dev/null @@ -1,2 +0,0 @@ -b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43 Python-2.7.18.tar.xz -1a184c64f85d7a2fb57642135ea298ddd005684c5bd3e601b932cf31b82b9417 python2-always-pip.patch diff --git a/extra/python2/depends b/extra/python2/depends deleted file mode 100644 index 4711f7dd..00000000 --- a/extra/python2/depends +++ /dev/null @@ -1,3 +0,0 @@ -bzip2 -sqlite -zlib diff --git a/extra/python2/patches/python2-always-pip.patch b/extra/python2/patches/python2-always-pip.patch deleted file mode 100644 index 91789c98..00000000 --- a/extra/python2/patches/python2-always-pip.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py -index 526dfd0..d85dc33 100644 ---- a/Lib/ensurepip/__init__.py -+++ b/Lib/ensurepip/__init__.py -@@ -104,7 +104,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False, - additional_paths.append(os.path.join(tmpdir, wheel_name)) - - # Construct the arguments to be passed to the pip command -- args = ["install", "--no-index", "--find-links", tmpdir] -+ args = ["install", "-I", "--no-index", "--find-links", tmpdir] - if root: - args += ["--root", root] - if upgrade: diff --git a/extra/python2/sources b/extra/python2/sources deleted file mode 100644 index 4a76f24e..00000000 --- a/extra/python2/sources +++ /dev/null @@ -1,2 +0,0 @@ -https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz -patches/python2-always-pip.patch diff --git a/extra/python2/version b/extra/python2/version deleted file mode 100644 index 63e54895..00000000 --- a/extra/python2/version +++ /dev/null @@ -1 +0,0 @@ -2.7.18 3