# Maintainer: Iyán Méndez Veiga _pkgname=qiskit-ibmq-provider pkgname=python-${_pkgname} pkgver=0.20.1 pkgrel=1 pkgdesc="Module for accessing the quantum devices and simulators at IBMQ" arch=('any') url="https://github.com/Qiskit/qiskit-ibmq-provider" license=('Apache') depends=( 'python-dateutil' 'python-numpy' 'python-qiskit-terra' 'python-requests' 'python-requests-ntlm' 'python-urllib3' 'python-websocket-client' 'python-websockets' ) makedepends=( 'python-build' 'python-installer' 'python-setuptools' 'python-wheel' ) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz") b2sums=('24c362bd21584a5143c7662716bc407507fcae33ac14af040e75b57c6bcb384413f674cea1a64a3dd095c2ba08ae859c94b6a7f73d4b2fc489515cf885f585f1') install="${pkgname}.install" build() { cd "${srcdir}/${_pkgname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python -m installer --destdir="$pkgdir" dist/*.whl }