# Contributor: Leo # Maintainer: Bart Ribbers pkgname=py3-gitpython pkgver=3.1.24 pkgrel=0 pkgdesc="Python3 Git Library" url="https://github.com/gitpython-developers/GitPython" arch="noarch" license="BSD-3-Clause" depends=" git py3-gitdb2 py3-typing-extensions python3 " makedepends="py3-setuptools" checkdepends=" py3-pytest py3-pytest-cov py3-pytest-sugar " 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=" c18ea84d9bbc36d414014a62b05785dff2b3bdd6833a5c46eec554aff261632c1573da12e919934b60219a5844802f22ba72104cc5a4cd3ac658b2dd57a80b39 GitPython-3.1.24.tar.gz "