summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 476b49db68a252ddd484b51f5a49dd0b3dcb271a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# PKGBUILD generated by pipman
# AUR package maintainer : Robin Trioux <robin@trioux.eu>
# Python package author: Steven van Gemert <steven@vangemert.dev>
pkgname=python-nfoursid
pkgver=1.0.1
pkgrel=1
pkgdesc="Implementation of N4SID, Kalman filtering and state-space models"
arch=(any)
url="https://github.com/spmvg/nfoursid"
license=(MIT)
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="nfoursid" nfoursid==1.0.1
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/nfoursid/* $pkgdir/"$sitepackages"
}