[arch-commits] Commit in python-pip/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jan 22 18:22:21 UTC 2021
Date: Friday, January 22, 2021 @ 18:22:21
Author: felixonmars
Revision: 406619
upgpkg: python-pip 20.3-1
Modified:
python-pip/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-22 18:10:41 UTC (rev 406618)
+++ PKGBUILD 2021-01-22 18:22:21 UTC (rev 406619)
@@ -3,7 +3,7 @@
# Contributor: Sebastien Binet <binet at lblbox>
pkgname=('python-pip' 'python2-pip')
-pkgver=20.2.4
+pkgver=20.3
pkgrel=1
pkgdesc="The PyPA recommended tool for installing Python packages"
url="https://pip.pypa.io/"
@@ -13,22 +13,17 @@
'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')
+makedepends=("${_deps[@]/#/python-}" "${_deps[@]/#/python2-}" 'python2-ipaddress' 'python-sphinx'
+ 'python-sphinx-inline-tabs')
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"
- pip-fix-unbundle.patch::https://github.com/pypa/pip/commit/b215120b5ab1315c963ee409b720753ac690c7f6.patch
- pip-packaging-xfail.patch::https://github.com/pypa/pip/commit/68713c0a26395e68240445fae62940091cb45519.patch)
-sha512sums=('649fdc6baa1ebe741717bd1e5ed8f2450d79f8bc0d06f2804c27488be9018f6fa6cc2eccc3ec2801442073f59ac0b8c377612c25116126aa919aa95050f4214f'
- '36a41a80a205258740b7a192e7cc0df96cb66ff82f6263705355246ae9eda04b79f75c9953623129e12eb45c99e8a911dfa134870e6fff357c3f57ee6f38d337'
- '08e9bbef95f0d725244d04eee4b5b329fddac2471e9c0bf68f8155d2154a40f50ef3bb62a75cfbe138fb2356056ecedeed6ea93f90e2a928324cca7fdb2fffbf')
+source=("pip-${pkgver}.tar.gz::https://github.com/pypa/pip/archive/${pkgver}.tar.gz")
+sha512sums=('3a1f8294a1b2b1c02fe1558f616dd9fcb4dc7bb341cb1a2e0b4515ed197e6a0191cac3420eda0c0594ca91a551b4d1018c5e4eb9e4913a48af95136b333c3a36')
shopt -s extglob
prepare() {
- cd "$srcdir/pip-$pkgver"
- patch -p1 -i ../pip-fix-unbundle.patch
- patch -p1 -i ../pip-packaging-xfail.patch
+ cd pip-$pkgver
# 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
@@ -39,7 +34,7 @@
}
build() {
- cd "$srcdir/pip-$pkgver"
+ cd pip-$pkgver
python setup.py build
python2 setup.py build
@@ -80,7 +75,7 @@
package_python-pip() {
depends=("${_deps[@]/#/python-}")
- cd "$srcdir/pip-$pkgver"
+ cd pip-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir"
install -D -m644 LICENSE.txt \
@@ -99,7 +94,7 @@
conflicts=('python-pyinstall')
replaces=('python-pyinstall')
- cd "$srcdir/pip-$pkgver"
+ cd pip-$pkgver
python2 setup.py install --prefix=/usr --root="$pkgdir"
mv "$pkgdir/usr/bin/pip" "$pkgdir/usr/bin/pip2"
More information about the arch-commits
mailing list