3 pkgname=python2-chiantipy
6 pkgdesc="The Python interface to the CHIANTI atomic database for astrophysical spectroscopy"
7 url="http://chiantipy.sourceforge.net/index.html"
10 depends=('python2' 'python2-numpy>=1.3.0' 'python2-scipy>=0.7.1' 'python2-matplotlib' 'chianti')
11 makedepends=('python2' 'python2-distribute')
12 optdepends=('pyqt: chiantipy gui' 'wxpython: chiantipy gui')
16 source=(http://sourceforge.net/projects/chiantipy/files/ChiantiPy-${pkgver}.tar.gz
18 'chianti.profile.csh')
19 md5sums=('3edba76bf1427b8e6e0a589b5166785c'
20 '19bcf9d69dba7d58c2d140b864a10a48'
21 'd996680e598ce015a0d40db375595208')
24 #profiles for XUVTOP setting...
25 #database is assumed to be in /opt/chianti (as packaged in AUR)
26 #Edit these files if you place the chianti database elsewhere.
27 install -D ${srcdir}/chianti.profile $pkgdir/etc/profile.d/chianti.sh
28 install -D ${srcdir}/chianti.profile.csh $pkgdir/etc/profile.d/chianti.csh
30 cd $srcdir/ChiantiPy-$pkgver
31 python2 setup.py install --root=$pkgdir/ --optimize=1