summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1a51e3dff1e180be6dfae129fa22bfee679c995e (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
30
31
32
# Maintainer : vsilv <vsilv@posteo.eu>
pkgname=python-pydstool-git
pkgver=v0.90.2
pkgrel=1
pkgdesc="PyDSTool is a sophisticated & integrated simulation and analysis environment for dynamical systems models of physical systems (ODEs, DAEs, maps, and hybrid systems)."
arch=('i686' 'x86_64')
url="https://github.com/robclewley/pydstool"
license=('BSD')
depends=('python>=3.3' 'python-numpy' 'python-scipy')
makedepends=('git')
provides=('python-pydstool')
source=('pydstool::git+https://github.com/robclewley/pydstool.git')

md5sums=('SKIP')
_gitname='pydstool'

pkgver() {
  cd "$srcdir/$_gitname"
  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
  cd "${srcdir}/${_gitname}"
  python setup.py build

}

package() {
  cd "${srcdir}/${_gitname}"
  python setup.py install --prefix=/usr --root=${pkgdir} -O1 --skip-build
  
}