void-packages/srcpkgs/python3-pyFFTW/template

25 lines
713 B
Bash

# Template file for 'python3-pyFFTW'
pkgname=python3-pyFFTW
version=0.13.0
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython python3-numpy"
makedepends="fftw-devel python3-devel"
depends="python3-numpy"
checkdepends="python3-pytest 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=920016c9a98f652161854884b321987692fae23bc3a0122feba0e691ee26df86
pre_check() {
cp build/lib*/pyfftw/pyfftw.*.so pyfftw
}
post_install() {
vlicense LICENSE.txt
}