1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Anders Bergh <anders1@gmail.com>
3 # Contributor: Frank Smit <frank/61924/nl>
5 pkgname=python3-tornado-git
8 pkgdesc="Open source scalable, non-blocking web server"
10 url="http://www.tornadoweb.org"
12 depends=("python" "python-pycurl")
13 makedepends=("git" "setuptools")
14 conflicts=("python-tornado")
15 replaces=("python-tornado")
17 _gitroot="git://github.com/facebook/tornado.git"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
27 msg "The local files are updated."
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 git checkout -t origin/python3
38 find tornado -name '*.py' -exec 2to3-3.2 -w -n {} \;
40 python setup.py install --root="$pkgdir" --prefix=/usr