1 # Maintainer: lilydjwg [ lilydjwg at gmail dot com ]
2 # Last changed: 2011-07-26 16:54
4 pkgname=python-greenlet-hg
7 pkgdesc="python coroutine library"
9 url="http://pypi.python.org/pypi/greenlet"
11 arch=('i686' 'x86_64')
12 conflicts=(python-greenlet)
13 provides=(python-greenlet=0.3.1)
15 _hgroot="https://bitbucket.org/ambroff"
22 if [ -d ${_hgrepo} ]; then
25 hg update ${_basename}
27 hg clone ${_hgroot}${_hgrepo} || return 1
29 hg update ${_basename}
32 msg "Mercurial checkout done or server timeout"
33 msg "Starting make..."
40 /usr/bin/python setup.py build || return 1
41 /usr/bin/python setup.py install --root=$startdir/pkg
44 # vim:set ts=2 sw=2 et: