1 # Maintainer: Bruno Carlin <self at aerdhyl dot eu>
2 pkgname=python-setuptools_git
5 pkgdesc="Setuptools revision control system plugin for Git"
7 url="http://pypi.python.org/pypi/setuptools-git"
8 license=('Public Domain')
9 depends=('python' 'python-distribute' 'git')
10 makedepends=('tar' 'gzip')
11 source=("http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-$pkgver.tar.gz")
12 md5sums=('6e2de2238d768f0197f8c041c1f0f5b5')
16 cd $srcdir/setuptools-git-$pkgver
17 sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' setuptools_git.py
18 python setup.py install --root=$pkgdir/ --optimize=1