Guest User

python2-pysces 0.9.0 PKGBUILD

a guest
Jun 4th, 2013
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Michael Schubert <mschu.dev at gmail>
  2.  
  3. pkgname=python2-pysces
  4. _pkgname=pysces
  5. pkgver=0.9.0
  6. pkgrel=1
  7. pkgdesc="Python simulator for Cellular Systems"
  8. arch=('i686' 'x86_64')
  9. depends=('python2-scipy' 'python2-matplotlib')
  10. optdepends=('gnuplot: as an alternative plotting back-end and 3D plots'
  11.             'ipython2: for interactive modelling sessions (highly recommended)'
  12.             'libsbml: for SBML import and export'
  13.             'python2-pysundials: for CVODE and Events support'
  14.             'python2-pysces-metatool: for elementary mode support')
  15. makedepends=('gcc-fortran')
  16. url="http://pysces.sourceforge.net/"
  17. license=('BSD' 'GPL')
  18. replaces=('pysces')
  19. source=("http://sourceforge.net/projects/pysces/files/pysces/pysces-0.9/pysces-$pkgver.tar.gz" "setup.py.patch")
  20.  
  21. md5sums=('d325c6e35011f614d8be90b94f7f7110'
  22.          '0a85b753d42fc5ed037f96df8f199b76')
  23.  
  24. build() {
  25.   cd "$srcdir/pysces-$pkgver"
  26.   patch -p0 < "$srcdir/setup.py.patch"
  27.   python2 setup.py build
  28. }
  29.  
  30. package() {
  31.   cd "$srcdir/pysces-$pkgver"
  32.   python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1
  33. }
RAW Paste Data