# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-sphinxcontrib-gist _pkgname=sphinxcontrib.gist pkgver=0.1.0 pkgrel=1 pkgdesc="Sphinx gist extension" url="https://pypi.python.org/pypi/sphinxcontrib-gist" arch="noarch" license="LGPL-3.0-only" depends="python3 py3-sphinx" 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-gist" # Backwards compatibility provides="py-sphinxcontrib-gist=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a6bc8bae2bf64c5201452134c075c6336ab1928c534bb6d274c3fdda555609ad58e02d11d4c9d78528be39578c759394016c58ef6f0bad1ffc38328e3cf3ca00 sphinxcontrib.gist-0.1.0.tar.gz"