# Contributor: Leo # Maintainer: pkgname=py3-ufo2ft pkgver=2.13.0 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" options="!check" # https://github.com/googlefonts/ufo2ft/issues/375 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="3c0aa249155c9778dd4b2c8d7a0b297eab34c070dd4003bf5343ff576bb33bf0c9f841b633028f6401327edf7f2fe9864a9728fb9b2def641ee0489158a2c919 py3-ufo2ft-2.13.0.tar.gz"