1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 pkgname=python2-ets-git
5 pkgdesc="Enthought Tool Suite"
7 url="https://github.com/enthought/ets"
9 depends=('python2' 'python2-apptools-git' 'python2-blockcanvas-git' 'python2-chaco-git'
10 'python2-codetools-git' 'python2-enable-git' 'python2-envisage-git' 'python2-etsdevtools-git'
11 'python2-etsproxy-git' 'python2-graphcanvas-git' 'python2-mayavi-git' 'python2-pyface-git'
12 'python2-scimath-git' 'python2-traits-git' 'python2-traitsui-git')
13 makedepends=('git' 'python2-distribute')
14 optdepends=('python2-ets-doc-git')
15 provides=('python2-ets')
16 conflicts=('python2-ets')
19 _gitroot="https://github.com/enthought/ets.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
40 python2 setup.py install --root="$pkgdir"/ --optimize=1