1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 pkgname=python2-pytables-git
5 pkgdesc="PyTables library for manipulating hdf5 data, git version (liberated pro version)"
7 url="http://www.pytables.org/moin"
9 depends=('lzo2' 'bzip2' 'python2-numpy' 'hdf5' 'python-numexpr' 'cython')
11 provides=('python-pytables=2.3b1')
12 conflicts=('python-pytabes')
15 _gitroot="https://github.com/PyTables/PyTables.git"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 python2 setup.py install --root="$pkgdir"/ --optimize=1