blob: c3bceb7378ad6cc36856e5ec0c86ee4d449ea6c2 (
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
|
# Maintainer: Maximilian Stahlberg <maximilian.stahlberg tuhh de>
_name=qics
pkgname="python-${_name}"
pkgver=1.0.0
pkgrel=1
pkgdesc='The quantum information conic solver'
arch=(any)
url='https://qics.readthedocs.io'
license=(MIT)
depends=(python-numpy python-scipy python-numba)
makedepends=(python-setuptools python-build python-installer python-wheel)
checkdepends=(python-pytest)
source=("https://github.com/kerry-he/qics/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('962e34efd6822dcd4c77dc468ed75dcfd412544d0aede354e18ed63ceb02afc3')
build() {
cd "${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
check() {
cd "${_name}-${pkgver}"
pytest
}
package() {
cd "${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|