1 # Maintainer: Michael Schubert <mschu.dev at gmail>
6 pkgdesc="Python simulator for Cellular Systems"
8 depends=('python2-numpy' 'python2-scipy' 'python2-matplotlib')
9 optdepends=('pysundials' 'libsbml' 'gnuplot' 'ipython')
10 builddepends=('gfortran')
11 url="http://pysces.sourceforge.net/"
13 source="http://sourceforge.net/projects/pysces/files/pysces/pysces-0.7/pysces-$pkgver.tar.bz2"
14 md5sums=('11997a8261c5f436ac98fc6d9eb32357')
17 cd "$srcdir/pysces-$pkgver"
18 sed -i "/pitcon =/s|)$|,extra_link_args=['-shared'])|" setup.py
19 sed -i "180s/])/],extra_link_args=['-shared'])/" setup.py
20 python2 setup.py build
24 cd "$srcdir/pysces-$pkgver"
25 python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1