python-requests: update to 2.26.0.

This commit is contained in:
Michal Vasilek 2021-07-28 22:37:52 +02:00
parent 7dfb0b66da
commit 4dd12979d4

View file

@ -1,6 +1,6 @@
# Template file for 'python-requests'
pkgname=python-requests
version=2.25.1
version=2.26.0
revision=1
wrksrc="requests-${version}"
build_style=python-module
@ -12,14 +12,15 @@ license="Apache-2.0"
homepage="https://python-requests.org/"
changelog="https://raw.githubusercontent.com/psf/requests/master/HISTORY.md"
distfiles="${PYPI_SITE}/r/requests/requests-${version}.tar.gz"
checksum=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804
checksum=b8aa58f8cf793ffd8782d3d8cb19e66ef36f7aba4353eec859e74678b01b07a7
make_check=no # tests are broken for python2 requests
post_patch() {
vsed -i '/certifi/d' setup.py
}
python3-requests_package() {
depends="ca-certificates python3-chardet python3-urllib3 python3-idna"
depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*