updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / python-setuptools_git / PKGBUILD
blobb65d082eb41d3a1900942461c02c1bcccacda90e
1 # Maintainer: Bruno Carlin <self at aerdhyl dot eu>
2 pkgname=python-setuptools_git
3 pkgver=0.4.2
4 pkgrel=2
5 pkgdesc="Setuptools revision control system plugin for Git"
6 arch=(any)
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')
13 options=(!emptydirs)
15 build() {
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