1 # Contributor: Maurizio Porrato <maurizio.porrato@gmail.com>
2 pkgname=python-cyclone-git
5 pkgdesc="Twisted based Tornado framework clone"
7 url="http://github.com/fiorix/cyclone"
8 _gitroot="git://github.com/fiorix/cyclone.git"
9 _gitname="python-cyclone"
11 conflicts=('python-cyclone')
12 provides=('python-cyclone')
13 makedepends=('git' 'python2-distribute')
19 msg "Connecting to the GIT server...."
20 if [[ -d ${srcdir}/${_gitname} ]] ; then
23 msg "The local files are updated..."
25 git clone ${_gitroot} ${_gitname}
28 msg "GIT checkout done."
30 msg "Starting make for: ${pkgname}"
32 if [[ -d ${srcdir}/${_gitname}-build ]]; then
33 msg "Cleaning the previous build directory..."
34 rm -rf ${srcdir}/${_gitname}-build
37 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
39 cd ${srcdir}/${_gitname}-build
41 msg "Starting configure..."
43 python2 setup.py install --optimize=1 --prefix=/usr --root=$startdir/pkg --optimize=1 || return 1