# Maintainer: Butui Hu _pkgname=girder-client pkgname=python-girder-client pkgver=3.2.3 pkgrel=1 pkgdesc='Python client for interacting with Girder servers' arch=('any') url='https://pypi.org/project/girder-client' license=('Apache-2.0') depends=( python-click python-diskcache python-requests python-requests-toolbelt ) makedepends=( python-build python-installer python-setuptools python-setuptools-scm python-wheel ) source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") sha512sums=('0d44255839aef3b6441a3c294c7411205d1dd97cac8c0ae14f1eba48a8f3f4d3f065cc7f94eca2b0a1e7552788ce15696a08b032c6f8bbf024ba89f1be7e27cb') build() { cd "${_pkgname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${_pkgname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl } # vim:set ts=2 sw=2 et: