1 # Maintainer: Renato Coutinho <renato.coutinho@gmail.com>
5 pkgdesc="Simple Finite Elements in Python"
7 url="http://sfepy.kme.zcu.cz"
14 makedepends=('python2-distribute' 'git')
15 depends=('python2-numpy' 'python2-scipy' 'swig' 'python2-pyparsing'
16 'python2-matplotlib' 'python-pytables')
18 optdepends=('scikits-umfpack: used to solve most systems'
19 'python2-sympy: used by some tests and functions'
20 'python-pexpect: required by schroedinger.py'
21 'gmsh: required by schroedinger.py (2D)'
22 'tetgen: required by schroedinger.py (3D)'
23 'python2-ipython: required for isfepy'
24 'python-multiprocessing: required by log.py (live plotting)')
26 _gitroot='https://github.com/sfepy/sfepy.git'
31 msg "Connecting to GIT server...."
32 if [ -d $_gitname ] ; then
33 cd $_gitname && git pull origin
34 msg "The local files are updated."
37 git clone --depth=1 $_gitroot $_gitname
39 msg "GIT checkout done or server timeout"
41 cp -r $_gitname $_gitname-build
44 python2 setup.py build_ext --inplace
45 python2 setup.py install --prefix=/usr --root=${pkgdir} || return 1
48 mkdir ${pkgdir}/usr/share/sfepy/bin
49 mv eigen.py findSurf.py genPerMesh.py postproc.py runTests.py shaper.py test_install.py extractor.py friction_slip.py homogen.py plotPerfusionCoefs.py probe.py schroedinger.py simple.py ${pkgdir}/usr/share/sfepy/bin