diff options
author | Iyán Méndez Veiga | 2024-05-08 13:59:57 +0200 |
---|---|---|
committer | Iyán Méndez Veiga | 2024-05-08 13:59:57 +0200 |
commit | 7c270a7c3a822b3d6e0d06000652cbaad1e74c76 (patch) | |
tree | 4c5b1c917447bc9efa594fceeb9f4c2054f548b0 /PKGBUILD | |
parent | 3a060265e8d5fb153d08e6af9b6373ffd4f7bc92 (diff) | |
download | aur-python-qiskit-ibm-provider.tar.gz |
upgpkg: python-qiskit-ibm-provider 0.11.0-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 51 |
1 files changed, 33 insertions, 18 deletions
@@ -1,37 +1,52 @@ # Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com> _pkgname=qiskit-ibm-provider pkgname=python-${_pkgname} -pkgver=0.10.0 +pkgver=0.11.0 pkgrel=1 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-2.0') +arch=(any) +url=https://github.com/Qiskit/qiskit-ibm-provider +license=(Apache-2.0) depends=( - 'python-dateutil' - 'python-numpy' - 'python-qiskit' - 'python-requests' - 'python-requests-ntlm' - 'python-typing_extensions' - 'python-urllib3' - 'python-websocket-client' - 'python-websockets' + 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' + python-build + python-installer + python-setuptools + python-wheel ) +#checkdepends=( +# jupyter-nbformat +# python-ddt +# python-ipywidgets +# python-pytest +# python-qiskit-aer +# python-qiskit-ibm-runtime +#) source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/refs/tags/${pkgver}.tar.gz") -b2sums=('8675a8e7006332a786d62b4fe96914f75e24ee0f9e81c89157c51f880ef8ecc9b0acb357478ed83606d40dc6edda68af8954cb9fdd2257d9856dd58f521bc83a') +b2sums=('ef2f11e06e03addb7bb1c98d298fa6742b89e178c81a773c72218e5aae7130175708823dca4bf79e45b1712a1debb533efa280698f426ed2fc5857c7d99cbdd4') build() { cd "${_pkgname}-${pkgver}" python -m build --wheel --no-isolation } +#check() { +# cd $_pkgname-$pkgver +# local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])") +# python -m installer --destdir=../test_dir dist/*.whl +# PYTHONPATH=../test_dir/$_site_packages pytest +#} + package() { cd "${_pkgname}-${pkgver}" python -m installer --destdir="$pkgdir" dist/*.whl |