void-packages/srcpkgs/python3-pywt/template

25 lines
670 B
Bash

# Template file for 'python3-pywt'
pkgname=python3-pywt
version=1.4.1
revision=2
build_style=python3-module
build_helper="numpy"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3-numpy"
checkdepends="python3-pytest $depends"
short_desc="PyWavelets wavelet transform module for Python"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://github.com/PyWavelets/pywt"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=b1d0edca28998d35ec1bbc31f009b334a98b475f67b1c84f7521eb689a8607f8
do_check() {
(cd build/lib* && python3 -m pytest pywt/tests)
}
post_install() {
vlicense LICENSE
}