1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 pkgname=scikits-statsmodels
5 pkgdesc="Statistical computations and models for use with SciPy"
7 url="http://scikits.appspot.com/statsmodels"
9 depends=('python2' 'python2-numpy' 'python2-scipy' 'scikits-base')
10 makedepends=('python2-distribute' 'unzip')
11 optdepends=('python-rpy: used in tests'
12 'python-matplotlib: used in examples'
13 'python-numdifftools: used in sandbox')
16 source=("http://pypi.python.org/packages/source/s/scikits.statsmodels/scikits.statsmodels-${pkgver}.zip")
17 md5sums=('6e0b7aa29b62acc657b69a0bf43c4cae')
20 cd "$srcdir/scikits.statsmodels-${pkgver}"
22 python2 setup.py install --root="$pkgdir"/ --optimize=1 || return 1
23 rm "$pkgdir/`python2 -c 'from distutils.sysconfig import get_python_lib; \
24 print get_python_lib()'`/scikits/__init__.py"