aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-fontmath/APKBUILD
blob: 31252198bfd7acf0fa08236a6238e5988929be00 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-fontmath
pkgver=0.5.2
pkgrel=0
pkgdesc="A set of objects for performing math operations on font data"
url="https://github.com/robotools/fontMath"
arch="noarch"
license="MIT"
depends="py3-fonttools python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
options="!check" # https://github.com/robotools/fontMath/issues/178
source="https://files.pythonhosted.org/packages/source/f/fontMath/fontMath-$pkgver.zip"
builddir="$srcdir/fontMath-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c4f2f5c8a994b3ae3339e648e13f36f38fd075d01c5955ab896f73cdd29791e88c018c3f35590428c0756e301784b566fee1e71e19a65921ea27584b826e0327  fontMath-0.5.2.zip"