# Maintainer: Guillaume Horel pkgname=('python-google-auth-oauthlib') _pkgname='google-auth-oauthlib' pkgver='0.4.1' pkgrel=1 pkgdesc="oauthlib integration for Google auth." url="http://google-auth-oauthlib.readthedocs.io/en/latest/" checkdepends=('python-click' 'python-pytest' 'python-mock') depends=('python' 'python-google-auth' 'python-requests-oauthlib') makedepends=() optdepends=('python-click') license=('Apache') arch=('any') source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha256sums=('88d2cd115e3391eb85e1243ac6902e76e77c5fe438b7276b297fbe68015458dd') check() { cd "${srcdir}/${_pkgname}-${pkgver}" rm -rf tests/__pycache__ pytest } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 }