aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-cu2qu/APKBUILD
blob: af5bff984c0c57ab9e595bd002c9672b1d00a707 (plain) (blame)
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
32
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-cu2qu
pkgver=1.6.6
pkgrel=0
pkgdesc="Cubic-to-quadratic bezier curve conversion"
url="https://github.com/googlefonts/cu2qu"
arch="all"
license="Apache-2.0"
depends="python3 py3-fonttools py3-defcon"
makedepends="py3-setuptools python3-dev cython"
checkdepends="py3-pytest py3-coverage"
source="$pkgname-$pkgver.tar.gz::https://github.com/googlefonts/cu2qu/archive/v$pkgver.tar.gz
	3bd978bf0f011d8c7ee6ff21fb04815d6d80427d.patch"
builddir="$srcdir/cu2qu-$pkgver"

build() {
	git init
	export CU2QU_WITH_CYTHON=1
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="419ed7b822b2d5fc5237d33ba56882d27501c24c5000be23468a20f79be8af27637e8104ecaebc32898da067c55f3e1343d59c7b804da2f28765cee12def4ccf  py3-cu2qu-1.6.6.tar.gz
cc4fe15fc65bc13e1668e968890dd2c78a578b4f20385b1994c51b2d4783200f8d902c371a9f8e1ebfe7b251b5b5ad87621d11ff807d42c472bd00f095302c18  3bd978bf0f011d8c7ee6ff21fb04815d6d80427d.patch"