# Contributor: Eivind Uggedal # Maintainer: pkgname=py3-oauthlib _pkgname=oauthlib pkgver=3.2.2 pkgrel=0 pkgdesc="Python3 implementation of the OAuth request-signing logic" options="!check" # requires 'blinker' that is in testing/ url="https://github.com/oauthlib/oauthlib" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" checkdepends="py3-nose py3-cryptography py3-jwt" # py3-blinker" source="https://files.pythonhosted.org/packages/source/o/oauthlib/oauthlib-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-oauthlib" # Backwards compatibility provides="py-oauthlib=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" c147b96e0ab0d1a8845f525e80831cfd04495134dd1f17fd95eac62f3a95c91e6dca9d38e34206537d77f3c12dd5b553252239318ba39546979c350e96536b8b oauthlib-3.2.2.tar.gz "