# Maintainer: Erich Eckner # Contributor: Jakob Nixdorf pkgname='python-peakutils' _pkgname='PeakUtils' pkgver=1.3.3 pkgrel=41 pkgdesc="Peak detection utilities for 1D data" arch=('any') url="https://pypi.python.org/pypi/PeakUtils" license=('MIT') depends=( 'python>=3.9' 'python<3.10' 'python-sphinx-better-theme') makedepends=( 'python-setuptools') source=("https://pypi.python.org/packages/58/f6/7e48831854794d582953246405deba4849f358f7e5e1c48a1ca76b565ffb/${_pkgname}-${pkgver}.tar.gz") sha512sums=('c6bc49907221b11ca4af204f55b24e8ca2b8267e989d9971523d33077519027ffc140883c8dca5988f04a4adf2e02d5c15b595d5474b2be410cc8ca87840cf4a') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 }