# Contributor: Leo # Maintainer: pkgname=py3-ufo2ft pkgver=2.11.3 pkgrel=0 pkgdesc="bridge from UFOs to FontTools objects" url="https://github.com/googlefonts/ufo2ft" arch="noarch !s390x" # skia-pathops license="MIT" depends="python3 py3-fonttools py3-defcon py3-cu2qu py3-compreffor py3-booleanoperations py3-ufolib2 py3-skia-pathops" makedepends="py3-setuptools" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/googlefonts/ufo2ft/archive/v$pkgver.tar.gz" builddir="$srcdir/ufo2ft-$pkgver" build() { git init python3 setup.py build } check() { PYTHONPATH="$PWD/build/lib" pytest-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a443078d85b9d43f222853cc2432bed0764a8b9033711f1bae790925f34d8cd6029d26cbd921b8af8f036f3e528df059e7edb87201a09320f520383aed88404a py3-ufo2ft-2.11.3.tar.gz"