# Contributor: Peter Bui # Maintainer: Drew DeVault pkgname=py3-requests _pkgname=requests pkgver=2.23.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="a0f7db5cc9ce67af9f6f81b72e41491735a102f2a1da2fbde98e279846e2140cd26b6370aa5ec79c148c397885a7ae2bbce45c4587215f510dd02b8ac57cb46e requests-2.23.0.tar.gz"