# Contributor: Sascha Brawer # Maintainer: Sascha Brawer pkgname=py3-ufonormalizer _pyname=ufonormalizer pkgver=0.3.6 pkgrel=0 pkgdesc="Normalize the XML and other data inside UFO font design sources" url="https://github.com/unified-font-object/ufoNormalizer" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/u/$_pyname/$_pyname-$pkgver.zip" builddir="$srcdir/$_pyname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" # Make files world-readable so others than root can run the installed script. chmod -R a+r "$pkgdir"/usr/lib/python3*/site-packages } sha512sums="9cb3dff2ee4176746025cec58256c45cdd1f834e5647e7d07d613bb979993f9c01d16e613b0b1649e637a7cd6bfc57956a99f630c73833c625ce4a55d3c0a661 ufonormalizer-0.3.6.zip"