1 # Contributor: Anders Bergh <anders1@gmail.com>
2 # Maintainer: Frank Smit <frank/61924/nl>
3 pkgname=python-tornado-git
6 pkgdesc="Open source scalable, non-blocking web server"
8 url="http://www.tornadoweb.org"
10 depends=("python2>=2.6" "python-pycurl")
11 optdepends=("python-pycurl: to use the httpclient module")
12 makedepends=("git" "setuptools")
13 conflicts=("python-tornado")
14 replaces=("python-tornado")
15 provices=("python-tornado")
17 _gitroot="git://github.com/facebook/tornado.git"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 python2 setup.py install --root="$pkgdir" --prefix=/usr