1 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
3 pkgname=python-pydrive2
4 _pkgname="${pkgname#python-}"
7 pkgdesc='Google Drive API Python wrapper library (maintained fork of PyDrive)'
9 url='https://github.com/iterative/PyDrive2'
13 'python-google-api-python-client'
24 'python-setuptools-scm'
26 _commit='0c632bf290d91444d9db6e5cdde9dd40bfadff3d'
27 source=("$pkgname::git+$url#commit=$_commit")
33 git describe --tags | sed 's/^v//'
39 python -m build --wheel --no-isolation
45 python -m installer --destdir="$pkgdir" dist/*.whl