# Maintainer: Iyán Méndez Veiga _pkgname=qiskit-ibm-provider pkgname=python-${_pkgname} pkgver=0.6.3 pkgrel=2 pkgdesc="Qiskit Provider for accessing the IBM Quantum Services: Online Systems and Simulators" arch=('any') url="https://github.com/Qiskit/qiskit-ibm-provider" license=('Apache') depends=( 'python-dateutil' 'python-numpy' 'python-qiskit' 'python-requests' 'python-requests-ntlm' 'python-typing_extensions' '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/refs/tags/${pkgver}.tar.gz") b2sums=('0eb0cdd8b724e587ae158efc52e7f9b7c3deea251ff5326d58beb4e766c24033d20daa8c2d7fc3de846b02f48ffe2708ad6c0e671e71fbcbf571259a2e4f92e3') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python -m installer --destdir="$pkgdir" dist/*.whl install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }