# Contributor: Leo # Contributor: Pierre-Gildas MILLON # Maintainer: Drew DeVault pkgname=py3-pygit2 _pkgname=pygit2 pkgver=0.28.2 pkgrel=0 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-six" makedepends="python3-dev py3-setuptools libgit2-dev" source="https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-pygit" # Backward compat provides="py-pygit=$pkgver-r$pkgrel" # Backward compat build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="3f742cdcc9d603c9cc9ef2e0a545da8bcfb555a0bdeea1c73c53a284b43d40ad6b28c87a029578ad7b1c8f2bf56ecd2859dac8dd836474bfc66223ff4af9e8f0 pygit2-0.28.2.tar.gz"