# Contributor: Philipp Arras # Maintainer: Martin Reinecke pkgname=py3-ducc0 _pyname=ducc0 pkgver=0.31.0 _tagname=0_31_0 pkgrel=0 pkgdesc="Efficient algorithms for Fast Fourier transforms and more" url="https://gitlab.mpcdf.mpg.de/mtr/ducc" arch="all" license="GPL-2.0-or-later" depends="python3" makedepends="py3-setuptools py3-pybind11-dev python3-dev" checkdepends="py3-pytest-xdist py3-numpy" _pynametag="$_pyname"_"$_tagname" source="https://gitlab.mpcdf.mpg.de/mtr/ducc/-/archive/$_pynametag/ducc-$_pynametag.tar.gz" builddir="$srcdir/ducc-$_pynametag" build() { DUCC0_OPTIMIZATION=portable python3 setup.py build } check() { PYTHONPATH="$(echo $PWD/build/lib.*)" python3 -m pytest -n auto python/test } package() { DUCC0_OPTIMIZATION=portable python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 3578ffe9ca1b4abe0bd9cdec59421be465e1096bec4f09c372bdfdbb01d7c787f348198745918eddcc8437f88dbad03b7be8cb5df74a5ec8d6854ae6d18324a0 ducc-ducc0_0_31_0.tar.gz "