summaryrefslogtreecommitdiff
path: root/python-peakutils/PKGBUILD
blob: 9d55d6394f95dac772dec1c2cf055999563ad682 (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=64
pkgdesc="Peak detection utilities for 1D data"
arch=('any')
url="https://pypi.python.org/pypi/PeakUtils"
license=('MIT')
depends=(
  'python>=3.10'
  'python<3.11'
  '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
}