summaryrefslogtreecommitdiff
path: root/python-peakutils/PKGBUILD
blob: 030f5e9267f69d78959860c657b3e7b8491d8733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Jakob Nixdorf <flocke@shadowice.org>

pkgname='python-peakutils'
_pkgname='PeakUtils'
pkgver=1.3.3
pkgrel=28
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
}