aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-ufonormalizer/APKBUILD
blob: 97820a00ec8b06343bcf627fa264851f13036c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Sascha Brawer <sascha@brawer.ch>
# Maintainer: Sascha Brawer <sascha@brawer.ch>
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"