aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-skia-pathops/APKBUILD
blob: b5b352446d122df2935e527ee1b5c05e16d12e76 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-skia-pathops
pkgver=0.2.1
pkgrel=0
pkgdesc="Python bindings for the Skia library's Path Ops"
url="https://github.com/fonttools/skia-pathops"
arch="all !s390x" # doesn't support big endian
license="BSD-3-Clause"
depends="python3 cython"
makedepends="python3-dev py3-setuptools"
options="!check" # missing deps: pytest-cython, pytest-randomly
source="https://files.pythonhosted.org/packages/source/s/skia-pathops/skia-pathops-$pkgver.zip"
builddir="$srcdir/skia-pathops-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="ed4deba9e6e3576cc4c550c0c0172b0780f1e8e1424f156e8ef893a62924fd91c16a3bf2e1598c3116a1a73958513339dce48a2978f86b27f285d6f0f50245eb  skia-pathops-0.2.1.zip"