From 6e4887f11e1bd08fbf5a9204193b85718345a29a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 20 Dec 2021 20:31:05 +0100 Subject: extra/python-setuptools: applying ensurepip bootstrapping trick from upstream --- extra/python-setuptools/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'extra/python-setuptools') diff --git a/extra/python-setuptools/PKGBUILD b/extra/python-setuptools/PKGBUILD index 2b768f5c..e0ca72d8 100644 --- a/extra/python-setuptools/PKGBUILD +++ b/extra/python-setuptools/PKGBUILD @@ -13,3 +13,12 @@ eval "$( s/\(python.*\)/\1 || true/ ' )" + +# repeat bootstrap hack from upstream, enable pip +eval "$( + declare -f prepare | \ + sed ' + /rm/ i \ + python -m ensurepip + ' +)" -- cgit v1.2.3-54-g00ecf