summaryrefslogtreecommitdiff
path: root/pcr/python2-gitpython/PKGBUILD
blob: 5051583c5b0f9e90e5739fee25f612d6c4d9e826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Contributor (Arch)     : Jon Bergli Heier <snakebite@jvnv.net>
# Maintainer  (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=python2-gitpython
pkgver=0.3.2_rc1
_pkgver=0.3.2.RC1
pkgrel=2
pkgdesc="A python library used to interact with Git repositories"
arch=('any')
url="http://gitorious.org/git-python"
license=('BSD')
depends=('python2' 'git' 'python2-gitdb>=0.5.1')
makedepends=('python2' 'python2-distribute')
conflicts=('gitpython-git' 'gitpython')
replaces=('gitpython')
source=("http://pypi.python.org/packages/source/G/GitPython/GitPython-${_pkgver}.tar.gz")

package() {
  cd "$srcdir/GitPython-${_pkgver}"
  python2 setup.py install --root="$pkgdir/" --optimize=1 || return 1
  install -D -m 644 LICENSE "$pkgdir"/usr/share/licenses/gitpython/LICENSE
}

# vim:set ts=2 sw=2 et: