1 # Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
5 pkgdesc="Partial differential equation solver for Python, based on finite volume approach."
7 url="http://www.ctcms.nist.gov/fipy"
8 license=('Public Domain')
9 source=(http://matforge.org/fipy/downloader/download/release/17/file/53/Fipy-${pkgver}.tar.gz)
10 depends=('python2' 'python2-numpy' 'pysparse' 'python2-scipy' 'python2-matplotlib')
11 makedepends=('python2-distribute')
12 sha1sums=('0f1b33aade066c6b53fd5840ca642b95ecb0cd25')
15 cd "${srcdir}/FiPy-${pkgver}"
16 python2 setup.py build
20 cd "${srcdir}/FiPy-${pkgver}"
21 python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1