1 # Maintainer: Michael Schubert <mschu.dev at gmail>
3 pkgname=python2-copasi-bin
6 pkgdesc="Tool for simulation and analysis of biochemical network dynamics"
8 url="http://www.copasi.org/"
9 license=('Artistic 2.0')
12 test $CARCH == 'i686' && \
13 source=("http://otto.bioquant.uni-heidelberg.de/downloads/copasi/fd3c2a12eb06e2e91f63fcd6ebf5321e/copasi-34-linux-python27-x86.tar.gz") && \
14 md5sums=('24f56e0d2ae213a00b4d591791efc64f')
16 test $CARCH == 'x86_64' && \
17 source=("http://otto.bioquant.uni-heidelberg.de/downloads/copasi/fd3c2a12eb06e2e91f63fcd6ebf5321e/copasi-34-linux-python27-x64.tar.gz") && \
18 md5sums=('40c3e53d84a38dcf148743076680a754')
22 pydir=`python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
23 install -Dm755 COPASI.py "$pkgdir/$pydir/COPASI.py"
24 install -Dm644 _COPASI.so "$pkgdir/$pydir/_COPASI.so"
27 `python2 -c "import py_compile; py_compile.compile('COPASI.py')"`