updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / scikits-timeseries-svn / PKGBUILD
blob4c0b511e66ea1cba89f3b7c3069dc6c41bdc4e0e
1 # Contributor: Fazlul Shahriar <fshahriar@gmail.com>
2 pkgname=scikits-timeseries-svn
3 pkgver=2222
4 pkgrel=1
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=('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')
16 source=()
17 md5sums=()
19 _svntrunk=http://svn.scipy.org/svn/scikits/trunk/timeseries
20 _svnmod=timeseries
22 build() {
23   cd "$srcdir"
25   if [ -d $_svnmod/.svn ]; then
26     (cd $_svnmod && svn up -r $pkgver)
27   else
28     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29   fi
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: