blob: ca2796266aa49ffde4bbcd593feaa9a2dcf7f6bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
_pkgname=qiskit-ibm-runtime
pkgname=python-${_pkgname}
pkgver=0.11.1
pkgrel=1
pkgdesc="IBM Client for Qiskit Runtime"
arch=('any')
url="https://github.com/Qiskit/qiskit-ibm-runtime"
license=('Apache')
depends=(
'python-dateutil'
'python-ibm-platform-services'
'python-numpy'
'python-qiskit-ibm-provider'
'python-qiskit-terra'
'python-requests'
'python-requests-ntlm'
'python-typing_extensions'
'python-urllib3'
'python-websocket-client'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz")
b2sums=('6c7a02c50ca4ba28280855d0d324e2685e1aa0eef3985cd27718165cc20cf20fadb340fc0837b455d83fbe23a8916cb1f35c5b9f83eef623470c5d13b4b84297')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|