summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d508216ca47b8d3cb86fd1f1ebdb8fbd50f18e44 (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.3.1
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=('116e622252285b1a8110f457ea4f3ad6d6a986edad3df0a79db69cbf08d79b3c')

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: