aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-ufo2ft/APKBUILD
blob: 1cd26a5f41b54c7e5d377c0b9d0d03e8d80d48b4 (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: Leo <thinkabit.ukim@gmail.com>
# 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"