# Contributor: Peter Bui # Maintainer: Steven Guikal pkgname=py3-requests pkgver=2.31.0 pkgrel=1 pkgdesc="HTTP request library for Python3" url="https://requests.readthedocs.io/" arch="noarch" license="Apache-2.0" # Requirements for tests are not available in main options="!check" depends=" py3-certifi py3-charset-normalizer py3-idna py3-urllib3 python3 " makedepends="py3-gpep517 py3-setuptools py3-wheel" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/r/requests/requests-$pkgver.tar.gz" builddir="$srcdir/requests-$pkgver" replaces="py-requests" # Backwards compatibility provides="py-requests=$pkgver-r$pkgrel" # Backwards compatibility build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" ce50d64973752f4cf7f7c7c91401669854b55c66d7465bea3689772fae8a6b646cf6720d84a2984bbe6fd78fc8b9ce0aa377f291fb6d7c20c7c2a4be8193acdd requests-2.31.0.tar.gz "