void-packages/srcpkgs/python3-pyFFTW/template

24 lines
689 B
Bash

# Template file for 'python3-pyFFTW'
pkgname=python3-pyFFTW
version=0.13.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython0.29 python3-numpy"
makedepends="fftw-devel python3-devel"
depends="python3-numpy"
checkdepends="python3-pytest-xdist python3-scipy $depends"
short_desc="Pythonic wrapper around FFTW"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="BSD-3-Clause"
homepage="https://github.com/pyFFTW/pyFFTW"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=2407efb787c06504f764e22364be015961d7161b9cda25ba261d5c425e956089
pre_check() {
cp build/lib*/pyfftw/pyfftw.*.so pyfftw
}
post_install() {
vlicense LICENSE.txt
}