# Maintainer: Iyán Méndez Veiga _pkgname=qiskit-aer pkgname=python-${_pkgname} pkgver=0.7.1 pkgrel=1 pkgdesc="A high performance simulator for quantum circuits that includes noise models" arch=('x86_64') url="https://github.com/Qiskit/qiskit-aer" license=('Apache') depends=( 'python-qiskit-terra' 'cython' 'openblas' 'pybind11') optdepends=( 'thrust: Parallelization (GPU/CPU) support' 'cuda: Parallelization with CUDA (NVIDIA)' 'openmp: Parallelization with OpenMP' 'intel-tbb: Parallelization with Intel TBB') makedepends=( 'python-setuptools' 'conan' 'cmake' 'python-scikit-build') source=( "${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz" "cmake.patch") sha256sums=('816e0adaef2a5b89f0efa10c8b947815dbb09cbdbc0ad55282e08d07dcc99436' '378188cb0789f56e51fed0ae16a06ed6f3def3210e3ec35384db4dbe61cc1f35') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build }