summaryrefslogtreecommitdiff
path: root/python-peakutils/PKGBUILD
blob: c8c6ede56ba15802128ce30ec6b6405b722f3ced (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.4
pkgrel=7
pkgdesc="Peak detection utilities for 1D data"
arch=('any')
url="https://pypi.python.org/pypi/PeakUtils"
license=('MIT')
depends=(
  'python>=3.12'
  'python<3.13'
  'python-sphinx-better-theme')
makedepends=(
  'python-setuptools')
source=("https://pypi.python.org/packages/79/89/39332b9fadef40443a781c00053beb9ec668181267aec5b7e5865b70e039/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('e654543e694123bafc0416fd754af7f61cb4010767cf5fdeca8d2301ef349faa68105de77f9916663d27c13b0422c60d4913515ca2c01bb787d3ad31c827f592')

build() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${srcdir}/${_pkgname}-${pkgver}"
  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}