# Maintainer: Guillaume Horel pkgname='python-fontmake' _pkgname='fontmake' pkgver='2.2.1' pkgrel=1 pkgdesc="Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType)" url="https://github.com/googlefonts/fontmake" checkdepends=('python-pytest') depends=('python' 'python-cu2qu' 'python-defcon' 'python-fonttools' 'python-fontmath' 'python-glyphslib' 'python-mutatormath' 'python-ufolib2' 'python-ufo2ft') makedepends=('python-setuptools') optdepends=() license=('Apache') arch=('any') source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip") sha256sums=('b64e70ec1084df778cc18d0ae4392d7627163e05c5131ac8ed3f6c2663ea9035') package() { cd "${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 } check() { cd "$_pkgname-${pkgver}" PYTHONPATH=Lib pytest tests }