# Contributor: Leo # Maintainer: Leo pkgname=py3-gitpython pkgver=3.0.5 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="8f3009786124735df462dfa5d4dd658cbe565648099437b8d9b6e2db54acf82034d66882b3e1b8cf7e46fa1bed344672d6e77c19d714c1611338eb7d52474ee6 py3-gitpython-3.0.5.tar.gz"