21 lines
772 B
Bash
21 lines
772 B
Bash
# Template file for 'python3-requests'
|
|
pkgname=python3-requests
|
|
version=2.28.1
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="ca-certificates python3-charset-normalizer python3-urllib3 python3-idna"
|
|
checkdepends="python3-pytest $depends python3-trustme python3-pytest-httpbin
|
|
python3-pytest-mock python3-pysocks"
|
|
short_desc="Python3 HTTP library for human beings"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
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=7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983
|
|
|
|
post_patch() {
|
|
vsed -i '/certifi/d' setup.py
|
|
}
|