# Contributor: Leo # Maintainer: Bart Ribbers pkgname=py3-gitpython pkgver=3.1.32 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 py3-toml " subpackages="$pkgname-pyc" 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 --skip-build --root="$pkgdir" } sha512sums=" e83b75eb730e98fe36d90cab32fda58c0760e2ca0ae81103db363b4ecaa19f76999f8a71234418ff97aba0be3e800033b2e7c5dc0254dfc629a97530adbbc5af GitPython-3.1.32.tar.gz "