# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-sphinxcontrib-phpdomain pkgver=0.11.1 pkgrel=0 pkgdesc="Sphinx phpdomain extension" url="https://pypi.org/project/sphinxcontrib-phpdomain" arch="noarch" license="BSD-2-Clause" depends="py3-sphinx" makedepends=" py3-gpep517 py3-setuptools py3-wheel " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/markstory/sphinxcontrib-phpdomain/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir"/sphinxcontrib-phpdomain-$pkgver replaces="py-sphinxcontrib-phpdomain" # for backwards compatibility provides="py-sphinxcontrib-phpdomain=$pkgver-r$pkgrel" # for backwards compatibility build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 0b456992c50547ab0ded4ca50a0f75257048725033b58639f68bc241ab319ad0c919afcfc23af281465b8b9fe0c73e6a2aa93bd9ae0f11c51b02219f68ca79f2 py3-sphinxcontrib-phpdomain-0.11.1.tar.gz "