# Maintainer: Erich Eckner # Contributor: Francois Boulogne # Contributor: Jingbei Li pkgname=python-pywavelets _pkgname=pywt pkgver=1.2.0 pkgrel=24 pkgdesc="Discrete Wavelet Transforms in Python" arch=('x86_64' 'i686' 'pentium4') url="https://github.com/PyWavelets/pywt" license=('MIT') _pinned_dependencies=( 'glibc>=2.31' ) depends=( "${_pinned_dependencies[@]}" 'cython' 'python<3.10' 'python>=3.9' 'python-docutils<0.18' 'python-matplotlib' 'python-numpy' 'python-pytest' 'python-wheel') makedepends=( 'cython>=0.20.2' 'python-setuptools') source=("$_pkgname-$pkgver.tar.gz::https://github.com/PyWavelets/pywt/archive/v$pkgver.tar.gz") sha512sums=('a999f7b316a434948ab06f33ab7aeea621b7e33bfc0907ea396da40482f896aa8688627873741cf3abf01f098b21515cffad42b4e966a431347cb5f013e78752') build() { cd "$srcdir/$_pkgname-$pkgver" python setup.py build } package(){ cd "$srcdir/$_pkgname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } # vim:ts=2:sw=2:et: