# Maintainer: Justin Berthault pkgname=py3-requests-oauthlib pkgver=1.3.1 pkgrel=3 pkgdesc="First-class OAuth library support for Requests" options="!check" # No tox.ini file url="https://pypi.org/project/requests-oauthlib" arch="noarch" license="ISC" depends="python3 py3-oauthlib py3-requests" makedepends="py3-setuptools" checkdepends="py3-mock py3-requests-mock py3-tox" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/r/requests-oauthlib/requests-oauthlib-$pkgver.tar.gz" builddir="$srcdir/requests-oauthlib-$pkgver" replaces="py-requests-oauthlib" # Backwards compatibility provides="py-requests-oauthlib=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { tox --sitepackages } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" fb4b52edf5f3e4f82f9bedc13b4bc4032e629fd17fef62e72c9eeb734d1963c08c081c9a96db464539637c678e1f5b7f4bf9bb618a8bc1b6aa2024c7b5c620ea requests-oauthlib-1.3.1.tar.gz "