# Maintainer: Caleb Maclennan _pyname=uharfbuzz pkgname=python-$_pyname pkgver=0.36.0 pkgrel=1 pkgdesc='Streamlined Cython bindings for the harfbuzz shaping engine' arch=(x86_64) url="https://github.com/harfbuzz/$_project" license=(Apache) depends=(python) makedepends=(cython python-{build,installer,wheel} python-setuptools-scm python-scikit-build) checkdepends=(python-pytest) _archive="$_pyname-$pkgver" source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.zip") sha256sums=('aa8dd413ce3ddd2fc683a98559a75231f13856ec8ba1309b1e956b23ba5b1b9e') build() { cd "$_archive" python -m build -wn } package() { cd "$_archive" pytest } package() { cd "$_archive" python -m installer -d "$pkgdir" dist/*.whl }