# Contributor: Peter Bui # Maintainer: Drew DeVault pkgname=py3-requests _pkgname=requests pkgver=2.22.0 pkgrel=0 pkgdesc="A HTTP request library for Python3" url="http://www.python-requests.org/" arch="noarch" license="Apache-2.0" # Requirements for tests are not available in main options="!check" depends="python3 py3-chardet py3-idna py3-certifi py3-urllib3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-requests" # Backwards compatibility provides="py-requests=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="8b8e9da8a0c816fb4ff39be89ac7e1a9d5a99503ed93e44a0d78b28818f1c0eb253b151972a144151a616ba1b4bc5595245458a8268c5161391db54f740ac9a5 requests-2.22.0.tar.gz"