1 # Maintainer: Thomas Oster <thomas.oster@rwth-aachen.de>
6 pkgdesc="A project with the goal of developing a collection of utilities to allow for better client integration with some of the popular version control systems (core)"
8 url="http://rabbitvcs.org/"
9 install=${pkgname}.install
10 depends=('pygtk>=2.12' 'pygobject>=2.14' 'python-configobj>=4.4.0' 'pysvn-py2>=1.5.2' 'subversion>=1.4.6' 'git' 'python-dulwich>=0.6.0' 'meld' 'python-simplejson')
14 source=(http://rabbitvcs.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
15 md5sums=('9bf0548557cc803ad2d88f747da1af8a')
18 cd "$srcdir/$pkgname-$pkgver"
20 sed -i "s#env python#env python2#" setup.py
21 find . -name "*.py" | xargs grep -l sys.executable | xargs sed -i 's|sys\.executable|"/usr/bin/python2"|g'
23 python2 setup.py install --root="$pkgdir" --optimize=1