void-packages/srcpkgs/python3-pywt/template
2021-11-09 13:46:39 -05:00

25 lines
710 B
Bash

# Template file for 'python3-pywt'
pkgname=python3-pywt
version=1.2.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=ad88e5745eeaccaf759287f11b63539353df31324fe7498d9f8121e01e4106ed
do_check() {
(cd build/lib* && python3 -m pytest pywt/tests)
}
post_install() {
vlicense LICENSE
}