# Contributor: Leo # Maintainer: pkgname=py3-ufo2ft pkgver=2.12.2 pkgrel=0 pkgdesc="bridge from UFOs to FontTools objects" url="https://github.com/googlefonts/ufo2ft" arch="noarch !s390x !mips !mips64" # 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="864eaf7dac74fb2474d73cb3d15047910eab6b3f5b902de537d3f76921f3e041ef724346f571f1e89ac0bf6d88a8aa63fe545882478ff7989115a767c417fdd6 py3-ufo2ft-2.12.2.tar.gz"