summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f91379c17b3d47cae0ac1e6c4d05737623557c83 (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: Paul Irofti <paul@irofti.net>
_name=tsnet
pkgname="python-$_name"
pkgver=0.2.2
pkgrel=1

pkgdesc="transient simulation in water networks using Method of Characteristics"
url="https://github.com/glorialulu/TSNet"
arch=('any')
license=('MIT')

depends=(python python-numpy python-scipy python-networkx python-pandas
  python-matplotlib python-plotly python-wntr)
makedepends=(python-setuptools python-pytest-runner)

source=("https://files.pythonhosted.org/packages/source/t/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('363fc2cd3ac2529d0fedf24b272b394fb2292116984b3b27c9deb1dbe1d16670')

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

package() {
  cd "$srcdir/$_name-$pkgver"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

# vim:set sw=2 et: