1 # Contributor: Fazlul Shahriar <fshahriar@gmail.com>
2 pkgname=scikits-timeseries-svn
5 pkgdesc="Library for manipulating, reporting, and plotting time series of various frequencies."
7 url="http://pytseries.sourceforge.net/"
9 depends=('python' 'python-numpy')
10 makedepends=('setuptools' 'subversion')
11 optdepends=('python-scipy: Required for some sub-modules (e.g. interpolate, moving_funcs).'
12 'python-matplotlib: Support for plotting time series.'
13 'python-pytables: Support for reading/writing HDF5 file format.')
14 provides=('scikits-timeseries')
15 conflicts=('scikits-timeseries')
19 _svntrunk=http://svn.scipy.org/svn/scikits/trunk/timeseries
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_svnmod-build"
35 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
36 cd "$srcdir/$_svnmod-build"
38 python setup.py install --root=$pkgdir
39 install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
42 # vim:set ts=2 sw=2 et: