# Contributor: Leo # Contributor: Pierre-Gildas MILLON # Maintainer: Drew DeVault pkgname=py3-pygit2 _pkgname=pygit2 pkgver=1.4.0 pkgrel=1 pkgdesc="Python bindings for libgit2" url="https://github.com/libgit2/pygit2" arch="all" license="GPL-2.0 WITH GCC-exception-2.0" depends="py3-cffi py3-cached-property" makedepends="python3-dev py3-setuptools libgit2-dev" checkdepends="py3-pytest py3-hypothesis" source="https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz s390x-patch-context-mark-xfail.patch " builddir="$srcdir/$_pkgname-$pkgver" replaces="py-pygit" # Backward compat provides="py-pygit=$pkgver-r$pkgrel" # Backward compat build() { python3 setup.py build_ext --inplace } check() { pytest-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="b6b9d5028fd63593e6ecd869735132edeeb55c1fd97664be5d0d5dac0c25f844ce0d981782fad7f47e54555ab1f7fa5e87d1ad8a76340d81e1f908ad4ea1e35a pygit2-1.4.0.tar.gz c0e22ae9a50cb727bae87fd2b03c5b71b7aee77b88764133b9d60d78a9903895d80db10c037859cbc9bfc06d251c2ed169b63c06798e70169de2b39b12fa0fc5 s390x-patch-context-mark-xfail.patch"