# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-sphinxcontrib-textstyle _pkgname=sphinxcontrib-textstyle pkgver=0.2.3 pkgrel=8 pkgdesc="Sphinx textstyle extension" url="https://pypi.org/project/sphinxcontrib-textstyle" arch="noarch" license="BSD-2-Clause" depends="python3 py3-sphinx py3-setuptools" makedepends="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-sphinxcontrib-textstyle" # Backwards compatibility provides="py-sphinxcontrib-textstyle=$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="0b6ba8d50a97439e2ab57de336157f942876ee9c8203e8ff5be415fdc340bacab15fb461579457209e616c7fa1eec2c42720d5b0e3726c83a123e700b096fb4d sphinxcontrib-textstyle-0.2.3.tar.gz"