void-packages/srcpkgs/python3-pywt/template
2022-03-17 11:24:26 -04:00

25 lines
710 B
Bash

# Template file for 'python3-pywt'
pkgname=python3-pywt
version=1.3.0
revision=1
wrksrc="${pkgname#python3-}-${version}"
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=6dc7e55a2d7c415262eb212a2fbbb0e3aa19572fecd5cebcef72b810ac11d4ae
do_check() {
(cd build/lib* && python3 -m pytest pywt/tests)
}
post_install() {
vlicense LICENSE
}