# Contributor: Leo # Maintainer: Bart Ribbers pkgname=py3-gitpython pkgver=3.1.14 pkgrel=0 pkgdesc="Python3 Git Library" url="https://github.com/gitpython-developers/GitPython" arch="noarch" license="BSD-3-Clause" depends=" git py3-gitdb2 python3 " makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://github.com/gitpython-developers/GitPython/archive/$pkgver/GitPython-$pkgver.tar.gz" builddir="$srcdir/GitPython-$pkgver" build() { python3 setup.py build } check() { # There are more tests but they require a specific git configuration pytest test/test_config.py } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="46260039c3835aafa751f8a0a44ac4c87b90fccc4e37a02d9dc982a5b521d75c7ba1b2d6f50c44efd085265bb6bbfcd7932eabb199310095efd1713ed9c60276 GitPython-3.1.14.tar.gz"