# Contributor: Leo # Maintainer: pkgname=py3-gitpython pkgver=3.1.0 pkgrel=0 pkgdesc="Python3 Git Library" options="!check" # Tests require a specific git configuration url="https://github.com/gitpython-developers/GitPython" arch="noarch" license="BSD-3-Clause" depends="python3 py3-gitdb2" makedepends="py3-setuptools" checkdepends="py3-ddt py3-nose" source="$pkgname-$pkgver.tar.gz::https://github.com/gitpython-developers/GitPython/archive/$pkgver.tar.gz" builddir="$srcdir/GitPython-$pkgver" build() { python3 setup.py build } check() { nosetests } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="29d01a8b3a484fc62521b7f03a75e801d7b98e007652956f73e5532d064992f802cf6f1da2c380b66cfb55a2d0a487b8f28199fd241136a7d74df02f41859c3c py3-gitpython-3.1.0.tar.gz"