# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-sphinx-theme-readable _pkgname=sphinx-readable-theme pkgver=1.3.0 pkgrel=9 pkgdesc="The Readable Sphinx theme" url="https://github.com/ignacysokolowski/sphinx-readable-theme" arch="noarch" license="MIT" depends="python3 py3-sphinx" makedepends="py3-setuptools py3-gpep517 py3-wheel" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-sphinx-theme-readable" # Backwards compatibility provides="py-sphinx-theme-readable=$pkgver-r$pkgrel" # Backwards compatibility build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { gpep517 install-wheel --destdir "$pkgdir" \ .dist/*.whl } sha512sums="e0810973fe77434efd7ca442c26784f5d894322832555953ff0c900835707bd797b5ce8308510590f31fe2a5f61e0ed465b3316cd8a3fa2f5ca9b1c5f432feaf sphinx-readable-theme-1.3.0.tar.gz"