1 # Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
7 pkgdesc="A set of scripts to work locally on Subversion checkouts using Mercurial"
8 url="http://cheeseshop.python.org/pypi/hgsvn"
10 depends=('python2>=2.4' 'pysvn-py2' 'setuptools')
12 makedepends=('setuptools' 'mercurial')
15 #source=('setup.patch')
16 #md5sums=('b3d386f74fdd81ec96fb73402e08adbc')
19 _hgroot="http://bitbucket.org/andialbrecht/"
25 if [ -d ${_hgrepo} ]; then
27 hg pull -u || return 1
29 hg clone ${_hgroot} ${_hgrepo} || return 1
33 msg "Mercurial checkout done or server timeout"
34 msg "Starting make..."
36 cp hgpushsvn.py hgsvn/run/
37 #patch -p0 < ../../setup.patch
38 python2 setup.py install --root=$startdir/pkg/ || return 1