1 # Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>
2 # Maintainer: Gour <gour@gour-nitai.com>
6 pkgdesc="Intelligent schema migrations for Django applications"
7 url='http://south.aeracode.org'
11 makedepends=('setuptools' 'django')
16 _hgroot=http://bitbucket.org/andrewgodwin/
22 if [ -d ${_hgrepo}/.hg ]; then
25 hg update -C --rev ${pkgver}
27 hg clone ${_hgroot} ${_hgrepo} --rev ${pkgver} || return 1
30 msg "Mercurial checkout done or server timeout"
31 msg "Starting building..."
33 rm -rf "${srcdir}/${_hgrepo}-build"
34 cp -r "${srcdir}/${_hgrepo}" "${srcdir}/${_hgrepo}-build"
35 cd "${srcdir}/${_hgrepo}"
37 python setup.py install --root=${pkgdir} || return 1