# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-sphinxcontrib-git _pkgname=sphinx-git pkgver=11.0.0 pkgrel=0 pkgdesc="Sphinx git changelog extension" url="https://github.com/OddBloke/sphinx-git" arch="noarch" license="GPL-3.0-or-later" depends="python3 py3-sphinx py3-six py3-gitpython" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-sphinxcontrib-git" # Backwards compatibility provides="py-sphinxcontrib-git=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="2d795a791d0b626ec88df9cf835508a3ef9be8a502cb977613813334a671e8676e3c9af8b478870db817a7f29aa24497d665a6b619ea3ccf15353398a8d28e4b sphinx-git-11.0.0.tar.gz"