blob: 46b74395957c5cbe5d7a0aeb7a8742f994d6019b (
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
40
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
_pkgname=qiskit
pkgname=python-${_pkgname}
pkgver=0.39.2
pkgrel=1
pkgdesc="An open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules"
arch=('any')
url="https://github.com/Qiskit/qiskit"
license=('Apache')
depends=(
'python-qiskit-aer>=0.11.1'
'python-qiskit-ibmq-provider>=0.19.2'
'python-qiskit-terra>=0.22.2'
)
optdepends=(
'python-qiskit-experiments: tools for building, running, and analysis of experiments on noisy quantum computers'
'python-qiskit-finance: stock/securities problems, portfolio optimizations and finance experiments'
'python-qiskit-machine-learning: sample datasets and quantum classification algorithms'
'python-qiskit-nature: ground state energy computations, excited states and dipole moments of molecules'
'python-qiskit-optimization: quantum optimization algorithms'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz")
b2sums=('b61e33e0838e4cc5ac874dfd6003b17867abc6b655c4418423057b489fe0186cb4b5ebdc53efc5a5cf65a796cf8ac5c05e46e20fcb46d675194c79639ffde4ba')
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"
}
|