Commit ae44d804 authored by Keith Maxwell's avatar Keith Maxwell Committed by Leo
Browse files

community/py3-pip: upgrade to 20.1

Changelog: https://pip.pypa.io/en/stable/news/#id1
parent 957f7d7f
......@@ -2,10 +2,10 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pip
_pkgname=pip
pkgver=20.0.2
pkgrel=2
pkgver=20.1
pkgrel=0
pkgdesc="Tool for installing and managing Python packages"
options="!check" # Requires pytest
options="!check" # Requires https://github.com/pypa/scripttest
url="http://www.pip-installer.org"
arch="noarch"
license="MIT"
......@@ -22,7 +22,7 @@ depends="
py3-pep517
py3-progress
py3-parsing
py3-pytoml
py3-toml
py3-requests
py3-retrying
py3-setuptools
......@@ -33,14 +33,15 @@ depends="
makedepends="
py3-sphinx
"
checkdepends="
py3-pytest
"
subpackages="
$pkgname-doc
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-bash-completion:bashcomp:noarch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/pypa/pip/archive/$pkgver.tar.gz
https://github.com/pypa/pip/commit/9be7454fd69081d06a3f8234a08a6d791e13173f.patch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/pypa/pip/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
provides="py-pip=$pkgver-r$pkgrel" # Backwards compatibility
......@@ -66,7 +67,11 @@ build() {
# Build manpage
cd docs/
PYTHONPATH="$srcdir/pip-$pkgver/src/" sphinx-build -W -b man -d build/doctrees/man man build/man -c html
PYTHONPATH="$builddir/src/" sphinx-build -W -b man -d build/doctrees/man man build/man -c html
}
check() {
PYTHONPATH="./build/lib" python3 -m pytest
}
package() {
......@@ -99,5 +104,4 @@ zshcomp() {
amove usr/share/zsh/site-functions
}
sha512sums="f9965944ca0f319d01db1638ce97cf64772afff1778b3b1271155de73208cfcb3954d89a469c1143c0bf3288a53d4446165a49df994374b16ac6f7ffdae85857 py3-pip-20.0.2.tar.gz
61732786303ca7ec7828d04099a884534034d50cdd9a7a0de2ace34c28381a992943880f03797a64d5d4f3a76d317d356f76ffff5e3ffd97ed611b234cc05528 9be7454fd69081d06a3f8234a08a6d791e13173f.patch"
sha512sums="19cc1172540bec4b0c6facf55fa9c463bf8f4391dd1a643ac208c8e0b787950b2d72a6ec8f0772c7e6582c6b6a4a103f31ad58ffa2119fb574c174e5ec77b0c1 py3-pip-20.1.tar.gz"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment