updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / scikits-timeseries / PKGBUILD
blob40b7a59166deaad9adbe04f024cf28d8dde5c34f
1 # Contributor: Fazlul Shahriar <fshahriar@gmail.com>
2 pkgname=scikits-timeseries
3 pkgver=0.91.3
4 pkgrel=2
5 pkgdesc="Library for manipulating, reporting, and plotting time series of various frequencies."
6 arch=('i686' 'x86_64')
7 url="http://pytseries.sourceforge.net/"
8 license=('BSD')
9 depends=('python2' 'python2-numpy' 'scikits-base')
10 makedepends=('setuptools')
11 optdepends=('python-scipy: Required for some sub-modules (e.g. interpolate, moving_funcs).'
12             'python2-matplotlib: Support for plotting time series.'
13             'python-pytables: Support for reading/writing HDF5 file format.')
14 source=("http://downloads.sourceforge.net/project/pytseries/scikits.timeseries/$pkgver/scikits.timeseries-$pkgver.tar.gz")
15 md5sums=('103d383f98be80c24c95e608dc25a6ca')
17 build() {
18   cd $srcdir
20   # All the directories have executable bit missing
21   for d in $(tar tzf scikits.timeseries-$pkgver.tar.gz | grep '/$')
22   do
23     chmod +x $d
24   done
26   cd "$srcdir/scikits.timeseries-$pkgver"
27   
28   python2 setup.py install --root=$pkgdir
29   install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
31   # provided by scikits-base
32   rm -f $pkgdir/usr/lib/python*/site-packages/scikits/__init__.py
35 # vim:set ts=2 sw=2 et: