# Maintainer: Iyán Méndez Veiga _pkgname=qiskit-terra pkgname=python-${_pkgname} pkgver=0.16.0 pkgrel=1 pkgdesc="An open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms" arch=('x86_64') url="https://github.com/Qiskit/qiskit-terra" license=('Apache') depends=( 'python-jsonschema' 'python-marshmallow' 'python-marshmallow-polyfield' 'python-networkx' 'python-retworkx' 'python-numpy' 'python-ply' 'python-psutil' 'python-scipy' 'python-sympy' 'python-dill' 'python-fastjsonschema' 'python-constraint' ) optdepends=( 'python-matplotlib: plotting support' 'python-qiskit-aer: high performance simulator framework' 'python-qiskit-ignis: noise framework' 'python-qiskit-aqua: algorithms for quantum computing applications' 'python-qiskit-ibmq: IBM Q account support' ) makedepends=('python-setuptools') source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz") sha256sums=('3a3e8e160d6299976693509adc8623d87f905c0dd52dfb9c62962ddcb34c7b00') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build }