summaryrefslogtreecommitdiff
path: root/pcr/python2-gitpython/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-06 09:49:12 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-06 09:49:12 +0200
commit59e4abcbd35d6ba6d68c2eee13985147de754c2e (patch)
treea3edfd028992d0c0ad63a27095ac1be4877ce8d3 /pcr/python2-gitpython/PKGBUILD
parent59eeb7b84b0032a64c96943a38e3594f87177395 (diff)
python2-gitpython
Diffstat (limited to 'pcr/python2-gitpython/PKGBUILD')
-rw-r--r--pcr/python2-gitpython/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/python2-gitpython/PKGBUILD b/pcr/python2-gitpython/PKGBUILD
new file mode 100644
index 000000000..5051583c5
--- /dev/null
+++ b/pcr/python2-gitpython/PKGBUILD
@@ -0,0 +1,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: