# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-gpsoauth _pkgname=gpsoauth pkgver=1.0.3 pkgrel=1 pkgdesc='A python client library for Google Play Services OAuth.' arch=('any') url='https://pypi.org/project/gpsoauth/#files' license=('MIT') depends=('python' 'python-requests' 'python-pycryptodomex') makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('dd3bdd140223218541d0ea12b4f3dba8449f18cab57276dfe06b8c7d1e14b2c99a440882b2ac33b3b9d639c0b6c26c0101109ddb94628a283a0eb3f5879a524f') build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }