1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 pkgname=python2-etsproxy-git
5 pkgdesc="ETS Proxy Modules for Backwards Compatibility"
7 url="https://github.com/enthought/etsproxy"
10 makedepends=('git' 'python2-distribute')
11 conflicts=('python2-etsproxy'
12 'python2-enthoughtbase' 'python2-envisagecore' 'python2-envisageplugins'
13 'python2-traitsbackendwx' 'python2-traitsbackendqt' 'python2-traitsgui')
14 provides=('python2-etsproxy'
15 'python2-enthoughtbase' 'python2-envisagecore' 'python2-envisageplugins'
16 'python2-traitsbackendwx' 'python2-traitsbackendqt' 'python2-traitsgui'
17 'python2-enthoughtbase-git' 'python2-envisagecore-git' 'python2-envisageplugins-git'
18 'python2-traitsbackendwx-git' 'python2-traitsbackendqt-git' 'python2-traitsgui-git')
21 _gitroot="https://github.com/enthought/etsproxy.git"
26 msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
32 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
42 python2 setup.py install --root="$pkgdir"/ --optimize=1