summaryrefslogtreecommitdiff
path: root/community/py3-cffsubr/APKBUILD
blob: 6acbdcf00fb68eea23a2aeecc20a48321755eccf (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-cffsubr
pkgver=0.2.9
pkgrel=2
pkgdesc="Standalone CFF subroutinizer based on AFDKO tx"
url="https://github.com/adobe-type-tools/cffsubr"
arch="all"
license="Apache-2.0"
depends="py3-fonttools"
makedepends="py3-setuptools py3-setuptools_scm"
source="https://files.pythonhosted.org/packages/source/c/cffsubr/cffsubr-$pkgver.tar.gz
	drop-setuptools-git-ls-files.patch"
builddir="$srcdir/cffsubr-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
600b6b63ad70e5f00da0f64dd1410d49af622ac923aea3346c904e47e490410a6205fc5b2c2ddc6c684af04face3c217a2c722141f67d5f8ce5b87543eb363e4  cffsubr-0.2.9.tar.gz
557a816d3ac4591396e448b0138219cbe976bd7119a3cfefb6b803720918902b768280f3bcd844c62ed5ed1e1b59835ef4505d9ad81b6781adfe7d0b556e3b7e  drop-setuptools-git-ls-files.patch
"