1 #Maintainer: Gergely Imreh <imrehg(at)gmail(dot)com>
2 pkgname=python2-simplegeo-git
5 pkgdesc="SimpleGeo Python client library"
6 depends=('python2' 'python-oauth2')
8 makedepends=('git' 'python2-distribute')
10 url="http://simplegeo.com"
12 provides=('python2-simplegeo')
16 _gitroot=https://github.com/simplegeo/python-simplegeo.git
17 _gitname=python-simplegeo
22 if [ -d ${_gitname} ]; then
23 cd "${_gitname}" || return 1
24 git pull origin || return 1
27 git clone ${_gitroot} || return 1
30 msg "GIT checkout done or server timeout"
32 cd "${srcdir}/${_gitname}"
33 python2 setup.py install --root "${pkgdir}" || return 1