[arch-commits] Commit in python-pip/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Nov 8 20:47:31 UTC 2020


    Date: Sunday, November 8, 2020 @ 20:47:31
  Author: felixonmars
Revision: 399644

upgpkg: python-pip 20.2-1

Modified:
  python-pip/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-08 19:55:04 UTC (rev 399643)
+++ PKGBUILD	2020-11-08 20:47:31 UTC (rev 399644)
@@ -3,7 +3,7 @@
 # Contributor: Sebastien Binet <binet at lblbox>
 
 pkgname=('python-pip' 'python2-pip')
-pkgver=20.1.1
+pkgver=20.2
 pkgrel=1
 pkgdesc="The PyPA recommended tool for installing Python packages"
 url="https://pip.pypa.io/"
@@ -10,17 +10,22 @@
 arch=('any')
 license=('MIT')
 _deps=('appdirs' 'cachecontrol' 'colorama' 'contextlib2' 'distlib' 'distro' 'html5lib'
-       'packaging' 'pep517' 'progress' 'requests' 'retrying' 'resolvelib' 'setuptools' 'six' 'toml')
+       'packaging' 'pep517' 'progress' 'requests' 'retrying' 'resolvelib' 'setuptools' 'six' 'toml'
+       # add these until https://github.com/pypa/pip/issues/5354#issuecomment-672678167 is resolved
+       'pyopenssl')
 makedepends=("${_deps[@]/#/python-}" "${_deps[@]/#/python2-}" 'python2-ipaddress' 'python-sphinx')
 checkdepends=('python-pytest-runner' 'python-scripttest' 'python-virtualenv' 'python-pretend'
               'python-yaml' 'python-mock' 'python-freezegun' 'python-cryptography' 'python-pip'
               'python-wheel' 'python-werkzeug' 'python-csv23' 'git' 'subversion')
-source=("pip-${pkgver}.tar.gz::https://github.com/pypa/pip/archive/${pkgver}.tar.gz")
-sha512sums=('ee7b0345c08fbe0215811d07b4c57c1ceece826871842f6d1c174d82e8eee0ad810aa5413d6763ecd5a513e151792a53c36623ab99d2049555ef2542d32d1658')
+source=("pip-${pkgver}.tar.gz::https://github.com/pypa/pip/archive/${pkgver}.tar.gz"
+        pip-fix-unbundle.patch::https://github.com/pypa/pip/commit/b215120b5ab1315c963ee409b720753ac690c7f6.patch)
+sha512sums=('77db7c618b492cbdef54ef98d4e9a94735a809148fb08ef7d065fbeaf047ced26ddc20d0395a0b2db079c66175a267fc15717a24def70392182326b2c659e6f1'
+            '36a41a80a205258740b7a192e7cc0df96cb66ff82f6263705355246ae9eda04b79f75c9953623129e12eb45c99e8a911dfa134870e6fff357c3f57ee6f38d337')
 
 shopt -s extglob
 prepare() {
   cd "$srcdir/pip-$pkgver"
+  patch -p1 -i ../pip-fix-unbundle.patch
 
   # Remove certifi usage
   sed -i 's|from pip._vendor.certifi import where|where = lambda: "/etc/ssl/certs/ca-certificates.crt"|' src/pip/_internal/commands/debug.py
@@ -37,6 +42,7 @@
   python2 setup.py build
 
   cd docs/
+  PYTHONPATH="$srcdir/pip-$pkgver/src/" python pip_sphinxext.py
   PYTHONPATH="$srcdir/pip-$pkgver/src/" sphinx-build -W -b man -d build/doctrees/man man build/man -c html
   mkdir -p build/man-pip2
   cd build/man



More information about the arch-commits mailing list